Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hydrooj/elastic-search

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hydrooj/elastic-search - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

tsconfig.json

20

package.json
{
"name": "@hydrooj/elastic-search",
"version": "1.0.0",
"main": "package.json",
"repository": "https://github.com/hydro-dev/Hydro",
"author": "undefined <i@undefined.moe>",
"license": "AGPL-3.0-or-later",
"dependencies": {
"@elastic/elasticsearch": "^8.1.0"
}
}
"name": "@hydrooj/elastic-search",
"version": "1.0.1",
"main": "package.json",
"repository": "https://github.com/hydro-dev/Hydro",
"author": "undefined <i@undefined.moe>",
"license": "AGPL-3.0-or-later",
"dependencies": {
"@elastic/elasticsearch": "^8.1.0"
}
}

@@ -52,3 +52,3 @@ import { Client } from '@elastic/elasticsearch';

minimum_should_match: 1,
should: domainIds.map((i) => ({ match: { domainId: i } })),
should: domainIds.map((i) => ({ term: { domainId: i } })),
},

@@ -68,3 +68,3 @@ },

try {
if (domainId) await client.deleteByQuery({ index: 'problem', query: { match: { domainId } } });
if (domainId) await client.deleteByQuery({ index: 'problem', query: { term: { domainId } } });
else await client.deleteByQuery({ index: 'problem', query: { match_all: {} } });

@@ -71,0 +71,0 @@ } catch (e) {

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