zeed 0.13.21 → 0.13.23
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-LJ2C27PI.js → chunk-J54KOSQ7.js} +7 -7
- package/dist/chunk-J54KOSQ7.js.map +1 -0
- package/dist/index.all.d.cts +2 -1
- package/dist/index.all.d.ts +2 -1
- package/dist/index.browser.cjs +179 -178
- package/dist/index.browser.cjs.map +1 -1
- package/dist/index.browser.d.cts +2 -2
- package/dist/index.browser.d.ts +2 -2
- package/dist/index.browser.js +4 -4
- package/dist/index.browser.js.map +1 -1
- package/dist/index.node.cjs +162 -161
- package/dist/index.node.cjs.map +1 -1
- package/dist/index.node.d.cts +2 -2
- package/dist/index.node.d.ts +2 -2
- package/dist/index.node.js +8 -8
- package/dist/index.node.js.map +1 -1
- package/dist/{uuid-c28d44c0.d.ts → uuid-23c16c7c.d.ts} +2 -1
- package/package.json +4 -4
- package/dist/chunk-LJ2C27PI.js.map +0 -1
|
@@ -144,6 +144,7 @@ declare function arraySetElement<T>(arr: T[], el: T): T[];
|
|
|
144
144
|
declare function arrayFilterInPlace<T>(array: T[], fn: (el: T) => boolean): T[];
|
|
145
145
|
declare function arrayToggleInPlace<T>(array: T[], el: T): T[];
|
|
146
146
|
declare function arrayEmptyInPlace<T>(array: T[]): T[];
|
|
147
|
+
declare function arraySetArrayInPlace<T>(array: T[], newContent: T[]): T[];
|
|
147
148
|
declare function arraySorted<T>(arr: Iterable<T> | ArrayLike<T>, cond?: ((a: T, b: T) => number) | undefined): T[];
|
|
148
149
|
declare function arraySortedNumbers(arr: number[]): number[];
|
|
149
150
|
declare function arrayIsEqual<T>(array1: T[], array2: T[]): boolean;
|
|
@@ -1332,4 +1333,4 @@ declare function uuidIsValid(uuid: string): boolean;
|
|
|
1332
1333
|
declare function uname(name?: string): string;
|
|
1333
1334
|
declare function qid(): string;
|
|
1334
1335
|
|
|
1335
|
-
export {
|
|
1336
|
+
export { createArray as $, arrayUnion as A, BinaryEncoder as B, CRYPTO_DEFAULT_HASH_ALG as C, arrayFlatten as D, arrayIntersection as E, arraySymmetricDifference as F, arrayRemoveElement as G, arraySetElement as H, arrayFilterInPlace as I, Json as J, arrayToggleInPlace as K, LogHandlerOptions as L, arrayEmptyInPlace as M, arraySetArrayInPlace as N, ObjectStorage as O, arraySorted as P, arraySortedNumbers as Q, arrayIsEqual as R, arrayShuffleInPlace as S, arrayShuffle as T, arrayShuffleForce as U, arrayRandomElement as V, arrayMax as W, arrayMin as X, arraySum as Y, arrayAvg as Z, arrayBatches as _, LogHandler as a, dayDay as a$, _useBase as a0, useBase as a1, encodeBase32 as a2, decodeBase32 as a3, encodeBase16 as a4, decodeBase16 as a5, encodeBase58 as a6, decodeBase58 as a7, encodeBase62 as a8, decodeBase62 as a9, valueToInteger as aA, valueToFloat as aB, valueToString as aC, toFloat as aD, toInt as aE, toString as aF, toBool as aG, RenderMessagesOptions as aH, formatMessages as aI, renderMessages as aJ, fixBrokenUth8String as aK, dataUriToUint8Array as aL, dataUriToMimeType as aM, dataUriToBlob as aN, blobToDataUri as aO, Uint8ArrayToDataUri as aP, DayInputLegacy as aQ, Day as aR, forEachDay as aS, today as aT, day as aU, dateStringToDays as aV, DAY_MS as aW, DayValue as aX, DayInput as aY, dayYear as aZ, dayMonth as a_, estimateSizeForBase as aa, BinInput as ab, _encodeUtf8Polyfill as ac, _decodeUtf8Polyfill as ad, stringToUInt8Array as ae, Uint8ArrayToString as af, toUint8Array as ag, joinToUint8Array as ah, toHex as ai, fromHex as aj, toBase64 as ak, toBase64Url as al, fromBase64 as am, fromBase64String as an, equalBinary as ao, jsonToUint8Array as ap, Uint8ArrayToJson as aq, Uint8ArrayToHexDump as ar, toCamelCase as as, toCapitalize as at, toCapitalizeWords as au, fromCamelCase as av, stringToBoolean as aw, stringToInteger as ax, stringToFloat as ay, valueToBoolean as az, LogLevelAliasType as b, randomInt as b$, dayToParts as b0, dayToDate as b1, dayFromToday as b2, dayFromAny as b3, dayToDateGMT as b4, dayFromDate as b5, dayFromDateGMT as b6, dayToTimestamp as b7, dayFromTimestamp as b8, dayToString as b9, isRecord as bA, isRecordPlain as bB, isString as bC, isNumber as bD, isInteger as bE, isSafeInteger as bF, isBoolean as bG, isNullOrUndefined as bH, isNull as bI, isUint8Array as bJ, isNotNull as bK, isEmpty as bL, isNotEmpty as bM, isValue as bN, isTruthy as bO, jsonStringifySorted as bP, jsonStringifySafe as bQ, jsonStringify as bR, FilterFunction as bS, MapperFunction as bT, listQuery as bU, listGroupBy as bV, listDistinctUnion as bW, listOfKey as bX, getSecureRandom as bY, getSecureRandomIfPossible as bZ, randomBoolean as b_, dayFromParts as ba, dayFromString as bb, dayMonthStart as bc, dayYearStart as bd, dayOffset as be, dayDiff as bf, dayRange as bg, dayIterator as bh, DecimalValue as bi, DecimalInput as bj, decimal as bk, decimalFromCents as bl, decimalToCents as bm, decimalCentsPart as bn, deepEqual as bo, deepStripUndefinedInPlace as bp, deepMerge as bq, DifferenceType as br, Difference as bs, diffObjects as bt, escapeHTML as bu, unescapeHTML as bv, Primitive as bw, isObject as bx, isPrimitive as by, isArray as bz, LoggerInterface as c, useIntervalPause as c$, randomFloat as c0, between as c1, sum as c2, avg as c3, isPrimeRX as c4, isPrime as c5, seededRandom as c6, objectMap as c7, objectMergeDisposable as c8, objectIsEmpty as c9, encodeQuery as cA, parseQuery as cB, ensureKey as cC, ensureKeyAsync as cD, size as cE, first as cF, last as cG, empty as cH, cloneObject as cI, cloneJsonObject as cJ, memoize as cK, memoizeAsync as cL, forTimes as cM, Uint8ArrayToWords as cN, wordsToUint8Array as cO, regExpString as cP, regExpEscape as cQ, XRX as cR, UseDisposeConfig as cS, useDispose as cT, UseDispose as cU, useDefer as cV, UseDefer as cW, DisposerFunction as cX, Disposer as cY, useTimeout as cZ, useInterval as c_, parseOrderby as ca, composeOrderby as cb, cmp as cc, sortedOrderby as cd, toValidFilename as ce, escapeRegExp as cf, RoundingMode as cg, isHalf as ch, isEven as ci, roundUp as cj, roundDown as ck, roundHalfUp as cl, roundHalfOdd as cm, roundHalfAwayFromZero as cn, roundHalfDown as co, roundHalfEven as cp, roundHalfTowardsZero as cq, SortableItem as cr, startSortWeight as cs, endSortWeight as ct, moveSortWeight as cu, sortedItems as cv, useSorted as cw, deburr as cx, linkifyPlainText as cy, toHumanReadableUrl as cz, assert as d, EmitterAllHandler as d$, useEventListener as d0, useEventListenerOnce as d1, useDisposeWithUtils as d2, UseDisposeWithUtils as d3, Mutex as d4, AsyncMutex as d5, useMutex as d6, useAsyncMutex as d7, PoolTaskIdConflictResolution as d8, PoolConfig as d9, DefaultLogger as dA, LogLevel as dB, LogLevelAll as dC, LogLevelDebug as dD, LogLevelInfo as dE, LogLevelWarn as dF, LogLevelError as dG, LogLevelFatal as dH, LogLevelOff as dI, LogLevelAlias as dJ, LogLevelAliasKey as dK, LogMessage as dL, LoggerContextInterface as dM, browserSelectColorByName as dN, LoggerConsoleHandler as dO, LoggerContext as dP, getNamespaceFilterString as dQ, useNamespaceFilter as dR, parseLogLevel as dS, useLevelFilter as dT, joinLogStrings as dU, LoggerMemoryHandler as dV, ChannelMessageEvent as dW, Channel as dX, LocalChannel as dY, createLocalChannelPair as dZ, EmitterHandler as d_, PoolTaskFn as da, PoolTaskState as db, PoolTask as dc, PoolTaskEvents as dd, usePool as de, Progress as df, createPromise as dg, sleep as dh, immediate as di, timeout as dj, isTimeout as dk, tryTimeout as dl, waitOn as dm, isPromise as dn, promisify as dp, AsyncReturnType as dq, TaskFn as dr, TaskEvents as ds, SerialQueue as dt, throttle as du, debounce as dv, getGlobalContext as dw, isLocalHost as dx, getGlobalLogger as dy, getGlobalLoggerIfExists as dz, assertCondition as e, uuidDecodeV4 as e$, ListenerSignature as e0, DefaultListener as e1, EmitterSubscriberOptions as e2, Emitter as e3, getGlobalEmitter as e4, lazyListener as e5, Encoder as e6, NoopEncoder as e7, JsonEncoder as e8, CryptoEncoder as e9, fetchOptionsFormURLEncoded as eA, fetchOptionsJson as eB, fetchOptionsBasicAuth as eC, getWindow as eD, getNavigator as eE, getGlobal as eF, detect as eG, isBrowser as eH, useExitHandler as eI, MemStorageOptions as eJ, MemStorage as eK, getTimestamp as eL, formatMilliseconds as eM, parseDate as eN, getPerformanceTimestamp as eO, duration as eP, NestedArray as eQ, noop as eR, uuidBytes as eS, uuidB62 as eT, uuidEncodeB62 as eU, uuidDecodeB62 as eV, uuidB32 as eW, uuidEncodeB32 as eX, uuidDecodeB32 as eY, uuidv4 as eZ, uuidEncodeV4 as e_, MessageAction as ea, MessageResult as eb, Message as ec, MessagesOptions as ed, MessagesDefaultMethods as ee, MessagesMethods as ef, MessageDefinitions as eg, MessageHub as eh, createPromiseProxy as ei, useMessageHub as ej, PubSub as ek, usePubSub as el, ArgumentsType as em, ReturnType$1 as en, RPCOptionsBasic as eo, RPCOptions as ep, RPCFn as eq, RPCReturn as er, useRPC as es, useRPCHub as et, UseRPCHubType as eu, httpMethod as ev, parseBasicAuth as ew, fetchBasic as ex, fetchJson as ey, fetchText as ez, fatal as f, suidBytes as f0, suid as f1, suidDate as f2, suidBytesDate as f3, uuid32bit as f4, setUuidDefaultEncoding as f5, uuid as f6, uuidDecode as f7, uuidEncode as f8, uuidIsValid as f9, uname as fa, qid as fb, encodeJson as g, decodeJson as h, createBinaryStreamEncoder as i, createBinaryStreamDecoder as j, bitfield as k, blobToArrayBuffer as l, blobToUint8Array as m, CRYPTO_DEFAULT_ALG as n, CRYPTO_DEFAULT_DERIVE_ALG as o, CRYPTO_DEFAULT_DERIVE_ITERATIONS as p, digest as q, randomUint8Array as r, deriveKeyPbkdf2 as s, encrypt as t, decrypt as u, csvStringify as v, csvParse as w, csvParseToObjects as x, arrayUnique as y, arrayMinus as z };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zeed",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.13.
|
|
4
|
+
"version": "0.13.23",
|
|
5
5
|
"description": "🌱 Simple foundation library",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Dirk Holtwick",
|
|
@@ -69,15 +69,15 @@
|
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@antfu/eslint-config": "^0.43.1",
|
|
71
71
|
"@antfu/ni": "^0.21.8",
|
|
72
|
-
"@types/node": "^20",
|
|
72
|
+
"@types/node": "^20.8.7",
|
|
73
73
|
"c8": "^8.0.1",
|
|
74
74
|
"cross-fetch": "^4.0.0",
|
|
75
75
|
"esbuild": "^0.19.5",
|
|
76
|
-
"eslint": "^8.
|
|
76
|
+
"eslint": "^8.52.0",
|
|
77
77
|
"madge": "^6.1.0",
|
|
78
78
|
"tsup": "^7.2.0",
|
|
79
79
|
"typescript": "^5.2.2",
|
|
80
|
-
"vite": "^4.
|
|
80
|
+
"vite": "^4.5.0",
|
|
81
81
|
"vitest": "^0.34.6"
|
|
82
82
|
}
|
|
83
83
|
}
|