🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@orama/orama

Package Overview
Dependencies
Maintainers
5
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@orama/orama - npm Package Compare versions

Comparing version

to
2.0.17

2

dist/methods/create.js

@@ -117,5 +117,5 @@ import { formatElapsedTime, getDocumentIndexId, getDocumentProperties, validateSchema } from '../components/defaults.js';

function getVersion() {
return '2.0.16';
return '2.0.17';
}
//# sourceMappingURL=create.js.map

@@ -84,5 +84,10 @@ import { safeArrayPush } from '../utils.js';

const result = [];
function traverse(node) {
if (node === null) {
return;
if (node === null) return result;
const stack = [
node.root
];
while(stack.length > 0){
const node = stack.pop();
if (!node) {
continue;
}

@@ -95,6 +100,5 @@ if (inclusive && node.k >= key) {

}
traverse(node.l);
traverse(node.r);
stack.push(node.r);
stack.push(node.l);
}
traverse(node.root);
return result;

@@ -104,5 +108,10 @@ }

const result = [];
function traverse(node) {
if (node === null) {
return;
if (node === null) return result;
const stack = [
node.root
];
while(stack.length > 0){
const node = stack.pop();
if (!node) {
continue;
}

@@ -115,6 +124,5 @@ if (inclusive && node.k <= key) {

}
traverse(node.l);
traverse(node.r);
stack.push(node.r);
stack.push(node.l);
}
traverse(node.root);
return result;

@@ -121,0 +129,0 @@ }

{
"name": "@orama/orama",
"version": "2.0.16",
"version": "2.0.17",
"type": "module",

@@ -89,4 +89,4 @@ "description": "Next generation full-text and vector search engine, written in TypeScript",

"typescript": "^5.0.0",
"@orama/stemmers": "2.0.16",
"@orama/stopwords": "2.0.16"
"@orama/stemmers": "2.0.17",
"@orama/stopwords": "2.0.17"
},

@@ -93,0 +93,0 @@ "engines": {

Sorry, the diff of this file is not supported yet