@nanawan/shared 3.18.3 → 3.18.6

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 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.14_@voidzero-dev+vite-plus-core@0.1.18_@types+node@20.19.43_esbuild@0.25._ebc6d1ebc6d151a5c6f2c711e62b0de3/node_modules/parattail/dist/isString-eoLxw4CX.mjs
3
+ //#region node_modules/.pnpm/parattail@2.0.16_@voidzero-dev+vite-plus-core@0.1.18_@types+node@20.19.43_esbuild@0.25._16f3b15c820ada99cd8542994af66214/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.14_@voidzero-dev+vite-plus-core@0.1.18_@types+node@20.19.43_esbuild@0.25._ebc6d1ebc6d151a5c6f2c711e62b0de3/node_modules/parattail/dist/callOrReturn-MpTzoGlG.mjs
11
+ //#region node_modules/.pnpm/parattail@2.0.16_@voidzero-dev+vite-plus-core@0.1.18_@types+node@20.19.43_esbuild@0.25._16f3b15c820ada99cd8542994af66214/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.14_@voidzero-dev+vite-plus-core@0.1.18_@types+node@20.19.43_esbuild@0.25._ebc6d1ebc6d151a5c6f2c711e62b0de3/node_modules/parattail/dist/index.mjs
256
+ //#region node_modules/.pnpm/parattail@2.0.16_@voidzero-dev+vite-plus-core@0.1.18_@types+node@20.19.43_esbuild@0.25._16f3b15c820ada99cd8542994af66214/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.14_@voidzero-dev+vite-plus-core@0.1.18_@types+node@20.19.43_esbuild@0.25._ebc6d1ebc6d151a5c6f2c711e62b0de3/node_modules/parattail/dist/index.d.mts
48
+ //#region node_modules/.pnpm/parattail@2.0.16_@voidzero-dev+vite-plus-core@0.1.18_@types+node@20.19.43_esbuild@0.25._16f3b15c820ada99cd8542994af66214/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",
3
+ "version": "3.18.6",
4
4
  "description": "shared utils of pui",
5
5
  "keywords": [
6
6
  "shared",
@@ -15,7 +15,7 @@
15
15
  "url": "https://github.com/puijs/pui.git"
16
16
  },
17
17
  "license": "MIT",
18
- "author": "haoziqaq <357229046@qq.com>",
18
+ "author": "nana <wanna930@pingan.com.cn>",
19
19
  "sideEffects": false,
20
20
  "type": "module",
21
21
  "exports": {
@@ -36,7 +36,7 @@
36
36
  "dev": "vp pack --watch"
37
37
  },
38
38
  "dependencies": {
39
- "parattail": " ^2.0.14"
39
+ "parattail": " ^2.0.16"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@types/node": "^20.19.0",