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

@types/lunr

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/lunr - npm Package Compare versions

Comparing version 0.5.33 to 0.5.34

42

lunr v0.5/index.d.ts

@@ -40,3 +40,3 @@ // Type definitions for lunr.js 0.5

const registeredFunctions: {[label: string]: TokenizerFunction};
const registeredFunctions: { [label: string]: TokenizerFunction };

@@ -114,4 +114,17 @@ /**

addListener(eventName: string, eventName2: string, eventName3: string, handler: Function): void;
addListener(eventName: string, eventName2: string, eventName3: string, eventName4: string, handler: Function): void;
addListener(eventName: string, eventName2: string, eventName3: string, eventName4: string, eventName5: string, handler: Function): void;
addListener(
eventName: string,
eventName2: string,
eventName3: string,
eventName4: string,
handler: Function,
): void;
addListener(
eventName: string,
eventName2: string,
eventName3: string,
eventName4: string,
eventName5: string,
handler: Function,
): void;

@@ -167,3 +180,3 @@ /**

class Pipeline {
registeredFunctions: {[label: string]: Function};
registeredFunctions: { [label: string]: Function };

@@ -444,3 +457,3 @@ /**

_idfCache: {[key: string]: string};
_idfCache: { [key: string]: string };

@@ -460,3 +473,10 @@ /**

on(eventName: string, eventName2: string, eventName3: string, eventName4: string, handler: Function): void;
on(eventName: string, eventName2: string, eventName3: string, eventName4: string, eventName5: string, handler: Function): void;
on(
eventName: string,
eventName2: string,
eventName3: string,
eventName4: string,
eventName5: string,
handler: Function,
): void;

@@ -483,3 +503,3 @@ /**

*/
field(fieldName: string, options?: {boost?: number | undefined}): Index;
field(fieldName: string, options?: { boost?: number | undefined }): Index;

@@ -637,3 +657,3 @@ /**

class Store<T> {
store: {[id: string]: SortedSet<T>};
store: { [id: string]: SortedSet<T> };

@@ -695,5 +715,5 @@ length: number;

class TokenStore {
root: {[token: string]: TokenStore};
root: { [token: string]: TokenStore };
docs: {[ref: string]: TokenDocument};
docs: { [ref: string]: TokenDocument };

@@ -737,3 +757,3 @@ length: number;

*/
get(token: string, root: TokenStore): {[ref: string]: TokenDocument};
get(token: string, root: TokenStore): { [ref: string]: TokenDocument };

@@ -740,0 +760,0 @@ count(token: string, root: TokenStore): number;

{
"name": "@types/lunr",
"version": "0.5.33",
"version": "0.5.34",
"description": "TypeScript definitions for lunr.js",

@@ -23,4 +23,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lunr",

"dependencies": {},
"typesPublisherContentHash": "4d5e0493ab5ec981cf24bb89dade4380b25bd1be3900abd52b00fcc3799c1310",
"typesPublisherContentHash": "31fb9a2dc0c190338ffd3793ea3a3d3e98c7fd15b98865ce08c7798ab1a359a0",
"typeScriptVersion": "4.3"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Thu, 25 May 2023 20:34:25 GMT
* Last updated: Wed, 30 Aug 2023 19:35:22 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: `lunr`

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