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.2.1-2 to 0.3.0

3

lib/defaultTypes.ts

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

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

@@ -381,1 +382,3 @@ /**

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

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

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

@@ -21,1 +22,3 @@

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

2

package.json
{
"name": "hnswlib-wasm",
"version": "0.2.1-2",
"version": "0.3.0",
"description": "typescript and wasm bindings for Hnswlib",

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

@@ -69,4 +69,4 @@ # hnswlib-wasm

// Now you can add items to the index
index.addItems(vectors, labelIds);
// Now you can add items to the index, labels are returned as an array for the vectors. It will reuse deleted labels if possible based on the second parameter.
const labels = index.addItems(vectors, true);

@@ -73,0 +73,0 @@ // Now you can search the index

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