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

@foundationui/smart-input

Package Overview
Dependencies
Maintainers
1
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@foundationui/smart-input - npm Package Compare versions

Comparing version 1.0.43 to 1.0.44

dist/cjs/pages/_app.d.ts

8

dist/cjs/SmartInputFetcher.d.ts

@@ -9,4 +9,4 @@ import { ICompletionResponse } from './protocol';

addCompletion: (text: string, completion: ICompletionResponse) => void;
modelId?: string;
mockCompletion?: (text: string) => string | null;
modelId?: string | undefined;
mockCompletion?: ((text: string) => string | null) | undefined;
/**

@@ -42,4 +42,4 @@ * sequenceId is used to ensure that we don't add completions from a previous fetch,

} | null;
constructor(apiUrl: string, addCompletion: (text: string, completion: ICompletionResponse) => void, modelId?: string, mockCompletion?: (text: string) => string | null);
fetchCompletion: import("./util/debounce").DebouncedFunction<any[], (text: string, context: any) => Promise<ICompletionResponse>>;
constructor(apiUrl: string, addCompletion: (text: string, completion: ICompletionResponse) => void, modelId?: string | undefined, mockCompletion?: ((text: string) => string | null) | undefined);
fetchCompletion: import("./util/debounce").DebouncedFunction<any[], (text: string, context: any) => Promise<ICompletionResponse | null>>;
updateCompletion(completionSid: string, arg: {

@@ -46,0 +46,0 @@ seen?: boolean;

@@ -9,4 +9,4 @@ import { ICompletionResponse } from './protocol';

addCompletion: (text: string, completion: ICompletionResponse) => void;
modelId?: string;
mockCompletion?: (text: string) => string | null;
modelId?: string | undefined;
mockCompletion?: ((text: string) => string | null) | undefined;
/**

@@ -42,4 +42,4 @@ * sequenceId is used to ensure that we don't add completions from a previous fetch,

} | null;
constructor(apiUrl: string, addCompletion: (text: string, completion: ICompletionResponse) => void, modelId?: string, mockCompletion?: (text: string) => string | null);
fetchCompletion: import("./util/debounce").DebouncedFunction<any[], (text: string, context: any) => Promise<ICompletionResponse>>;
constructor(apiUrl: string, addCompletion: (text: string, completion: ICompletionResponse) => void, modelId?: string | undefined, mockCompletion?: ((text: string) => string | null) | undefined);
fetchCompletion: import("./util/debounce").DebouncedFunction<any[], (text: string, context: any) => Promise<ICompletionResponse | null>>;
updateCompletion(completionSid: string, arg: {

@@ -46,0 +46,0 @@ seen?: boolean;

@@ -9,4 +9,4 @@ import { ICompletionResponse } from './protocol';

addCompletion: (text: string, completion: ICompletionResponse) => void;
modelId?: string;
mockCompletion?: (text: string) => string | null;
modelId?: string | undefined;
mockCompletion?: ((text: string) => string | null) | undefined;
/**

@@ -42,4 +42,4 @@ * sequenceId is used to ensure that we don't add completions from a previous fetch,

} | null;
constructor(apiUrl: string, addCompletion: (text: string, completion: ICompletionResponse) => void, modelId?: string, mockCompletion?: (text: string) => string | null);
fetchCompletion: import("./util/debounce").DebouncedFunction<any[], (text: string, context: any) => Promise<ICompletionResponse>>;
constructor(apiUrl: string, addCompletion: (text: string, completion: ICompletionResponse) => void, modelId?: string | undefined, mockCompletion?: ((text: string) => string | null) | undefined);
fetchCompletion: import("./util/debounce").DebouncedFunction<any[], (text: string, context: any) => Promise<ICompletionResponse | null>>;
updateCompletion(completionSid: string, arg: {

@@ -46,0 +46,0 @@ seen?: boolean;

{
"name": "@foundationui/smart-input",
"version": "1.0.43",
"version": "1.0.44",
"description": "Smart input/textarea component for React. Learns to provide inline, tab-completeable suggestions.",

@@ -34,2 +34,3 @@ "type": "module",

"watch": "rollup -cw",
"dev": "next dev",
"prepare": "npm run build",

@@ -52,7 +53,8 @@ "test": "echo \"Error: no test specified\" && exit 1"

"@rollup/plugin-typescript": "^10.0.1",
"@types/react": "^16.8.0",
"@types/react-dom": "^16.8.0",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.10",
"next": "^13.1.1",
"prettier": "^2.8.1",
"react": "^16.8.0",
"react-dom": "^16.8.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup": "^3.9.1",

@@ -59,0 +61,0 @@ "rollup-plugin-dts": "^5.1.0",

@@ -25,4 +25,8 @@ # `<SmartInput>`

Check out the [online editor](https://jsbin.com/qebozab/edit?html,js,output).
Check out the interactive examples:
- [CSS: tailwind](https://jsbin.com/difibux/edit?html,js,output)
- [CSS-in-JS: inline styles](https://jsbin.com/qebozab/edit?html,js,output)
- [CSS-in-JS: styled components](https://jsbin.com/faperes/edit?html,js,output)
## Install

@@ -29,0 +33,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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