ddan-js 3.6.6 → 3.7.0
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/ddan-js.browser.js +1 -1
- package/bin/ddan-js.js +1 -1
- package/bin/ddan-js.mjs +1 -1
- package/bin/modules/qs/index.d.ts +5 -1
- package/bin/tiny/hook.d.ts +5 -1
- package/bin/tiny/mini.d.ts +5 -1
- package/bin/tiny/web.d.ts +5 -1
- package/package.json +1 -1
|
@@ -63,7 +63,11 @@ declare const _default: {
|
|
|
63
63
|
query: string;
|
|
64
64
|
params: {};
|
|
65
65
|
};
|
|
66
|
-
isPrivateIP: (addr: string) => boolean;
|
|
67
66
|
isIP: (addr: string) => boolean;
|
|
67
|
+
isIPv4: (addr: string) => boolean;
|
|
68
|
+
isIPv6: (addr: string) => boolean;
|
|
69
|
+
isPrivateIP: (addr: string) => boolean;
|
|
70
|
+
isPrivateIPv4: (addr: string) => boolean;
|
|
71
|
+
isPrivateIPv6: (addr: string) => boolean;
|
|
68
72
|
};
|
|
69
73
|
export default _default;
|
package/bin/tiny/hook.d.ts
CHANGED
|
@@ -56,8 +56,12 @@ declare const dHook: {
|
|
|
56
56
|
query: string;
|
|
57
57
|
params: {};
|
|
58
58
|
};
|
|
59
|
-
isPrivateIP: (addr: string) => boolean;
|
|
60
59
|
isIP: (addr: string) => boolean;
|
|
60
|
+
isIPv4: (addr: string) => boolean;
|
|
61
|
+
isIPv6: (addr: string) => boolean;
|
|
62
|
+
isPrivateIP: (addr: string) => boolean;
|
|
63
|
+
isPrivateIPv4: (addr: string) => boolean;
|
|
64
|
+
isPrivateIPv6: (addr: string) => boolean;
|
|
61
65
|
};
|
|
62
66
|
ali: {
|
|
63
67
|
urlAuthA: (uri: string, exp?: number, key?: string) => string;
|
package/bin/tiny/mini.d.ts
CHANGED
|
@@ -75,8 +75,12 @@ declare const dMini: {
|
|
|
75
75
|
query: string;
|
|
76
76
|
params: {};
|
|
77
77
|
};
|
|
78
|
-
isPrivateIP: (addr: string) => boolean;
|
|
79
78
|
isIP: (addr: string) => boolean;
|
|
79
|
+
isIPv4: (addr: string) => boolean;
|
|
80
|
+
isIPv6: (addr: string) => boolean;
|
|
81
|
+
isPrivateIP: (addr: string) => boolean;
|
|
82
|
+
isPrivateIPv4: (addr: string) => boolean;
|
|
83
|
+
isPrivateIPv6: (addr: string) => boolean;
|
|
80
84
|
};
|
|
81
85
|
icon: import("../class/icon").DIcon;
|
|
82
86
|
html: {
|
package/bin/tiny/web.d.ts
CHANGED
|
@@ -107,8 +107,12 @@ declare const dWeb: {
|
|
|
107
107
|
query: string;
|
|
108
108
|
params: {};
|
|
109
109
|
};
|
|
110
|
-
isPrivateIP: (addr: string) => boolean;
|
|
111
110
|
isIP: (addr: string) => boolean;
|
|
111
|
+
isIPv4: (addr: string) => boolean;
|
|
112
|
+
isIPv6: (addr: string) => boolean;
|
|
113
|
+
isPrivateIP: (addr: string) => boolean;
|
|
114
|
+
isPrivateIPv4: (addr: string) => boolean;
|
|
115
|
+
isPrivateIPv6: (addr: string) => boolean;
|
|
112
116
|
};
|
|
113
117
|
icon: import("../class/icon").DIcon;
|
|
114
118
|
html: {
|