@revolugo/common 7.5.0 → 7.6.0-alpha.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revolugo/common",
3
- "version": "7.5.0",
3
+ "version": "7.6.0-alpha.1",
4
4
  "private": false,
5
5
  "description": "Revolugo common",
6
6
  "author": "Revolugo",
@@ -27,7 +27,7 @@
27
27
  "change-case": "5.4.4",
28
28
  "dayjs": "1.11.20",
29
29
  "ky": "1.14.3",
30
- "slugify": "1.6.8",
30
+ "slugify": "1.6.9",
31
31
  "type-fest": "5.5.0",
32
32
  "uuid": "13.0.0",
33
33
  "zod": "4.3.6"
@@ -55,6 +55,7 @@ export const ICONS_NAME = Object.freeze({
55
55
  deviceMobile: 'ph:device-mobile',
56
56
  deviceTablet: 'ph:device-tablet',
57
57
  diceSix: 'ph:dice-six',
58
+ door: 'ph-door',
58
59
  doorOpen: 'ph:door-open',
59
60
  dotsThree: 'ph:dots-three',
60
61
  download: 'ph:download-simple',
@@ -13,11 +13,11 @@ export interface DebouncedFunction<
13
13
  this: ThisParameterType<F>,
14
14
  ...args: Args & Parameters<F>
15
15
  ): Promise<Awaited<ReturnType<F>>>
16
- cancel: (reason?: any) => void
16
+ cancel: (reason?: unknown) => void
17
17
  }
18
18
 
19
19
  interface DebouncedPromise<FunctionReturn> {
20
- reject: (reason?: any) => void
20
+ reject: (reason?: unknown) => void
21
21
  resolve: (result: FunctionReturn) => void
22
22
  }
23
23
 
@@ -85,7 +85,7 @@ export function debounce<Args extends any[], F extends (...args: Args) => any>(
85
85
  })
86
86
  }
87
87
 
88
- debouncedFunction.cancel = function cancel(reason?: any) {
88
+ debouncedFunction.cancel = function cancel(reason?: unknown) {
89
89
  if (timeoutId !== undefined) {
90
90
  clearTimeout(timeoutId)
91
91
  }