You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@enterprise_search/indexing

Package Overview
Dependencies
Maintainers
0
Versions
208
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

to
0.8.67

1

dist/src/access.d.ts

@@ -21,2 +21,3 @@ import { NameAnd } from "@laoban/utils";

textResponse?: boolean;
return404AsUndefined?: boolean;
};

@@ -23,0 +24,0 @@ export declare function callFetch(fetchFn: FetchFn, url: string, options?: FetchFnOptions, config?: CallFetchOptions): Promise<any>;

@@ -35,2 +35,4 @@ "use strict";

const resp = await fetchFn(url, options);
if (resp.status === 404 && config?.return404AsUndefined)
return undefined;
if (resp.ok)

@@ -37,0 +39,0 @@ return textResponse ? resp.text() : resp.json();

8

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

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

"@itsmworkbench/utils": "0.3.12",
"@enterprise_search/fetchfn": "0.8.66",
"@enterprise_search/indexconfig": "0.8.66",
"@enterprise_search/kleislis": "0.8.66",
"@enterprise_search/fetchfn": "0.8.67",
"@enterprise_search/indexconfig": "0.8.67",
"@enterprise_search/kleislis": "0.8.67",
"debug": "^4.3.4"

@@ -31,0 +31,0 @@ },

Sorry, the diff of this file is not supported yet