@empiricalrun/test-gen 0.42.21 → 0.42.22

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @empiricalrun/test-gen
2
2
 
3
+ ## 0.42.22
4
+
5
+ ### Patch Changes
6
+
7
+ - f3f9abf: fix: Identifier 'MAX_Z_INDEX_FOR_DOM' has already been declared
8
+
3
9
  ## 0.42.21
4
10
 
5
11
  ### Patch Changes
@@ -1,8 +1,5 @@
1
1
  /* eslint-disable autofix/no-unused-vars */
2
2
 
3
- const MAX_Z_INDEX_FOR_DOM = 10000;
4
- const Z_INDEX_FOR_MARKERS = 99999;
5
-
6
3
  /**
7
4
  * Annotates all clickable elements on the page with unique hint markers.
8
5
  * Returns an object containing annotations and methods to enable/disable them.
@@ -23,6 +20,9 @@ function annotateElementsWithPreference({
23
20
  markerClass = "hint-marker", // CSS class for markers
24
21
  } = options;
25
22
 
23
+ const MAX_Z_INDEX_FOR_DOM = 10000;
24
+ const Z_INDEX_FOR_MARKERS = 99999;
25
+
26
26
  const document = window.document;
27
27
  const annotationsMap = {};
28
28
  const usedHints = new Set();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@empiricalrun/test-gen",
3
- "version": "0.42.21",
3
+ "version": "0.42.22",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -73,8 +73,8 @@
73
73
  "tsx": "^4.16.2",
74
74
  "typescript": "^5.3.3",
75
75
  "@empiricalrun/llm": "^0.9.32",
76
- "@empiricalrun/r2-uploader": "^0.3.8",
77
- "@empiricalrun/reporter": "^0.23.1"
76
+ "@empiricalrun/reporter": "^0.23.1",
77
+ "@empiricalrun/r2-uploader": "^0.3.8"
78
78
  },
79
79
  "devDependencies": {
80
80
  "@playwright/test": "1.47.1",