@comunica/actor-http-native 2.3.1-alpha.23.0 → 2.3.1-alpha.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -75,7 +75,7 @@ class ActorHttpNative extends bus_http_1.ActorHttp {
75
75
  httpResponse.destroy();
76
76
  }
77
77
  // Using setImmediate so error can be caught should it be thrown
78
- setImmediate(() => {
78
+ setTimeout(() => {
79
79
  if (httpResponse) {
80
80
  // Expose fetch cancel promise
81
81
  httpResponse.cancel = () => {
package/lib/Requester.js CHANGED
@@ -86,7 +86,7 @@ class Requester {
86
86
  return decoded;
87
87
  }
88
88
  // Error when no suitable decoder found
89
- setImmediate(() => {
89
+ setTimeout(() => {
90
90
  response.emit('error', new Error(`Unsupported encoding: ${encoding}`));
91
91
  });
92
92
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comunica/actor-http-native",
3
- "version": "2.3.1-alpha.23.0",
3
+ "version": "2.3.1-alpha.26.0",
4
4
  "description": "A native http actor",
5
5
  "lsd:module": true,
6
6
  "main": "lib/index.js",
@@ -31,9 +31,9 @@
31
31
  "lib/**/*.js"
32
32
  ],
33
33
  "dependencies": {
34
- "@comunica/bus-http": "2.3.1-alpha.23.0",
35
- "@comunica/context-entries": "2.3.1-alpha.23.0",
36
- "@comunica/mediatortype-time": "2.3.1-alpha.23.0",
34
+ "@comunica/bus-http": "2.3.1-alpha.26.0",
35
+ "@comunica/context-entries": "2.3.1-alpha.26.0",
36
+ "@comunica/mediatortype-time": "2.3.1-alpha.26.0",
37
37
  "cross-fetch": "^3.0.5",
38
38
  "follow-redirects": "^1.5.1",
39
39
  "parse-link-header": "^2.0.0"
@@ -46,5 +46,5 @@
46
46
  "browser": {
47
47
  "./lib/Requester.js": "./lib/Requester-browser.js"
48
48
  },
49
- "gitHead": "4dd99fee904c64e9ef700eb5080197c4a03a36fa"
49
+ "gitHead": "58cfd99cc2d218b5fcf87a67112b3a27df9158eb"
50
50
  }