@applitools/eyes-puppeteer 1.19.0 → 1.20.0

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,144 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.20.0](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-puppeteer-v1.19.2...js/eyes-puppeteer@1.20.0) (2023-09-25)
4
+
5
+
6
+ ### Features
7
+
8
+ * rework log event on opent eyes ([#1842](https://github.com/applitools/eyes.sdk.javascript1/issues/1842)) ([532756b](https://github.com/applitools/eyes.sdk.javascript1/commit/532756b75c1023967c3781316148c890dbcfaac8))
9
+
10
+
11
+ ### Code Refactoring
12
+
13
+ * refactored spec driver interface ([#1839](https://github.com/applitools/eyes.sdk.javascript1/issues/1839)) ([aa49ec2](https://github.com/applitools/eyes.sdk.javascript1/commit/aa49ec2a7d14b8529acc3a8a4c2baecfa113d98a))
14
+
15
+
16
+ ### Dependencies
17
+
18
+ * @applitools/utils bumped to 1.6.1
19
+ #### Bug Fixes
20
+
21
+ * add browser entry point declaration and test ([#1933](https://github.com/applitools/eyes.sdk.javascript1/issues/1933)) ([5ba0720](https://github.com/applitools/eyes.sdk.javascript1/commit/5ba0720d62a9af8a9a2e1c2437c569e6ab19afd8))
22
+
23
+
24
+ #### Code Refactoring
25
+
26
+ * use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
27
+ * @applitools/logger bumped to 2.0.11
28
+ #### Bug Fixes
29
+
30
+ * add browser entry point declaration and test ([#1933](https://github.com/applitools/eyes.sdk.javascript1/issues/1933)) ([5ba0720](https://github.com/applitools/eyes.sdk.javascript1/commit/5ba0720d62a9af8a9a2e1c2437c569e6ab19afd8))
31
+
32
+
33
+
34
+ * @applitools/socket bumped to 1.1.11
35
+ #### Code Refactoring
36
+
37
+ * use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
38
+
39
+
40
+
41
+ * @applitools/req bumped to 1.6.1
42
+ #### Bug Fixes
43
+
44
+ * add browser entry point declaration and test ([#1933](https://github.com/applitools/eyes.sdk.javascript1/issues/1933)) ([5ba0720](https://github.com/applitools/eyes.sdk.javascript1/commit/5ba0720d62a9af8a9a2e1c2437c569e6ab19afd8))
45
+
46
+
47
+
48
+ * @applitools/image bumped to 1.1.6
49
+ #### Code Refactoring
50
+
51
+ * use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
52
+
53
+
54
+
55
+ * @applitools/spec-driver-puppeteer bumped to 1.2.2
56
+ #### Code Refactoring
57
+
58
+ * use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
59
+
60
+
61
+
62
+ * @applitools/ufg-client bumped to 1.9.2
63
+ #### Code Refactoring
64
+
65
+ * use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
66
+
67
+
68
+
69
+ * @applitools/core bumped to 3.11.2
70
+ #### Reverts
71
+
72
+ * perform major changes ([994cd70](https://github.com/applitools/eyes.sdk.javascript1/commit/994cd703ebe891bf68aecd49d77b5fb119f6ebe8))
73
+
74
+
75
+ #### Code Refactoring
76
+
77
+ * use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
78
+
79
+
80
+
81
+ * @applitools/spec-driver-webdriver bumped to 1.0.46
82
+
83
+ * @applitools/spec-driver-selenium bumped to 1.5.60
84
+
85
+ * @applitools/driver bumped to 1.14.2
86
+ #### Code Refactoring
87
+
88
+ * use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
89
+
90
+
91
+
92
+ * @applitools/screenshoter bumped to 3.8.12
93
+
94
+ * @applitools/nml-client bumped to 1.5.12
95
+ #### Code Refactoring
96
+
97
+ * use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
98
+
99
+
100
+
101
+ * @applitools/tunnel-client bumped to 1.2.3
102
+ #### Code Refactoring
103
+
104
+ * use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
105
+
106
+
107
+
108
+ * @applitools/ec-client bumped to 1.7.10
109
+ #### Code Refactoring
110
+
111
+ * use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
112
+
113
+
114
+
115
+ * @applitools/core-base bumped to 1.6.1
116
+ #### Reverts
117
+
118
+ * perform major changes ([994cd70](https://github.com/applitools/eyes.sdk.javascript1/commit/994cd703ebe891bf68aecd49d77b5fb119f6ebe8))
119
+
120
+
121
+ #### Code Refactoring
122
+
123
+ * use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
124
+
125
+
126
+
127
+ * @applitools/eyes bumped to 1.9.1
128
+
129
+
130
+ ## [1.19.1](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-puppeteer@1.19.0...js/eyes-puppeteer@1.19.1) (2023-09-12)
131
+
132
+
133
+ ### Dependencies
134
+
135
+ * @applitools/core bumped to 3.10.4
136
+ #### Bug Fixes
137
+
138
+ * update dom-snapshot to support xml pages and parens inside css URLs ([0715d56](https://github.com/applitools/eyes.sdk.javascript1/commit/0715d56c675b23be017c1985cbba3a51aba052b1))
139
+ * @applitools/eyes bumped to 1.8.4
140
+
141
+
3
142
  ## [1.19.0](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-puppeteer-v1.18.6...js/eyes-puppeteer@1.19.0) (2023-09-11)
4
143
 
5
144
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes-puppeteer",
3
- "version": "1.19.0",
3
+ "version": "1.20.0",
4
4
  "description": "Applitools Eyes SDK for Puppeteer",
5
5
  "keywords": [
6
6
  "eyes-puppeteer",
@@ -34,8 +34,8 @@
34
34
  "up:framework": "yarn add --dev --caret puppeteer${APPLITOOLS_FRAMEWORK_VERSION:+@$APPLITOOLS_FRAMEWORK_VERSION}"
35
35
  },
36
36
  "dependencies": {
37
- "@applitools/eyes": "1.8.3",
38
- "@applitools/spec-driver-puppeteer": "1.2.0"
37
+ "@applitools/eyes": "1.9.1",
38
+ "@applitools/spec-driver-puppeteer": "1.2.2"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@applitools/api-extractor": "^1.2.22",
package/types/index.d.ts CHANGED
@@ -74,7 +74,7 @@ export class Eyes {
74
74
  checkImage(image: Buffer, name?: undefined | string, ignoreMismatch?: undefined | boolean): Promise<MatchResult>;
75
75
  checkImage(image: URL, name?: undefined | string, ignoreMismatch?: undefined | boolean): Promise<MatchResult>;
76
76
  locate<TLocator extends string>(target: {
77
- image: string | Buffer | URL;
77
+ image: string | Uint8Array | URL;
78
78
  size?: undefined | { width: number; height: number; };
79
79
  name?: undefined | string;
80
80
  source?: undefined | string;
@@ -85,7 +85,7 @@ export class Eyes {
85
85
  }, settings: VisualLocatorSettings<TLocator>): Promise<Record<TLocator, Array<RegionPlain>>>;
86
86
  locate<TLocator extends string>(settings: VisualLocatorSettings<TLocator>): Promise<Record<TLocator, Array<RegionPlain>>>;
87
87
  extractTextRegions<TPattern extends string>(target: {
88
- image: string | Buffer | URL;
88
+ image: string | Uint8Array | URL;
89
89
  size?: undefined | { width: number; height: number; };
90
90
  name?: undefined | string;
91
91
  source?: undefined | string;
@@ -94,10 +94,10 @@ export class Eyes {
94
94
  locationInView?: undefined | { x: number; y: number; };
95
95
  fullViewSize?: undefined | { width: number; height: number; };
96
96
  }, settings: OCRSettings<TPattern>): Promise<Record<TPattern, Array<TextRegion>>>;
97
- extractTextRegions<TPattern extends string>(settingsWithImage: OCRSettings<TPattern> & { image: string | Buffer | URL; }): Promise<Record<TPattern, Array<TextRegion>>>;
97
+ extractTextRegions<TPattern extends string>(settingsWithImage: OCRSettings<TPattern> & { image: string | Uint8Array | URL; }): Promise<Record<TPattern, Array<TextRegion>>>;
98
98
  extractTextRegions<TPattern extends string>(settings: OCRSettings<TPattern>): Promise<Record<TPattern, Array<TextRegion>>>;
99
99
  extractText(target: {
100
- image: string | Buffer | URL;
100
+ image: string | Uint8Array | URL;
101
101
  size?: undefined | { width: number; height: number; };
102
102
  name?: undefined | string;
103
103
  source?: undefined | string;
@@ -106,7 +106,7 @@ export class Eyes {
106
106
  locationInView?: undefined | { x: number; y: number; };
107
107
  fullViewSize?: undefined | { width: number; height: number; };
108
108
  }, settings: Array<OCRRegion>): Promise<Array<string>>;
109
- extractText(settingsWithImage: Array<OCRRegion & { image: string | Buffer | URL; }>): Promise<Array<string>>;
109
+ extractText(settingsWithImage: Array<OCRRegion & { image: string | Uint8Array | URL; }>): Promise<Array<string>>;
110
110
  extractText(settings: Array<OCRRegion>): Promise<Array<string>>;
111
111
  close(throwErr?: undefined | boolean): Promise<TestResults>;
112
112
  closeAsync(): Promise<void>;