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

@equinor/fusion

Package Overview
Dependencies
Maintainers
2
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 0.1.4 to 0.1.5

6

lib/app/AppWrapper.js

@@ -6,4 +6,9 @@ import React, { useState, useEffect, useCallback } from "react";

const [isFetching, setIsFetching] = useState(false);
const currentApp = appContainer.get(appKey);
const [, forceUpdate] = useState();
useEffect(() => {
// If the app has been registered between rendering the app and useEffect
if (appKey && currentApp && appContainer.get(appKey)) {
forceUpdate(null);
}
return appContainer.on("update", app => {

@@ -29,3 +34,2 @@ if (app.appKey === appKey) {

}, [appKey]);
const currentApp = appContainer.get(appKey);
if (currentApp === null && isFetching) {

@@ -32,0 +36,0 @@ return React.createElement("div", null, "Is fetching");

2

package.json
{
"name": "@equinor/fusion",
"version": "0.1.4",
"version": "0.1.5",
"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