New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@elastic/search-ui

Package Overview
Dependencies
Maintainers
80
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@elastic/search-ui - npm Package Compare versions

Comparing version 1.11.0-canary.0 to 1.11.0

2

lib/cjs/SearchDriver.d.ts

@@ -17,3 +17,3 @@ import URLManager from "./URLManager";

debug?: boolean;
initialState?: Partial<SearchState>;
initialState?: Partial<RequestState>;
onSearch?: onSearchHook;

@@ -20,0 +20,0 @@ onAutocomplete?: onAutocompleteHook;

@@ -59,4 +59,3 @@ "use strict";

onResultClick: jest.fn().mockReturnValue(Promise.resolve(true)),
onAutocompleteResultClick: jest.fn().mockReturnValue(Promise.resolve(true)),
state: {}
onAutocompleteResultClick: jest.fn().mockReturnValue(Promise.resolve(true))
};

@@ -63,0 +62,0 @@ }

@@ -72,2 +72,5 @@ import { SearchDriverActions } from "..";

};
export declare type SearchFieldConfiguration = {
weight?: number;
};
export declare type AutocompleteQueryConfig = {

@@ -96,3 +99,3 @@ results?: QueryConfig;

result_fields?: Record<string, FieldConfiguration>;
search_fields?: Record<string, FieldConfiguration>;
search_fields?: Record<string, SearchFieldConfiguration>;
} & RequestState;

@@ -107,3 +110,3 @@ export declare type AutocompleteSearchQuery = {

onAutocompleteResultClick(params: any): void;
state: any;
state?: any;
actions?: any;

@@ -110,0 +113,0 @@ }

@@ -17,3 +17,3 @@ import URLManager from "./URLManager";

debug?: boolean;
initialState?: Partial<SearchState>;
initialState?: Partial<RequestState>;
onSearch?: onSearchHook;

@@ -20,0 +20,0 @@ onAutocomplete?: onAutocompleteHook;

@@ -53,4 +53,3 @@ var __rest = (this && this.__rest) || function (s, e) {

onResultClick: jest.fn().mockReturnValue(Promise.resolve(true)),
onAutocompleteResultClick: jest.fn().mockReturnValue(Promise.resolve(true)),
state: {}
onAutocompleteResultClick: jest.fn().mockReturnValue(Promise.resolve(true))
};

@@ -57,0 +56,0 @@ }

@@ -72,2 +72,5 @@ import { SearchDriverActions } from "..";

};
export declare type SearchFieldConfiguration = {
weight?: number;
};
export declare type AutocompleteQueryConfig = {

@@ -96,3 +99,3 @@ results?: QueryConfig;

result_fields?: Record<string, FieldConfiguration>;
search_fields?: Record<string, FieldConfiguration>;
search_fields?: Record<string, SearchFieldConfiguration>;
} & RequestState;

@@ -107,3 +110,3 @@ export declare type AutocompleteSearchQuery = {

onAutocompleteResultClick(params: any): void;
state: any;
state?: any;
actions?: any;

@@ -110,0 +113,0 @@ }

{
"name": "@elastic/search-ui",
"version": "1.11.0-canary.0+7fabe6e",
"version": "1.11.0",
"description": "A Headless Search UI library",

@@ -47,3 +47,3 @@ "license": "Apache-2.0",

},
"gitHead": "7fabe6e66a2b31ebbe281c6283b6d11a6f8ef9ef"
"gitHead": "ecef03091c26a070ec6c30fe8e37a1c36ab06078"
}
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