@jeniex/utils 1.0.10 → 1.0.11
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/browser/index.d.ts +1 -1
- package/node/index.d.ts +1 -1
- package/package.json +4 -2
package/browser/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ declare function isString(object: unknown): object is string;
|
|
|
13
13
|
declare function sleep(milliSeconds: number): Promise<void>;
|
|
14
14
|
|
|
15
15
|
type Nullable<T> = T | null | undefined;
|
|
16
|
-
type Fn<T =
|
|
16
|
+
type Fn<T = void, U = any> = (param: U) => T;
|
|
17
17
|
|
|
18
18
|
declare function alert(message?: string): void;
|
|
19
19
|
declare function confirm(message: string): boolean;
|
package/node/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ declare function isString(object: unknown): object is string;
|
|
|
13
13
|
declare function sleep(milliSeconds: number): Promise<void>;
|
|
14
14
|
|
|
15
15
|
type Nullable<T> = T | null | undefined;
|
|
16
|
-
type Fn<T =
|
|
16
|
+
type Fn<T = void, U = any> = (param: U) => T;
|
|
17
17
|
|
|
18
18
|
interface ListFoldersOpt {
|
|
19
19
|
folderPath: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jeniex/utils",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.11",
|
|
4
4
|
"author": "JenieX",
|
|
5
5
|
"homepage": "https://github.com/JenieX/utils",
|
|
6
6
|
"type": "module",
|
|
@@ -24,10 +24,12 @@
|
|
|
24
24
|
"node"
|
|
25
25
|
],
|
|
26
26
|
"scripts": {
|
|
27
|
-
"build": "rollup
|
|
27
|
+
"build": "rollup --config",
|
|
28
28
|
"develop": "npm run build -- --watch"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
+
"@commitlint/cli": "^17.7.1",
|
|
32
|
+
"@commitlint/config-conventional": "^17.7.0",
|
|
31
33
|
"@jeniex/eslint-config": "^0.0.3",
|
|
32
34
|
"@rollup/plugin-typescript": "^11.1.3",
|
|
33
35
|
"@types/node": "^20.5.7",
|