@applitools/core 3.11.1 → 3.11.2

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,118 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.11.2](https://github.com/applitools/eyes.sdk.javascript1/compare/js/core@3.11.1...js/core@3.11.2) (2023-09-25)
4
+
5
+
6
+ ### Reverts
7
+
8
+ * perform major changes ([994cd70](https://github.com/applitools/eyes.sdk.javascript1/commit/994cd703ebe891bf68aecd49d77b5fb119f6ebe8))
9
+
10
+
11
+ ### Code Refactoring
12
+
13
+ * 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))
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-selenium bumped to 1.5.60
56
+
57
+ * @applitools/spec-driver-puppeteer bumped to 1.2.2
58
+ #### Code Refactoring
59
+
60
+ * 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))
61
+
62
+
63
+
64
+ * @applitools/screenshoter bumped to 3.8.12
65
+
66
+ * @applitools/nml-client bumped to 1.5.12
67
+ #### Code Refactoring
68
+
69
+ * 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))
70
+
71
+
72
+
73
+ * @applitools/spec-driver-webdriver bumped to 1.0.46
74
+
75
+ * @applitools/driver bumped to 1.14.2
76
+ #### Code Refactoring
77
+
78
+ * 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))
79
+
80
+
81
+
82
+ * @applitools/tunnel-client bumped to 1.2.3
83
+ #### Code Refactoring
84
+
85
+ * 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))
86
+
87
+
88
+
89
+ * @applitools/ufg-client bumped to 1.9.2
90
+ #### Code Refactoring
91
+
92
+ * 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))
93
+
94
+
95
+
96
+ * @applitools/ec-client bumped to 1.7.10
97
+ #### Code Refactoring
98
+
99
+ * 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))
100
+
101
+
102
+
103
+ * @applitools/core-base bumped to 1.6.1
104
+ #### Reverts
105
+
106
+ * perform major changes ([994cd70](https://github.com/applitools/eyes.sdk.javascript1/commit/994cd703ebe891bf68aecd49d77b5fb119f6ebe8))
107
+
108
+
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
+
3
116
  ## [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
117
 
5
118
 
@@ -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.2",
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.2",
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",