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.24 to 0.1.25

7

lib/core/ContextManager.js

@@ -141,5 +141,6 @@ import { useState, useCallback, useEffect } from "react";

const apiClients = useApiClients();
const canQueryWithText = (text) => !!text && text.length > 2;
const fetchContexts = useCallback(async (query) => {
if (query && query.length > 2) {
setIsQuerying(true);
if (canQueryWithText(query)) {
setContexts([]);
try {

@@ -152,2 +153,3 @@ var response = await apiClients.context.queryContextsAsync(query, ...types);

setError(e);
setContexts([]);
setIsQuerying(false);

@@ -159,2 +161,3 @@ }

const search = (query) => {
setIsQuerying(canQueryWithText(query));
setQueryText(query);

@@ -161,0 +164,0 @@ };

{
"name": "@equinor/fusion",
"version": "0.1.24",
"version": "0.1.25",
"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