@xbrowser/cli 1.6.2 → 1.6.3
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/cli.js +1 -4
- package/dist/daemon-main.js +1 -4
- package/dist/index.js +1 -4
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -950,10 +950,7 @@ var evaluateCommand = registerCommand({
|
|
|
950
950
|
const result = await ctx.page.evaluate(p.expression);
|
|
951
951
|
const response = ok7({ result });
|
|
952
952
|
if (decision && decision.severity === "danger") {
|
|
953
|
-
response.tips = normalizeTips2([
|
|
954
|
-
`\u26A0\uFE0F CDP Firewall: ${decision.reason}`,
|
|
955
|
-
`\u{1F4A1} Fix: ${decision.suggestion}`
|
|
956
|
-
]);
|
|
953
|
+
response.tips = normalizeTips2([`${decision.suggestion}`]);
|
|
957
954
|
}
|
|
958
955
|
return response;
|
|
959
956
|
}
|
package/dist/daemon-main.js
CHANGED
|
@@ -911,10 +911,7 @@ var evaluateCommand = registerCommand({
|
|
|
911
911
|
const result = await ctx.page.evaluate(p.expression);
|
|
912
912
|
const response = ok7({ result });
|
|
913
913
|
if (decision && decision.severity === "danger") {
|
|
914
|
-
response.tips = normalizeTips2([
|
|
915
|
-
`\u26A0\uFE0F CDP Firewall: ${decision.reason}`,
|
|
916
|
-
`\u{1F4A1} Fix: ${decision.suggestion}`
|
|
917
|
-
]);
|
|
914
|
+
response.tips = normalizeTips2([`${decision.suggestion}`]);
|
|
918
915
|
}
|
|
919
916
|
return response;
|
|
920
917
|
}
|
package/dist/index.js
CHANGED
|
@@ -990,10 +990,7 @@ var evaluateCommand = registerCommand({
|
|
|
990
990
|
const result = await ctx.page.evaluate(p.expression);
|
|
991
991
|
const response = ok7({ result });
|
|
992
992
|
if (decision && decision.severity === "danger") {
|
|
993
|
-
response.tips = normalizeTips2([
|
|
994
|
-
`\u26A0\uFE0F CDP Firewall: ${decision.reason}`,
|
|
995
|
-
`\u{1F4A1} Fix: ${decision.suggestion}`
|
|
996
|
-
]);
|
|
993
|
+
response.tips = normalizeTips2([`${decision.suggestion}`]);
|
|
997
994
|
}
|
|
998
995
|
return response;
|
|
999
996
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xbrowser/cli",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.3",
|
|
4
4
|
"description": "Browser automation CLI for web scraping, headless browsing, SEO analysis, and AI agent workflows. A command-line alternative to Playwright, Puppeteer, and Selenium.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|