zeed 0.7.45 → 0.7.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-OQACTUYN.js → chunk-HAGOF5WK.js} +2 -2
- package/dist/{chunk-OQACTUYN.js.map → chunk-HAGOF5WK.js.map} +0 -0
- package/dist/{chunk-SVHWXFB2.js → chunk-OB4YPCIE.js} +2 -2
- package/dist/{chunk-SVHWXFB2.js.map → chunk-OB4YPCIE.js.map} +2 -2
- package/dist/index.all.cjs +1 -1
- package/dist/index.all.cjs.map +2 -2
- package/dist/index.all.d.ts +3 -3
- package/dist/index.all.js +1 -1
- package/dist/index.browser.cjs +1 -1
- package/dist/index.browser.cjs.map +2 -2
- package/dist/index.browser.d.ts +2 -2
- package/dist/index.browser.js +1 -1
- package/dist/index.node.cjs +1 -1
- package/dist/index.node.cjs.map +2 -2
- package/dist/index.node.d.ts +2 -2
- package/dist/index.node.js +1 -1
- package/dist/{log-colors-590d1468.d.ts → log-colors-4e7dadee.d.ts} +1 -1
- package/dist/{path-ca7e56bd.d.ts → path-dc22a053.d.ts} +1 -1
- package/dist/{uuid-c6572fad.d.ts → uuid-c9cb3330.d.ts} +3 -3
- package/package.json +1 -1
package/dist/index.node.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { aA as Channel, az as ChannelMessageEvent, _ as DAY_MS, a0 as Day, $ as DayCompatible, aG as DefaultListener, aH as Emitter, aE as EmitterAllHandler, aD as EmitterHandler, aL as Encoder, bq as Json, aM as JsonEncoder, aF as ListenerSignature, aB as LocalChannel, au as LoggerConsoleHandler, bk as MemStorage, bj as MemStorageOptions, aP as Message, aN as MessageAction, aT as MessageHub, aO as MessageResult, aR as MessagesDefaultMethods, aS as MessagesMethods, aQ as MessagesOptions, aW as Mutex, br as ObjectStorage, R as RenderMessagesOptions, bi as SerialQueue, S as SortableItem, ad as arrayEmptyInPlace, ab as arrayFilterInPlace, a6 as arrayFlatten, a7 as arrayIntersection, ag as arrayIsEqual, a4 as arrayMinus, ak as arrayRandomElement, a9 as arrayRemoveElement, aa as arraySetElement, ai as arrayShuffle, aj as arrayShuffleForce, ah as arrayShuffleInPlace, ae as arraySorted, af as arraySortedNumbers, a8 as arraySymmetricDifference, ac as arrayToggleInPlace, a5 as arrayUnion, a3 as arrayUnique, Y as cloneObject, H as cmp, G as composeOrderby, aX as createMutex, aU as createPromiseProxy, c as csv, Z as currency, bm as debounce, d as decodeBase16, b as decodeBase32, g as decodeBase58, i as decodeBase62, an as deepEqual, ao as deepMerge, b4 as detect, X as empty, e as encodeBase16, a as encodeBase32, f as encodeBase58, h as encodeBase62, T as encodeQuery, M as endSortWeight, j as equalBinary, C as escapeHTML, K as escapeRegExp, aC as fakeWorkerPair, aY as fetchBasic, aZ as fetchJson, a_ as fetchOptionsFormURLEncoded, a$ as fetchOptionsJson, b0 as fetchText, a1 as forEachDay, A as formatMessages, bp as formatMilliseconds, b3 as getGlobal, at as getGlobalContext, aI as getGlobalEmitter, b2 as getNavigator, ay as getSourceLocation, ax as getStackLlocationList, bo as getTimestamp, b1 as getWindow, b9 as immediate, b5 as isBrowser, al as isObject, am as isPrimitive, bg as isPromise, bd as isTimeout, E as jsonStringify, W as last, aK as lazyListener, P as linkifyPlainText, aJ as messages, N as moveSortWeight, F as parseOrderby, U as parseQuery, b6 as platform, bh as promisify, bv as qid, B as renderMessages, V as size, b8 as sleep, O as sortedItems, I as sortedOrderby, L as startSortWeight, s as stringToBoolean, o as stringToFloat, n as stringToInteger, by as suid, bx as suidBytes, bA as suidBytesDate, bz as suidDate, bl as throttle, bn as throttleAnimationFrame, bb as timeout, ba as timeoutReached, bc as timoutError, z as toBool, k as toCamelCase, l as toCapitalize, m as toCapitalizeWords, w as toFloat, Q as toHumanReadableUrl, x as toInt, y as toString, t as toUint8Array, J as toValidFilename, a2 as today, be as tryTimeout, bu as uname, D as unescapeHTML, u as useBase, ap as useDisposer, as as useEventListener, b7 as useExitHandler, ar as useInterval, aw as useLevelFilter, aV as useMessageHub, av as useNamespaceFilter, aq as useTimeout, bs as uuid, bt as uuidB32, bw as uuidv4, v as valueToBoolean, q as valueToFloat, p as valueToInteger, r as valueToString, bf as waitOn } from './uuid-
|
|
1
|
+
export { aA as Channel, az as ChannelMessageEvent, _ as DAY_MS, a0 as Day, $ as DayCompatible, aG as DefaultListener, aH as Emitter, aE as EmitterAllHandler, aD as EmitterHandler, aL as Encoder, bq as Json, aM as JsonEncoder, aF as ListenerSignature, aB as LocalChannel, au as LoggerConsoleHandler, bk as MemStorage, bj as MemStorageOptions, aP as Message, aN as MessageAction, aT as MessageHub, aO as MessageResult, aR as MessagesDefaultMethods, aS as MessagesMethods, aQ as MessagesOptions, aW as Mutex, br as ObjectStorage, R as RenderMessagesOptions, bi as SerialQueue, S as SortableItem, ad as arrayEmptyInPlace, ab as arrayFilterInPlace, a6 as arrayFlatten, a7 as arrayIntersection, ag as arrayIsEqual, a4 as arrayMinus, ak as arrayRandomElement, a9 as arrayRemoveElement, aa as arraySetElement, ai as arrayShuffle, aj as arrayShuffleForce, ah as arrayShuffleInPlace, ae as arraySorted, af as arraySortedNumbers, a8 as arraySymmetricDifference, ac as arrayToggleInPlace, a5 as arrayUnion, a3 as arrayUnique, Y as cloneObject, H as cmp, G as composeOrderby, aX as createMutex, aU as createPromiseProxy, c as csv, Z as currency, bm as debounce, d as decodeBase16, b as decodeBase32, g as decodeBase58, i as decodeBase62, an as deepEqual, ao as deepMerge, b4 as detect, X as empty, e as encodeBase16, a as encodeBase32, f as encodeBase58, h as encodeBase62, T as encodeQuery, M as endSortWeight, j as equalBinary, C as escapeHTML, K as escapeRegExp, aC as fakeWorkerPair, aY as fetchBasic, aZ as fetchJson, a_ as fetchOptionsFormURLEncoded, a$ as fetchOptionsJson, b0 as fetchText, a1 as forEachDay, A as formatMessages, bp as formatMilliseconds, b3 as getGlobal, at as getGlobalContext, aI as getGlobalEmitter, b2 as getNavigator, ay as getSourceLocation, ax as getStackLlocationList, bo as getTimestamp, b1 as getWindow, b9 as immediate, b5 as isBrowser, al as isObject, am as isPrimitive, bg as isPromise, bd as isTimeout, E as jsonStringify, W as last, aK as lazyListener, P as linkifyPlainText, aJ as messages, N as moveSortWeight, F as parseOrderby, U as parseQuery, b6 as platform, bh as promisify, bv as qid, B as renderMessages, V as size, b8 as sleep, O as sortedItems, I as sortedOrderby, L as startSortWeight, s as stringToBoolean, o as stringToFloat, n as stringToInteger, by as suid, bx as suidBytes, bA as suidBytesDate, bz as suidDate, bl as throttle, bn as throttleAnimationFrame, bb as timeout, ba as timeoutReached, bc as timoutError, z as toBool, k as toCamelCase, l as toCapitalize, m as toCapitalizeWords, w as toFloat, Q as toHumanReadableUrl, x as toInt, y as toString, t as toUint8Array, J as toValidFilename, a2 as today, be as tryTimeout, bu as uname, D as unescapeHTML, u as useBase, ap as useDisposer, as as useEventListener, b7 as useExitHandler, ar as useInterval, aw as useLevelFilter, aV as useMessageHub, av as useNamespaceFilter, aq as useTimeout, bs as uuid, bt as uuidB32, bw as uuidv4, v as valueToBoolean, q as valueToFloat, p as valueToInteger, r as valueToString, bf as waitOn } from './uuid-c9cb3330';
|
|
2
2
|
export { c as LogHandler, f as LogHandlerOptions, L as LogLevel, a as LogLevelAlias, b as LogMessage, h as Logger, g as LoggerContext, e as LoggerContextInterface, d as LoggerInterface } from './log-beb6c005';
|
|
3
|
-
export { b as FileStorage, F as FileStorageOptions, L as LoggerFileHandler, d as LoggerNodeHandler, _ as _dirname, c as colorString, a as setupEnv, s as stringToPath, t as toPath, v as valueToPath } from './path-
|
|
3
|
+
export { b as FileStorage, F as FileStorageOptions, L as LoggerFileHandler, d as LoggerNodeHandler, _ as _dirname, c as colorString, a as setupEnv, s as stringToPath, t as toPath, v as valueToPath } from './path-dc22a053';
|
package/dist/index.node.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{FileStorage,LoggerFileHandler,LoggerNodeHandler,_dirname,colorString,setupEnv,stringToPath,toPath,valueToPath}from"./chunk-
|
|
1
|
+
import{FileStorage,LoggerFileHandler,LoggerNodeHandler,_dirname,colorString,setupEnv,stringToPath,toPath,valueToPath}from"./chunk-HAGOF5WK.js";import{Channel,DAY_MS,Day,Emitter,JsonEncoder,LocalChannel,MemStorage,SerialQueue,arrayEmptyInPlace,arrayFilterInPlace,arrayFlatten,arrayIntersection,arrayIsEqual,arrayMinus,arrayRandomElement,arrayRemoveElement,arraySetElement,arrayShuffle,arrayShuffleForce,arrayShuffleInPlace,arraySorted,arraySortedNumbers,arraySymmetricDifference,arrayToggleInPlace,arrayUnion,arrayUnique,cloneObject,cmp,composeOrderby,createMutex,createPromiseProxy,csv,currency,debounce,decodeBase16,decodeBase32,decodeBase58,decodeBase62,empty,encodeBase16,encodeBase32,encodeBase58,encodeBase62,encodeQuery,endSortWeight,equalBinary,escapeHTML,escapeRegExp,fakeWorkerPair,fetchBasic,fetchJson,fetchOptionsFormURLEncoded,fetchOptionsJson,fetchText,forEachDay,formatMessages,getGlobalEmitter,getSourceLocation,getStackLlocationList,immediate,isPromise,isTimeout,jsonStringify,last,lazyListener,linkifyPlainText,messages,moveSortWeight,parseOrderby,parseQuery,promisify,qid,renderMessages,size,sleep,sortedItems,sortedOrderby,startSortWeight,stringToBoolean,stringToFloat,stringToInteger,suid,suidBytes,suidBytesDate,suidDate,throttle,throttleAnimationFrame,timeout,timeoutReached,timoutError,toBool,toCamelCase,toCapitalize,toCapitalizeWords,toFloat,toHumanReadableUrl,toInt,toString,toUint8Array,toValidFilename,today,tryTimeout,uname,unescapeHTML,useBase,useDisposer,useEventListener,useInterval,useMessageHub,useTimeout,uuid,uuidB32,uuidv4,valueToBoolean,valueToFloat,valueToInteger,valueToString,waitOn}from"./chunk-OB4YPCIE.js";import{LogLevel,LogLevelAlias,Logger,LoggerConsoleHandler,LoggerContext,deepEqual,deepMerge,detect,formatMilliseconds,getGlobal,getGlobalContext,getNavigator,getTimestamp,getWindow,isBrowser,isObject,isPrimitive,platform,useExitHandler,useLevelFilter,useNamespaceFilter}from"./chunk-5U62QDXB.js";export{Channel,DAY_MS,Day,Emitter,FileStorage,JsonEncoder,LocalChannel,LogLevel,LogLevelAlias,Logger,LoggerConsoleHandler,LoggerContext,LoggerFileHandler,LoggerNodeHandler,MemStorage,SerialQueue,_dirname,arrayEmptyInPlace,arrayFilterInPlace,arrayFlatten,arrayIntersection,arrayIsEqual,arrayMinus,arrayRandomElement,arrayRemoveElement,arraySetElement,arrayShuffle,arrayShuffleForce,arrayShuffleInPlace,arraySorted,arraySortedNumbers,arraySymmetricDifference,arrayToggleInPlace,arrayUnion,arrayUnique,cloneObject,cmp,colorString,composeOrderby,createMutex,createPromiseProxy,csv,currency,debounce,decodeBase16,decodeBase32,decodeBase58,decodeBase62,deepEqual,deepMerge,detect,empty,encodeBase16,encodeBase32,encodeBase58,encodeBase62,encodeQuery,endSortWeight,equalBinary,escapeHTML,escapeRegExp,fakeWorkerPair,fetchBasic,fetchJson,fetchOptionsFormURLEncoded,fetchOptionsJson,fetchText,forEachDay,formatMessages,formatMilliseconds,getGlobal,getGlobalContext,getGlobalEmitter,getNavigator,getSourceLocation,getStackLlocationList,getTimestamp,getWindow,immediate,isBrowser,isObject,isPrimitive,isPromise,isTimeout,jsonStringify,last,lazyListener,linkifyPlainText,messages,moveSortWeight,parseOrderby,parseQuery,platform,promisify,qid,renderMessages,setupEnv,size,sleep,sortedItems,sortedOrderby,startSortWeight,stringToBoolean,stringToFloat,stringToInteger,stringToPath,suid,suidBytes,suidBytesDate,suidDate,throttle,throttleAnimationFrame,timeout,timeoutReached,timoutError,toBool,toCamelCase,toCapitalize,toCapitalizeWords,toFloat,toHumanReadableUrl,toInt,toPath,toString,toUint8Array,toValidFilename,today,tryTimeout,uname,unescapeHTML,useBase,useDisposer,useEventListener,useExitHandler,useInterval,useLevelFilter,useMessageHub,useNamespaceFilter,useTimeout,uuid,uuidB32,uuidv4,valueToBoolean,valueToFloat,valueToInteger,valueToPath,valueToString,waitOn};
|
|
2
2
|
//# sourceMappingURL=index.node.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bq as Json, br as ObjectStorage } from './uuid-
|
|
1
|
+
import { bq as Json, br as ObjectStorage } from './uuid-c9cb3330';
|
|
2
2
|
import { L as LogLevel, f as LogHandlerOptions, c as LogHandler } from './log-beb6c005';
|
|
3
3
|
|
|
4
4
|
declare function urlBase64ToUint8Array(base64String: string): Uint8Array | undefined;
|
|
@@ -351,8 +351,8 @@ declare function useMessageHub(opt?: {
|
|
|
351
351
|
declare type Mutex = (fn: () => void, elseFn?: () => void) => boolean;
|
|
352
352
|
declare function createMutex(): Mutex;
|
|
353
353
|
|
|
354
|
-
declare function fetchBasic(url: string, fetchOptions?: any): Promise<Response | undefined>;
|
|
355
|
-
declare function fetchJson(url: string, opts?: any): Promise<Json | undefined>;
|
|
354
|
+
declare function fetchBasic(url: string, fetchOptions?: any, fetchFn?: (input: RequestInfo, init?: RequestInit) => Promise<Response>): Promise<Response | undefined>;
|
|
355
|
+
declare function fetchJson(url: string, opts?: any, fetchFn?: (input: RequestInfo, init?: RequestInit) => Promise<Response>): Promise<Json | undefined>;
|
|
356
356
|
declare function fetchOptionsFormURLEncoded(data: Object, method?: "GET" | "POST"): {
|
|
357
357
|
headers: {
|
|
358
358
|
"Content-Type": string;
|
|
@@ -372,7 +372,7 @@ declare function fetchOptionsJson(data: Object, method?: "GET" | "POST"): {
|
|
|
372
372
|
redirect: string;
|
|
373
373
|
method: "GET" | "POST";
|
|
374
374
|
};
|
|
375
|
-
declare function fetchText(url: string, opts?: any): Promise<string | undefined>;
|
|
375
|
+
declare function fetchText(url: string, opts?: any, fetchFn?: (input: RequestInfo, init?: RequestInit) => Promise<Response>): Promise<string | undefined>;
|
|
376
376
|
|
|
377
377
|
declare function getWindow(): any | undefined;
|
|
378
378
|
declare function getNavigator(): any | undefined;
|