@abtnode/util 1.8.64 → 1.8.65-beta-81d3340c
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.
|
@@ -30,6 +30,11 @@ const evaluateURL = async (url, options = {}) => {
|
|
|
30
30
|
// 子层越多越靠后
|
|
31
31
|
score -= hostname.split('.').length;
|
|
32
32
|
} else {
|
|
33
|
+
// 优先级高于 ip echo 地址
|
|
34
|
+
if (isDidDomain(hostname)) {
|
|
35
|
+
score += 21;
|
|
36
|
+
}
|
|
37
|
+
|
|
33
38
|
// ip echo, +20
|
|
34
39
|
if (isIpEcho(hostname)) {
|
|
35
40
|
score += 20;
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.8.
|
|
6
|
+
"version": "1.8.65-beta-81d3340c",
|
|
7
7
|
"description": "ArcBlock's JavaScript utility",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"files": [
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"author": "polunzh <polunzh@gmail.com> (http://github.com/polunzh)",
|
|
19
19
|
"license": "MIT",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@abtnode/constant": "1.8.
|
|
22
|
-
"@abtnode/logger": "1.8.
|
|
21
|
+
"@abtnode/constant": "1.8.65-beta-81d3340c",
|
|
22
|
+
"@abtnode/logger": "1.8.65-beta-81d3340c",
|
|
23
23
|
"@arcblock/jwt": "^1.18.37",
|
|
24
|
-
"@blocklet/constant": "1.8.
|
|
24
|
+
"@blocklet/constant": "1.8.65-beta-81d3340c",
|
|
25
25
|
"@ocap/mcrypto": "1.18.37",
|
|
26
26
|
"@ocap/util": "1.18.37",
|
|
27
27
|
"@ocap/wallet": "1.18.37",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"jest": "^27.5.1",
|
|
71
71
|
"unzipper": "^0.10.11"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "5a904b9192febd1d09a759d929ca4de639a50cd1"
|
|
74
74
|
}
|