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

@comunica/actor-http-fetch

Package Overview
Dependencies
Maintainers
4
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@comunica/actor-http-fetch - npm Package Compare versions

Comparing version 2.0.1-alpha.5.0 to 2.0.1-alpha.6.0

4

lib/ActorHttpFetch.js

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

// TODO: remove this workaround once this has a fix: https://github.com/inrupt/solid-client-authn-js/issues/1708
if (action.init && action.init.headers && 'append' in action.init.headers && action.context.has(context_entries_1.KeysHttp.fetch)) {
if (action.init?.headers && 'append' in action.init.headers && action.context.has(context_entries_1.KeysHttp.fetch)) {
action.init.headers = bus_http_1.ActorHttp.headersToHash(action.init.headers);

@@ -56,3 +56,3 @@ }

...action.init,
...action.context && action.context.get(context_entries_1.KeysHttp.includeCredentials) ? { credentials: 'include' } : {},
...action.context.get(context_entries_1.KeysHttp.includeCredentials) ? { credentials: 'include' } : {},
})).then(response => {

@@ -59,0 +59,0 @@ // Node-fetch does not support body.cancel, while it is mandatory according to the fetch and readablestream api.

{
"name": "@comunica/actor-http-fetch",
"version": "2.0.1-alpha.5.0",
"version": "2.0.1-alpha.6.0",
"description": "A node-fetch http actor",

@@ -16,2 +16,3 @@ "lsd:module": true,

},
"sideEffects": false,
"keywords": [

@@ -32,6 +33,6 @@ "comunica",

"dependencies": {
"@comunica/bus-http": "2.0.1-alpha.5.0",
"@comunica/context-entries": "2.0.1-alpha.5.0",
"@comunica/core": "2.0.1-alpha.5.0",
"@comunica/mediatortype-time": "2.0.1-alpha.5.0",
"@comunica/bus-http": "2.0.1-alpha.6.0",
"@comunica/context-entries": "2.0.1-alpha.6.0",
"@comunica/core": "2.0.1-alpha.6.0",
"@comunica/mediatortype-time": "2.0.1-alpha.6.0",
"cross-fetch": "^3.0.5"

@@ -47,3 +48,3 @@ },

},
"gitHead": "e2ae2e9e924bf0656df60cc99774f7e560d47695"
"gitHead": "bbf46a068e635256495a40e784a4691b22e88bd3"
}

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