ddan-js 2.9.8 → 2.9.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/bin/browser.d.ts +36 -0
- package/bin/ddan-js.browser.js +1 -1
- package/bin/ddan-js.js +1 -1
- package/bin/ddan-js.mjs +1 -1
- package/bin/index.d.ts +36 -0
- package/bin/modules/qs/index.d.ts +9 -0
- package/package.json +3 -2
package/bin/index.d.ts
CHANGED
|
@@ -284,6 +284,15 @@ declare const dHook: {
|
|
|
284
284
|
join: (...args: string[]) => string;
|
|
285
285
|
shExpMatch: (text: string, pattern: string) => boolean;
|
|
286
286
|
isLocalIpAddress: (addr: string) => boolean;
|
|
287
|
+
parseFileUrl: (url: string) => {
|
|
288
|
+
href: string;
|
|
289
|
+
file: string;
|
|
290
|
+
url: string;
|
|
291
|
+
protocol: string;
|
|
292
|
+
host: string;
|
|
293
|
+
query: string;
|
|
294
|
+
params: {};
|
|
295
|
+
};
|
|
287
296
|
};
|
|
288
297
|
singleton: <T>() => {
|
|
289
298
|
new (): {};
|
|
@@ -477,6 +486,15 @@ declare const dMini: {
|
|
|
477
486
|
join: (...args: string[]) => string;
|
|
478
487
|
shExpMatch: (text: string, pattern: string) => boolean;
|
|
479
488
|
isLocalIpAddress: (addr: string) => boolean;
|
|
489
|
+
parseFileUrl: (url: string) => {
|
|
490
|
+
href: string;
|
|
491
|
+
file: string;
|
|
492
|
+
url: string;
|
|
493
|
+
protocol: string;
|
|
494
|
+
host: string;
|
|
495
|
+
query: string;
|
|
496
|
+
params: {};
|
|
497
|
+
};
|
|
480
498
|
};
|
|
481
499
|
icon: import("./class/icon").DIcon;
|
|
482
500
|
html: {
|
|
@@ -622,6 +640,15 @@ declare const dWeb: {
|
|
|
622
640
|
join: (...args: string[]) => string;
|
|
623
641
|
shExpMatch: (text: string, pattern: string) => boolean;
|
|
624
642
|
isLocalIpAddress: (addr: string) => boolean;
|
|
643
|
+
parseFileUrl: (url: string) => {
|
|
644
|
+
href: string;
|
|
645
|
+
file: string;
|
|
646
|
+
url: string;
|
|
647
|
+
protocol: string;
|
|
648
|
+
host: string;
|
|
649
|
+
query: string;
|
|
650
|
+
params: {};
|
|
651
|
+
};
|
|
625
652
|
};
|
|
626
653
|
icon: import("./class/icon").DIcon;
|
|
627
654
|
html: {
|
|
@@ -962,6 +989,15 @@ declare const _default: {
|
|
|
962
989
|
join: (...args: string[]) => string;
|
|
963
990
|
shExpMatch: (text: string, pattern: string) => boolean;
|
|
964
991
|
isLocalIpAddress: (addr: string) => boolean;
|
|
992
|
+
parseFileUrl: (url: string) => {
|
|
993
|
+
href: string;
|
|
994
|
+
file: string;
|
|
995
|
+
url: string;
|
|
996
|
+
protocol: string;
|
|
997
|
+
host: string;
|
|
998
|
+
query: string;
|
|
999
|
+
params: {};
|
|
1000
|
+
};
|
|
965
1001
|
};
|
|
966
1002
|
css: {
|
|
967
1003
|
stringify: (styleObj: Record<string, string | number>) => string;
|
|
@@ -46,5 +46,14 @@ declare const _default: {
|
|
|
46
46
|
join: (...args: string[]) => string;
|
|
47
47
|
shExpMatch: (text: string, pattern: string) => boolean;
|
|
48
48
|
isLocalIpAddress: (addr: string) => boolean;
|
|
49
|
+
parseFileUrl: (url: string) => {
|
|
50
|
+
href: string;
|
|
51
|
+
file: string;
|
|
52
|
+
url: string;
|
|
53
|
+
protocol: string;
|
|
54
|
+
host: string;
|
|
55
|
+
query: string;
|
|
56
|
+
params: {};
|
|
57
|
+
};
|
|
49
58
|
};
|
|
50
59
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ddan-js",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.10",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ddan-js",
|
|
@@ -32,7 +32,8 @@
|
|
|
32
32
|
"types": "./bin/upload.d.ts",
|
|
33
33
|
"import": "./bin/ddan-upload.mjs",
|
|
34
34
|
"require": "./bin/ddan-upload.js"
|
|
35
|
-
}
|
|
35
|
+
},
|
|
36
|
+
"./*": "./*"
|
|
36
37
|
},
|
|
37
38
|
"files": [
|
|
38
39
|
"bin"
|