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

@orama/orama

Package Overview
Dependencies
Maintainers
6
Versions
91
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 2.0.21 to 2.0.22

2

dist/components/levenshtein.js

@@ -24,3 +24,3 @@ /**

// because we search for prefix!
// fix https://github.com/oramasearch/orama/issues/544
// fix https://github.com/askorama/orama/issues/544
if (startIdx === lenA) {

@@ -27,0 +27,0 @@ return 0;

@@ -84,3 +84,3 @@ import { createError } from '../errors.js';

// to avoid duplicates in the orderedDocs array
// See: https://github.com/oramasearch/orama/issues/629
// See: https://github.com/askorama/orama/issues/629
if (s.orderedDocsToRemove.has(internalId)) {

@@ -87,0 +87,0 @@ ensureOrderedDocsAreDeletedByProperty(sorter, prop);

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

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

@@ -46,3 +46,3 @@ import { syncBoundedLevenshtein } from '../components/levenshtein.js';

// always check in own property to prevent access to inherited properties
// fix https://github.com/OramaSearch/orama/issues/137
// fix https://github.com/askorama/orama/issues/137
if (getOwnProperty(output, w) == null) {

@@ -64,3 +64,3 @@ if (tolerance) {

// always check in own property to prevent access to inherited properties
// fix https://github.com/OramaSearch/orama/issues/137
// fix https://github.com/askorama/orama/issues/137
if (getOwnProperty(output, w) != null && docIDs.length > 0) {

@@ -67,0 +67,0 @@ const docs = new Set(output[w]);

@@ -10,3 +10,3 @@ import type { AnyDocument, GeosearchDistanceUnit, Results, SearchableValue, TokenScore } from './types.js';

/**
* This method is needed to used because of issues like: https://github.com/oramasearch/orama/issues/301
* This method is needed to used because of issues like: https://github.com/askorama/orama/issues/301
* that issue is caused because the array that is pushed is huge (>100k)

@@ -13,0 +13,0 @@ *

@@ -15,3 +15,3 @@ import { createError } from './errors.js';

/**
* This method is needed to used because of issues like: https://github.com/oramasearch/orama/issues/301
* This method is needed to used because of issues like: https://github.com/askorama/orama/issues/301
* that issue is caused because the array that is pushed is huge (>100k)

@@ -18,0 +18,0 @@ *

{
"name": "@orama/orama",
"version": "2.0.21",
"version": "2.0.22",
"type": "module",

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

"type": "git",
"url": "https://github.com/oramasearch/orama"
"url": "https://github.com/askorama/orama"
},
"bugs": {
"url": "https://github.com/oramasearch/orama"
"url": "https://github.com/askorama/orama"
},

@@ -90,4 +90,4 @@ "keywords": [

"typescript": "^5.0.0",
"@orama/stemmers": "2.0.21",
"@orama/stopwords": "2.0.21"
"@orama/stemmers": "2.0.22",
"@orama/stopwords": "2.0.22"
},

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

@@ -7,3 +7,3 @@ # Orama

[![Tests](https://github.com/oramasearch/orama/actions/workflows/turbo.yml/badge.svg)](https://github.com/oramasearch/orama/actions/workflows/turbo.yml)
[![Tests](https://github.com/askorama/orama/actions/workflows/turbo.yml/badge.svg)](https://github.com/askorama/orama/actions/workflows/turbo.yml)
![npm bundle size](https://img.shields.io/bundlephobia/minzip/%40orama%2Forama?label=Bundle%20Size&link=https%3A%2F%2Fbundlephobia.com%2Fpackage%2F%40orama%2Forama%40latest)

@@ -10,0 +10,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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