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.37 to 0.1.38

12

lib/core/FusionContext.js

@@ -16,3 +16,13 @@ import { createContext, useContext } from "react";

};
const FusionContext = createContext({});
const ensureGlobalFusionContextType = () => {
const win = window;
const key = "EQUINOR_FUSION_CONTEXT";
if (typeof win[key] !== undefined && win[key]) {
return win[key];
}
const fusionContext = createContext({});
win[key] = fusionContext;
return fusionContext;
};
const FusionContext = ensureGlobalFusionContextType();
export const createFusionContext = (authContainer, serviceResolver, refs, options) => {

@@ -19,0 +29,0 @@ const abortControllerManager = new AbortControllerManager();

2

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