@applitools/core 3.11.1 → 3.11.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/CHANGELOG.md CHANGED
@@ -1,5 +1,128 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.11.3](https://github.com/applitools/eyes.sdk.javascript1/compare/js/core@3.11.2...js/core@3.11.3) (2023-09-28)
4
+
5
+
6
+ ### Dependencies
7
+
8
+ * @applitools/ufg-client bumped to 1.9.3
9
+ #### Bug Fixes
10
+
11
+ * avoid saving data urls in cache (both sync and async) ([#1940](https://github.com/applitools/eyes.sdk.javascript1/issues/1940)) ([170181a](https://github.com/applitools/eyes.sdk.javascript1/commit/170181a3e4918411f3f18bbc4481b0752edf335f))
12
+
13
+ ## [3.11.2](https://github.com/applitools/eyes.sdk.javascript1/compare/js/core@3.11.1...js/core@3.11.2) (2023-09-25)
14
+
15
+
16
+ ### Reverts
17
+
18
+ * perform major changes ([994cd70](https://github.com/applitools/eyes.sdk.javascript1/commit/994cd703ebe891bf68aecd49d77b5fb119f6ebe8))
19
+
20
+
21
+ ### Code Refactoring
22
+
23
+ * 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))
24
+
25
+
26
+ ### Dependencies
27
+
28
+ * @applitools/utils bumped to 1.6.1
29
+ #### Bug Fixes
30
+
31
+ * 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))
32
+
33
+
34
+ #### Code Refactoring
35
+
36
+ * 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))
37
+ * @applitools/logger bumped to 2.0.11
38
+ #### Bug Fixes
39
+
40
+ * 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))
41
+
42
+
43
+
44
+ * @applitools/socket bumped to 1.1.11
45
+ #### Code Refactoring
46
+
47
+ * 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))
48
+
49
+
50
+
51
+ * @applitools/req bumped to 1.6.1
52
+ #### Bug Fixes
53
+
54
+ * 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))
55
+
56
+
57
+
58
+ * @applitools/image bumped to 1.1.6
59
+ #### Code Refactoring
60
+
61
+ * 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))
62
+
63
+
64
+
65
+ * @applitools/spec-driver-selenium bumped to 1.5.60
66
+
67
+ * @applitools/spec-driver-puppeteer bumped to 1.2.2
68
+ #### Code Refactoring
69
+
70
+ * 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))
71
+
72
+
73
+
74
+ * @applitools/screenshoter bumped to 3.8.12
75
+
76
+ * @applitools/nml-client bumped to 1.5.12
77
+ #### Code Refactoring
78
+
79
+ * 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))
80
+
81
+
82
+
83
+ * @applitools/spec-driver-webdriver bumped to 1.0.46
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/tunnel-client bumped to 1.2.3
93
+ #### Code Refactoring
94
+
95
+ * 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))
96
+
97
+
98
+
99
+ * @applitools/ufg-client bumped to 1.9.2
100
+ #### Code Refactoring
101
+
102
+ * 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))
103
+
104
+
105
+
106
+ * @applitools/ec-client bumped to 1.7.10
107
+ #### Code Refactoring
108
+
109
+ * 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))
110
+
111
+
112
+
113
+ * @applitools/core-base bumped to 1.6.1
114
+ #### Reverts
115
+
116
+ * perform major changes ([994cd70](https://github.com/applitools/eyes.sdk.javascript1/commit/994cd703ebe891bf68aecd49d77b5fb119f6ebe8))
117
+
118
+
119
+ #### Code Refactoring
120
+
121
+ * 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))
122
+
123
+
124
+
125
+
3
126
  ## [3.11.1](https://github.com/applitools/eyes.sdk.javascript1/compare/js/core@3.11.0...js/core@3.11.1) (2023-09-21)
4
127
 
5
128
 
@@ -35,7 +35,7 @@ const utils_1 = require("./utils");
35
35
  const eyes_1 = require("./eyes");
36
36
  const utils = __importStar(require("@applitools/utils"));
37
37
  const node_fetch_1 = __importDefault(require("node-fetch"));
38
- const value = Buffer.from(JSON.stringify({ resources: {}, domNodes: [] }));
38
+ const value = new TextEncoder().encode(JSON.stringify({ resources: {}, domNodes: [] }));
39
39
  const hash = (0, crypto_1.createHash)('sha256').update(value).digest('hex');
40
40
  const contentType = 'x-applitools-html/cdt';
41
41
  const resource = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/core",
3
- "version": "3.11.1",
3
+ "version": "3.11.3",
4
4
  "homepage": "https://applitools.com",
5
5
  "bugs": {
6
6
  "url": "https://github.com/applitools/eyes.sdk.javascript1/issues"
@@ -65,20 +65,20 @@
65
65
  "compress": "GZip"
66
66
  },
67
67
  "dependencies": {
68
- "@applitools/core-base": "1.6.0",
68
+ "@applitools/core-base": "1.6.1",
69
69
  "@applitools/dom-capture": "11.2.3",
70
70
  "@applitools/dom-snapshot": "4.7.11",
71
- "@applitools/driver": "1.14.1",
72
- "@applitools/ec-client": "1.7.9",
73
- "@applitools/logger": "2.0.10",
74
- "@applitools/nml-client": "1.5.11",
75
- "@applitools/req": "1.6.0",
76
- "@applitools/screenshoter": "3.8.11",
71
+ "@applitools/driver": "1.14.2",
72
+ "@applitools/ec-client": "1.7.10",
73
+ "@applitools/logger": "2.0.11",
74
+ "@applitools/nml-client": "1.5.12",
75
+ "@applitools/req": "1.6.1",
76
+ "@applitools/screenshoter": "3.8.12",
77
77
  "@applitools/snippets": "2.4.24",
78
- "@applitools/socket": "1.1.10",
79
- "@applitools/spec-driver-webdriver": "1.0.45",
80
- "@applitools/ufg-client": "1.9.1",
81
- "@applitools/utils": "1.6.0",
78
+ "@applitools/socket": "1.1.11",
79
+ "@applitools/spec-driver-webdriver": "1.0.46",
80
+ "@applitools/ufg-client": "1.9.3",
81
+ "@applitools/utils": "1.6.1",
82
82
  "@types/ws": "8.5.5",
83
83
  "abort-controller": "3.0.0",
84
84
  "chalk": "4.1.2",
@@ -89,11 +89,11 @@
89
89
  },
90
90
  "devDependencies": {
91
91
  "@applitools/bongo": "^5.6.1",
92
- "@applitools/spec-driver-puppeteer": "^1.2.1",
93
- "@applitools/spec-driver-selenium": "^1.5.59",
92
+ "@applitools/spec-driver-puppeteer": "^1.2.2",
93
+ "@applitools/spec-driver-selenium": "^1.5.60",
94
94
  "@applitools/test-server": "^1.2.2",
95
95
  "@applitools/test-utils": "^1.5.17",
96
- "@applitools/tunnel-client": "^1.2.2",
96
+ "@applitools/tunnel-client": "^1.2.3",
97
97
  "@types/node": "^12.20.55",
98
98
  "@types/selenium-webdriver": "^4.1.2",
99
99
  "@types/yargs": "^17.0.22",