@rainte/js 0.0.33 → 0.0.36
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/dist/index.js +419 -411
- package/dist/index.umd.cjs +7 -7
- package/dist/types/src/fast/index.d.ts +3 -2
- package/dist/types/src/storage/index.d.ts +2 -2
- package/package.json +3 -3
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const flattenTree: (tree: any[], prop?: string) => any;
|
|
2
|
+
export declare const findByValue: (list: any[], value: any, prop?: string) => any;
|
|
2
3
|
export declare const sleep: (ms: number) => Promise<unknown>;
|
|
3
4
|
export declare const log: (message: any, type?: string) => void;
|
|
4
5
|
export declare const fail: (message: string) => never;
|
|
5
6
|
declare const _default: {
|
|
6
|
-
findByValue: (list: any[], value: any) => any;
|
|
7
|
+
findByValue: (list: any[], value: any, prop?: string) => any;
|
|
7
8
|
sleep: (ms: number) => Promise<unknown>;
|
|
8
9
|
log: (message: any, type?: string) => void;
|
|
9
10
|
fail: (message: string) => never;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rainte/js",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.36",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
"release": "pnpm build && npm version patch && npm publish --access public --registry=https://registry.npmjs.org"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"axios": "^1.8.
|
|
28
|
+
"axios": "^1.8.4",
|
|
29
29
|
"dayjs": "^1.11.13",
|
|
30
30
|
"dexie": "^4.0.11",
|
|
31
31
|
"jsan": "^3.1.14"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/jsan": "^3.1.5",
|
|
35
|
-
"@types/node": "^22.13.
|
|
35
|
+
"@types/node": "^22.13.11",
|
|
36
36
|
"typescript": "^5.8.2",
|
|
37
37
|
"vite": "^6.2.2"
|
|
38
38
|
}
|