🚀 Socket Launch Week 🚀 Day 5: Introducing Socket Fix.Learn More

hnswlib-wasm

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hnswlib-wasm - npm Package Compare versions

Comparing version

to
0.0.5-beta.10

let defaultParams, loadHnswlib;
let __tla = (async () => {
var _a;
const isNode = typeof process !== "undefined" && (process == null ? void 0 : process.versions) != null && ((_a = process == null ? void 0 : process.versions) == null ? void 0 : _a.node) != null;
typeof process !== "undefined" && (process == null ? void 0 : process.versions) != null && ((_a = process == null ? void 0 : process.versions) == null ? void 0 : _a.node) != null;
let library;
const initializeFileSystemAsync = async (inputFsType) => {
const fsType = inputFsType == null ? isNode ? "NODEFS" : "IDBFS" : inputFsType;
const fsType = inputFsType == null ? "IDBFS" : inputFsType;
const EmscriptenFileSystemManager = library.EmscriptenFileSystemManager;

@@ -32,3 +32,3 @@ return new Promise(function(resolve, reject) {

}
const temp = await import("./hnswlib-e2b8fb95.js");
const temp = await import("./hnswlib-6f21226b.js");
factory = temp.default;

@@ -35,0 +35,0 @@ if (!library) {

@@ -18,3 +18,3 @@ /***************** GENERATED FILE ********************/

const fsType =
inputFsType == null ? (isNode ? "NODEFS" : "IDBFS") : inputFsType;
inputFsType == null ? "IDBFS" : inputFsType;
const EmscriptenFileSystemManager = library.EmscriptenFileSystemManager;

@@ -21,0 +21,0 @@ return new Promise(function (resolve, reject) {

{
"name": "hnswlib-wasm",
"version": "0.0.5-beta.9",
"version": "0.0.5-beta.10",
"description": "typescript and wasm bindings for Hnswlib",

@@ -34,3 +34,2 @@ "module": "./dist/hnswlib.js",

"@types/node": "^18.15.11",
"@vitest/browser": "^0.29.8",
"@xn-sakina/phoenix": "^1.0.3",

@@ -44,8 +43,2 @@ "eslint": "^8.37.0",

"husky": "^8.0.3",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jest-extended": "^3.2.4",
"playwright": "^1.32.2",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1",
"tsembind": "^1.1.0",

@@ -52,0 +45,0 @@ "typescript": "^5.0.3",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet