@nanawan/shared 3.18.6 → 3.18.10
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 +2 -2
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/parattail@2.0.
|
|
3
|
+
//#region node_modules/.pnpm/parattail@2.0.18_@voidzero-dev+vite-plus-core@0.1.18_@types+node@20.19.43_jiti@2.7.0_ty_74ca2b2877b56334022e5c4d80259743/node_modules/parattail/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/parattail@2.0.
|
|
11
|
+
//#region node_modules/.pnpm/parattail@2.0.18_@voidzero-dev+vite-plus-core@0.1.18_@types+node@20.19.43_jiti@2.7.0_ty_74ca2b2877b56334022e5c4d80259743/node_modules/parattail/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/parattail@2.0.
|
|
256
|
+
//#region node_modules/.pnpm/parattail@2.0.18_@voidzero-dev+vite-plus-core@0.1.18_@types+node@20.19.43_jiti@2.7.0_ty_74ca2b2877b56334022e5c4d80259743/node_modules/parattail/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/parattail@2.0.
|
|
48
|
+
//#region node_modules/.pnpm/parattail@2.0.18_@voidzero-dev+vite-plus-core@0.1.18_@types+node@20.19.43_jiti@2.7.0_ty_74ca2b2877b56334022e5c4d80259743/node_modules/parattail/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
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nanawan/shared",
|
|
3
|
-
"version": "3.18.
|
|
3
|
+
"version": "3.18.10",
|
|
4
4
|
"description": "shared utils of pui",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"shared",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"dev": "vp pack --watch"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"parattail": " ^2.0.
|
|
39
|
+
"parattail": " ^2.0.18"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@types/node": "^20.19.0",
|