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

@enterprise_search/indexing

Package Overview
Dependencies
Maintainers
0
Versions
205
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@enterprise_search/indexing - npm Package Compare versions

Comparing version 0.8.15 to 0.8.16

1

dist/src/indexer.domain.d.ts

@@ -7,4 +7,5 @@ export type Indexer<T> = {

};
export declare function withIndexer(indexerFn: (fileTemplate: string, forestId: string) => Indexer<any>, file: string, index: string, block: (indexer: Indexer<any>) => Promise<void>): Promise<void>;
export declare function indexerWithTransformer<T, T1>(indexer: Indexer<T1>, fn: (t: T) => T1): Indexer<T>;
export declare const consoleIndexer: Indexer<any>;
export declare function rememberIndex<T>(prefix: string, store: string[]): Indexer<T>;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.consoleIndexer = void 0;
exports.withIndexer = withIndexer;
exports.indexerWithTransformer = indexerWithTransformer;
exports.rememberIndex = rememberIndex;
async function withIndexer(indexerFn, file, index, block) {
const indexer = indexerFn(file, index);
await indexer.start(index);
try {
await block(indexer);
await indexer.finished(index);
}
catch (e) {
await indexer.failed(index, e);
}
}
function indexerWithTransformer(indexer, fn) {

@@ -7,0 +19,0 @@ return {

6

package.json
{
"name": "@enterprise_search/indexing",
"description": "general code to help with indexing",
"version": "0.8.15",
"version": "0.8.16",
"main": "dist/index",

@@ -26,4 +26,4 @@ "types": "dist/index",

"@itsmworkbench/utils": "0.3.12",
"@enterprise_search/indexconfig": "0.8.15",
"@enterprise_search/kleislis": "0.8.15",
"@enterprise_search/indexconfig": "0.8.16",
"@enterprise_search/kleislis": "0.8.16",
"debug": "^4.3.4"

@@ -30,0 +30,0 @@ },

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