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

select2-component

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

select2-component - npm Package Compare versions

Comparing version 5.2.2 to 5.3.0

8

dist/index.d.ts

@@ -13,3 +13,3 @@ export declare type Select2Group = {

};
export declare type Select2Value = string | number;
export declare type Select2Value = string | number | boolean;
export declare type Select2UpdateValue = Select2Value | Select2Value[];

@@ -20,6 +20,6 @@ export declare type Select2Data = (Select2Group | Select2Option)[];

export declare function getOptionsByValue(data: Select2Data, value: Select2UpdateValue | null | undefined, multiple: boolean | null | undefined): Select2Option | Select2Option[] | null;
export declare function getFirstAvailableOption(data: Select2Data): string | number | null;
export declare function getFirstAvailableOption(data: Select2Data): string | number | boolean | null;
export declare function valueIsNotInFilteredData(filteredData: Select2Data, value: Select2Value | null | undefined): boolean;
export declare function getPreviousOption(filteredData: Select2Data, hoveringValue: Select2Value | null | undefined): string | number | null | undefined;
export declare function getNextOption(filteredData: Select2Data, hoveringValue: Select2Value | null | undefined): string | number | null | undefined;
export declare function getPreviousOption(filteredData: Select2Data, hoveringValue: Select2Value | null | undefined): string | number | boolean | null | undefined;
export declare function getNextOption(filteredData: Select2Data, hoveringValue: Select2Value | null | undefined): string | number | boolean | null | undefined;
export declare function getLastScrollTopIndex(hoveringValue: Select2Value | null | undefined, results: HTMLElement, filteredData: Select2Data, lastScrollTopIndex: number): number | null;

@@ -26,0 +26,0 @@ export declare function getFilteredData(data: Select2Data, searchText: string | null, editPattern?: (str: string) => string): (Select2Option | Select2Group)[];

{
"name": "select2-component",
"version": "5.2.2",
"version": "5.3.0",
"description": "A vuejs, reactjs and angular select component core.",

@@ -5,0 +5,0 @@ "main": "dist/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