@godscene/core
Advanced tools
@@ -310,5 +310,7 @@ import { findAllMidsceneLocatorField, parseActionParam } from "../ai-model/index.mjs"; | ||
| }); | ||
| console.log(data, 'getElementFromPoint data'); | ||
| element.allPaths = data?.allPaths || []; | ||
| element.containerPaths = data?.containerPaths || []; | ||
| } catch (error) { | ||
| console.log(error, 'getElementFromPoint error'); | ||
| element.allPaths = []; | ||
@@ -315,0 +317,0 @@ element.containerPaths = []; |
@@ -126,3 +126,3 @@ import { ScreenshotItem } from "../screenshot-item.mjs"; | ||
| } | ||
| const getMidsceneVersion = ()=>"1.7.15"; | ||
| const getMidsceneVersion = ()=>"1.7.16"; | ||
| const parsePrompt = (prompt)=>{ | ||
@@ -129,0 +129,0 @@ if ('string' == typeof prompt) return { |
@@ -339,5 +339,7 @@ "use strict"; | ||
| }); | ||
| console.log(data, 'getElementFromPoint data'); | ||
| element.allPaths = data?.allPaths || []; | ||
| element.containerPaths = data?.containerPaths || []; | ||
| } catch (error) { | ||
| console.log(error, 'getElementFromPoint error'); | ||
| element.allPaths = []; | ||
@@ -344,0 +346,0 @@ element.containerPaths = []; |
@@ -173,3 +173,3 @@ "use strict"; | ||
| } | ||
| const getMidsceneVersion = ()=>"1.7.15"; | ||
| const getMidsceneVersion = ()=>"1.7.16"; | ||
| const parsePrompt = (prompt)=>{ | ||
@@ -176,0 +176,0 @@ if ('string' == typeof prompt) return { |
+2
-2
| { | ||
| "name": "@godscene/core", | ||
| "description": "Automate browser actions, extract data, and perform assertions using AI. It offers JavaScript SDK, Chrome extension, and support for scripting in YAML. See https://midscenejs.com/ for details.", | ||
| "version": "1.7.16", | ||
| "version": "1.7.17", | ||
| "repository": "https://github.com/web-infra-dev/midscene", | ||
@@ -100,3 +100,3 @@ "homepage": "https://midscenejs.com/", | ||
| "zod": "^3.25.1", | ||
| "@godscene/shared": "1.7.16" | ||
| "@godscene/shared": "1.7.17" | ||
| }, | ||
@@ -103,0 +103,0 @@ "devDependencies": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 2 instances in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 4 instances in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
1647146
0.02%30606
0.01%42
-4.55%+ Added
- Removed
Updated