New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.4.5 to 0.4.6

8

lib/hooks/useHistory.js

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

import { createContext, useContext } from "react";
import { createContext, useContext, useEffect, useState } from "react";
import { useFusionContext } from "../core/FusionContext";

@@ -7,3 +7,9 @@ export const HistoryContext = createContext({ history: null });

const historyContext = useContext(HistoryContext);
const history = historyContext.history || fusionContext.history;
const [_, forceUpdate] = useState(null);
useEffect(() => {
const listner = history.listen(() => forceUpdate(null));
return listner;
}, [history]);
return historyContext.history || fusionContext.history;
};

2

lib/version.d.ts

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

declare const _default: "0.4.5";
declare const _default: "0.4.6";
export default _default;

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

export default '0.4.5';
export default '0.4.6';
{
"name": "@equinor/fusion",
"version": "0.4.5",
"version": "0.4.6",
"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