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

@types/react-autosuggest

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-autosuggest - npm Package Compare versions

Comparing version 3.7.3 to 3.7.4

9

react-autosuggest/package.json
{
"name": "@types/react-autosuggest",
"version": "3.7.3",
"version": "3.7.4",
"description": "TypeScript definitions for react-autosuggest v3.7.3",

@@ -13,4 +13,7 @@ "license": "MIT",

"scripts": {},
"dependencies": {},
"typings": "react-autosuggest.d.ts"
"dependencies": {
"@types/react": "*"
},
"typings": "react-autosuggest.d.ts",
"typesPublisherContentHash": "b7c145ce8e75dfbfc3043a6026449f0cf48e41f720565570ee2f3d7bc35d8a7c"
}

@@ -9,4 +9,2 @@ // Type definitions for react-autosuggest v3.7.3

declare namespace ReactAutosuggest {
import React = __React;
interface SuggestionUpdateRequest {

@@ -22,14 +20,17 @@ value: string;

interface InputProps extends React.HTMLAttributes {
interface InputProps extends React.HTMLAttributes<any> {
value: string;
onChange: (event: React.FormEvent, params?: {newValue: string, method: string}) => void;
onChange: (event: React.FormEvent<any>, params?: {newValue: string, method: string}) => void;
}
interface SuggestionSelectedEventData {
interface ExplicitSuggestionSelectedEventData<TSuggestion> {
method: string;
sectionIndex: number;
suggestion: any;
suggestion: TSuggestion;
suggestionValue: string;
}
interface SuggestionSelectedEventData extends ExplicitSuggestionSelectedEventData<any> {
}
interface Theme {

@@ -57,3 +58,3 @@ container: string;

getSectionSuggestions?: (section: any) => any[];
onSuggestionSelected?: (event: React.FormEvent, data: SuggestionSelectedEventData) => void;
onSuggestionSelected?: (event: React.FormEvent<any>, data: SuggestionSelectedEventData | ExplicitSuggestionSelectedEventData<any>) => void;
focusInputOnSuggestionClick?: boolean;

@@ -60,0 +61,0 @@ theme?: Theme;

@@ -11,5 +11,5 @@ # Installation

Additional Details
* Last updated: Thu, 25 Aug 2016 16:56:09 GMT
* Last updated: Mon, 19 Sep 2016 17:28:59 GMT
* File structure: OldUMD
* Library Dependencies: none
* Library Dependencies: react
* Module Dependencies: none

@@ -16,0 +16,0 @@ * Global values: ReactAutosuggest

{
"authors": "Nicolas Schmitt <https://github.com/nicolas-schmitt>",
"definitionFilename": "react-autosuggest.d.ts",
"libraryDependencies": [],
"libraryDependencies": [
"react"
],
"moduleDependencies": [],

@@ -24,3 +26,3 @@ "libraryMajorVersion": "3",

"hasPackageJson": false,
"contentHash": "87a5c949149fabd8636a6bddc3cfe0fc0c0ec1e398c697074aaaade6d0c6762b"
"contentHash": "b7c145ce8e75dfbfc3043a6026449f0cf48e41f720565570ee2f3d7bc35d8a7c"
}
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