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

hnswlib-wasm

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hnswlib-wasm - npm Package Compare versions

Comparing version 0.6.0 to 0.6.1

10

dist/hnswlib-wasm.d.ts

@@ -234,3 +234,13 @@ /***************** GENERATED FILE ********************/

writeIndex(filename: string): Promise<boolean>;
/**
* Automatically saves the search index after modifications.
* The Default is false, so you must call writeIndex() manually.
* Its good idea to set this to true if you want to save the index after every modification, especially since the browser may refresh or close.
* @param autoSave
* @param fileName
*/
setAutoSave(autoSave: boolean, fileName: string): void;
/**
* resizes the search index.

@@ -237,0 +247,0 @@ * @param {number} newMaxElements The new maximum number of data points.

3

lib/defaultTypes.ts

@@ -129,2 +129,3 @@ /***************** GENERATED FILE ********************/

/***************** GENERATED FILE ********************/
/***************** GENERATED FILE ********************/
export const defaultParams = {

@@ -402,1 +403,3 @@ /**

/***************** GENERATED FILE ********************/
/***************** GENERATED FILE ********************/

@@ -234,3 +234,13 @@ /***************** GENERATED FILE ********************/

writeIndex(filename: string): Promise<boolean>;
/**
* Automatically saves the search index after modifications.
* The Default is false, so you must call writeIndex() manually.
* Its good idea to set this to true if you want to save the index after every modification, especially since the browser may refresh or close.
* @param autoSave
* @param fileName
*/
setAutoSave(autoSave: boolean, fileName: string): void;
/**
* resizes the search index.

@@ -237,0 +247,0 @@ * @param {number} newMaxElements The new maximum number of data points.

@@ -14,2 +14,3 @@ /***************** GENERATED FILE ********************/

/***************** GENERATED FILE ********************/
/***************** GENERATED FILE ********************/

@@ -42,1 +43,3 @@

/***************** GENERATED FILE ********************/
/***************** GENERATED FILE ********************/

2

package.json
{
"name": "hnswlib-wasm",
"version": "0.6.0",
"version": "0.6.1",
"description": "typescript and wasm bindings for Hnswlib",

@@ -5,0 +5,0 @@ "module": "./dist/hnswlib.js",

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