@chengyu08/ipa-cli 0.2.4 → 0.2.5
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/src/cli.js +1 -1
- package/dist/src/core/ip.js +2 -2
- package/package.json +2 -2
package/dist/src/cli.js
CHANGED
package/dist/src/core/ip.js
CHANGED
|
@@ -118,7 +118,7 @@ async function resolvePublicIpLocationFromIpCn(ip, requestTextImpl) {
|
|
|
118
118
|
const response = await requestPublicLocation(createPublicLocationUrl(ip), requestTextImpl, {
|
|
119
119
|
"Cache-Control": "no-cache, no-store, max-age=0",
|
|
120
120
|
Pragma: "no-cache",
|
|
121
|
-
"User-Agent": "Mozilla/5.0 (compatible; ipa-cli/0.2.
|
|
121
|
+
"User-Agent": "Mozilla/5.0 (compatible; ipa-cli/0.2.5; +https://github.com/ChengYu08/ipa_cli)"
|
|
122
122
|
});
|
|
123
123
|
const displayLocation = extractIpCnDisplayLocation(response.body);
|
|
124
124
|
if (!displayLocation) {
|
|
@@ -135,7 +135,7 @@ async function resolvePublicIpLocationFromIpSb(ip, requestTextImpl) {
|
|
|
135
135
|
const response = await requestPublicLocation(createPublicLocationFallbackUrl(ip), requestTextImpl, {
|
|
136
136
|
"Cache-Control": "no-cache, no-store, max-age=0",
|
|
137
137
|
Pragma: "no-cache",
|
|
138
|
-
"User-Agent": "ipa-cli/0.2.
|
|
138
|
+
"User-Agent": "ipa-cli/0.2.5"
|
|
139
139
|
});
|
|
140
140
|
let payload;
|
|
141
141
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chengyu08/ipa-cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"description": "CLI for IPA review risk analysis, similarity checks, baseline scanning, and static asset review.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"commander": "^14.0.0",
|
|
32
32
|
"jpeg-js": "^0.4.4",
|
|
33
33
|
"macho": "^1.5.0",
|
|
34
|
-
"macho-entitlements": "^0.2.
|
|
34
|
+
"macho-entitlements": "^0.2.3",
|
|
35
35
|
"ora": "^9.4.0",
|
|
36
36
|
"pdf-lib": "^1.17.1",
|
|
37
37
|
"pdf-to-png-converter": "^4.1.0",
|