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 2.3.2 to 2.3.3

6

lunr/index.d.ts

@@ -134,6 +134,6 @@ // Type definitions for lunr.js 2.3

*
* @param field - The name of a field to index in all documents.
* @param fieldName - The name of a field to index in all documents.
* @param attributes - Optional attributes associated with this field.
*/
field(field: string, attributes?: object): void;
field(fieldName: string, attributes?: { boost?: number, extractor?: (doc: object) => string | object | object[] }): void;

@@ -175,3 +175,3 @@ /**

*/
add(doc: object, attributes?: object): void;
add(doc: object, attributes?: { boost?: number }): void;

@@ -178,0 +178,0 @@ /**

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

@@ -19,11 +19,12 @@ "license": "MIT",

"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/lunr"
},
"scripts": {},
"dependencies": {},
"typesPublisherContentHash": "a347c706f3f81e2da6a41eed488aed37d54bbb1fc8d026dec7aab567270a560f",
"typeScriptVersion": "2.3"
"typesPublisherContentHash": "13fb64f06acf3dc6d7725c9ce31fc2a50c77eef63de9d879be01bf655b0158e9",
"typeScriptVersion": "2.8"
}

@@ -5,13 +5,13 @@ # Installation

# Summary
This package contains type definitions for lunr.js ( https://github.com/olivernn/lunr.js ).
This package contains type definitions for lunr.js (https://github.com/olivernn/lunr.js).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lunr
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lunr.
Additional Details
* Last updated: Wed, 13 Feb 2019 21:04:28 GMT
### Additional Details
* Last updated: Tue, 31 Mar 2020 22:41:06 GMT
* Dependencies: none
* Global values: lunr
* Global values: `lunr`
# Credits
These definitions were written by Sean Tan <https://github.com/seantanly>, Andrés Pérez <https://github.com/hokiegeek>.
These definitions were written by [Sean Tan](https://github.com/seantanly), and [Andrés Pérez](https://github.com/hokiegeek).
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