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

@equinor/fusion

Package Overview
Dependencies
Maintainers
3
Versions
485
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@equinor/fusion - npm Package Compare versions

Comparing version 2.4.21 to 2.4.22

7

lib/http/HttpClient/index.js

@@ -168,5 +168,3 @@ import uuid from 'uuid/v1';

// Add more info
const errorResponse = (await response.text()).length
? this.parseResponseJSONAsync(response)
: null;
const errorResponse = await this.parseResponseJSONAsync(response);
throw new HttpClientRequestFailedError(url, response.status, errorResponse);

@@ -216,3 +214,3 @@ }

const text = await response.text();
const json = JSON.parse(text);
const json = text ? JSON.parse(text) : null;
return json;

@@ -230,2 +228,3 @@ }

// TODO: Update cache status?
// TODO: response should hint of null or throw empty response error, too big for current fix scope
return this.createHttpResponse(request, response, data);

@@ -232,0 +231,0 @@ }

@@ -1,2 +0,2 @@

declare const _default: "2.4.21";
declare const _default: "2.4.22";
export default _default;

@@ -1,1 +0,1 @@

export default '2.4.21';
export default '2.4.22';
{
"name": "@equinor/fusion",
"version": "2.4.21",
"version": "2.4.22",
"description": "Everything a Fusion app needs to communicate with the core",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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