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

@textcomplete/core

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@textcomplete/core - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

2

dist/Strategy.d.ts
import { SearchResult } from "./SearchResult";
export declare type SearchCallback<T> = (results: T[]) => void;
declare type ReplaceResult = [string, string] | string | null;
export interface StrategyProps<T = unknown> {
export interface StrategyProps<T = any> {
match: RegExp | ((regexp: string | RegExp) => RegExpMatchArray | null);

@@ -6,0 +6,0 @@ search: (term: string, callback: SearchCallback<T>, match: RegExpMatchArray) => void;

{
"name": "@textcomplete/core",
"version": "0.1.4",
"version": "0.1.5",
"description": "Textcomplete core.",

@@ -40,3 +40,3 @@ "main": "dist/index.js",

},
"gitHead": "0bc47e69d7849c5aaa08be551ec73c0f3b2e5508"
"gitHead": "81c7b759d938d484e4176e5a001c68d9168d09e5"
}

@@ -6,3 +6,4 @@ import { SearchResult } from "./SearchResult"

export interface StrategyProps<T = unknown> {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
export interface StrategyProps<T = any> {
match: RegExp | ((regexp: string | RegExp) => RegExpMatchArray | null)

@@ -9,0 +10,0 @@ search: (

Sorry, the diff of this file is not supported yet

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