@varlet/shared 3.18.0-alpha.1781190469654 → 3.18.0-alpha.1781201095903
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/lib/index.cjs +3 -3
- package/lib/index.d.cts +1 -1
- package/package.json +1 -1
package/lib/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
let node_crypto = require("node:crypto");
|
|
3
|
-
//#region ../../node_modules/.pnpm/rattail@2.0.9_@voidzero-dev+vite-plus-core@0.1.18_@types+node@20.19.39_esbuild@0.27.7_jiti@2.
|
|
3
|
+
//#region ../../node_modules/.pnpm/rattail@2.0.9_@voidzero-dev+vite-plus-core@0.1.18_@types+node@20.19.39_esbuild@0.27.7_jiti@2._f3zbpnrccb4zea33q3fpausmni/node_modules/rattail/dist/isString-eoLxw4CX.mjs
|
|
4
4
|
function isArray(val) {
|
|
5
5
|
return Array.isArray(val);
|
|
6
6
|
}
|
|
@@ -8,7 +8,7 @@ function isString(val) {
|
|
|
8
8
|
return typeof val === "string";
|
|
9
9
|
}
|
|
10
10
|
//#endregion
|
|
11
|
-
//#region ../../node_modules/.pnpm/rattail@2.0.9_@voidzero-dev+vite-plus-core@0.1.18_@types+node@20.19.39_esbuild@0.27.7_jiti@2.
|
|
11
|
+
//#region ../../node_modules/.pnpm/rattail@2.0.9_@voidzero-dev+vite-plus-core@0.1.18_@types+node@20.19.39_esbuild@0.27.7_jiti@2._f3zbpnrccb4zea33q3fpausmni/node_modules/rattail/dist/callOrReturn-MpTzoGlG.mjs
|
|
12
12
|
function isFunction(val) {
|
|
13
13
|
return typeof val === "function";
|
|
14
14
|
}
|
|
@@ -253,7 +253,7 @@ function init(converter, defaultAttributes) {
|
|
|
253
253
|
}
|
|
254
254
|
var api = init(defaultConverter, { path: "/" });
|
|
255
255
|
//#endregion
|
|
256
|
-
//#region ../../node_modules/.pnpm/rattail@2.0.9_@voidzero-dev+vite-plus-core@0.1.18_@types+node@20.19.39_esbuild@0.27.7_jiti@2.
|
|
256
|
+
//#region ../../node_modules/.pnpm/rattail@2.0.9_@voidzero-dev+vite-plus-core@0.1.18_@types+node@20.19.39_esbuild@0.27.7_jiti@2._f3zbpnrccb4zea33q3fpausmni/node_modules/rattail/dist/index.mjs
|
|
257
257
|
function at(arr, index) {
|
|
258
258
|
if (!arr.length) return;
|
|
259
259
|
if (index < 0) index += arr.length;
|
package/lib/index.d.cts
CHANGED
|
@@ -45,7 +45,7 @@ interface Emitter<Events extends Record<EventType, unknown>> {
|
|
|
45
45
|
*/
|
|
46
46
|
declare function mitt<Events extends Record<EventType, unknown>>(all?: EventHandlerMap<Events>): Emitter<Events>;
|
|
47
47
|
//#endregion
|
|
48
|
-
//#region ../../node_modules/.pnpm/rattail@2.0.9_@voidzero-dev+vite-plus-core@0.1.18_@types+node@20.19.39_esbuild@0.27.7_jiti@2.
|
|
48
|
+
//#region ../../node_modules/.pnpm/rattail@2.0.9_@voidzero-dev+vite-plus-core@0.1.18_@types+node@20.19.39_esbuild@0.27.7_jiti@2._f3zbpnrccb4zea33q3fpausmni/node_modules/rattail/dist/index.d.mts
|
|
49
49
|
//#region src/array/at.d.ts
|
|
50
50
|
declare function at<T>(arr: T[], index: number): T | undefined; //#endregion
|
|
51
51
|
//#region src/array/chunk.d.ts
|