@applitools/ec-client 1.2.31 → 1.2.33

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 ADDED
@@ -0,0 +1,17 @@
1
+ # Changelog
2
+
3
+ ## [1.2.33](https://github.com/applitools/eyes.sdk.javascript1/compare/js/ec-client-v1.2.32...js/ec-client@1.2.33) (2023-06-13)
4
+
5
+
6
+ ### Dependencies
7
+
8
+ * update some dependencies
9
+ * The following workspace dependencies were updated
10
+ * dependencies
11
+ * @applitools/core-base bumped from 1.1.56 to 1.1.57
12
+ * @applitools/driver bumped from 1.12.1 to 1.12.2
13
+ * @applitools/logger bumped from 2.0.2 to 2.0.3
14
+ * @applitools/req bumped from 1.3.0 to 1.3.1
15
+ * @applitools/socket bumped from 1.1.1 to 1.1.2
16
+ * @applitools/spec-driver-webdriver bumped from 1.0.33 to 1.0.34
17
+ * @applitools/utils bumped from 1.3.37 to 1.4.0
package/dist/cli/cli.js CHANGED
File without changes
package/dist/req-proxy.js CHANGED
@@ -44,7 +44,7 @@ function makeReqProxy(config) {
44
44
  (_d = options.body) !== null && _d !== void 0 ? _d : (options.body = utils.streams.persist(options.io.request));
45
45
  }
46
46
  if (options.body && !utils.types.isFunction(options.body, 'pipe')) {
47
- options.headers['content-length'] = Buffer.byteLength(utils.types.isArray(options.body) || utils.types.isPlainObject(options.body)
47
+ options.headers['content-length'] = Buffer.byteLength(utils.types.isArray(options.body) || utils.types.isPlainObject(options.body) || options.body === null
48
48
  ? JSON.stringify(options.body)
49
49
  : options.body).toString();
50
50
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/ec-client",
3
- "version": "1.2.31",
3
+ "version": "1.2.33",
4
4
  "homepage": "https://applitools.com",
5
5
  "bugs": {
6
6
  "url": "https://github.com/applitools/eyes.sdk.javascript1/issues"
@@ -15,12 +15,6 @@
15
15
  "name": "Applitools Team",
16
16
  "email": "team@applitools.com"
17
17
  },
18
- "aliases": [
19
- "ec-client",
20
- "ecc",
21
- "eg-client",
22
- "egc"
23
- ],
24
18
  "exports": {
25
19
  ".": {
26
20
  "types": "./types/index.d.ts",
@@ -51,33 +45,27 @@
51
45
  "types"
52
46
  ],
53
47
  "scripts": {
54
- "lint": "node ../../node_modules/.bin/eslint '**/*.ts'",
55
- "build": "node ../../node_modules/.bin/tsc --project ./tsconfig.build.json",
56
- "test": "node ../../node_modules/.bin/mocha './test/**/*.spec.ts' --parallel --jobs ${MOCHA_JOBS:-15}",
57
- "test:e2e": "MOCHA_GROUP=e2e node ../../node_modules/.bin/mocha './test/e2e/*.spec.ts'",
58
- "test:it": "MOCHA_GROUP=it node ../../node_modules/.bin/mocha './test/it/*.spec.ts'",
59
- "test:sanity": "yarn test",
60
- "deps": "bongo deps",
61
- "preversion": "bongo preversion",
62
- "version": "bongo version",
63
- "postversion": "bongo postversion"
48
+ "lint": "run --top-level eslint '**/*.ts'",
49
+ "build": "run --top-level tsc --project ./tsconfig.build.json",
50
+ "test": "run --top-level mocha './test/**/*.spec.ts' --parallel --jobs ${MOCHA_JOBS:-15}",
51
+ "test:e2e": "MOCHA_GROUP=e2e run --top-level mocha './test/e2e/*.spec.ts'",
52
+ "test:it": "MOCHA_GROUP=it run --top-level mocha './test/it/*.spec.ts'"
64
53
  },
65
54
  "dependencies": {
66
- "@applitools/core-base": "1.1.55",
67
- "@applitools/driver": "1.12.0",
55
+ "@applitools/core-base": "1.1.57",
56
+ "@applitools/driver": "1.12.2",
68
57
  "@applitools/execution-grid-tunnel": "2.1.0",
69
- "@applitools/logger": "2.0.1",
70
- "@applitools/req": "1.3.0",
71
- "@applitools/socket": "1.1.0",
72
- "@applitools/spec-driver-webdriver": "1.0.32",
73
- "@applitools/utils": "1.3.37",
58
+ "@applitools/logger": "2.0.3",
59
+ "@applitools/req": "1.3.1",
60
+ "@applitools/socket": "1.1.2",
61
+ "@applitools/spec-driver-webdriver": "1.0.34",
62
+ "@applitools/utils": "1.4.0",
74
63
  "abort-controller": "3.0.0",
75
64
  "webdriver": "7",
76
- "yargs": "17.6.2"
65
+ "yargs": "^17.7.2"
77
66
  },
78
67
  "devDependencies": {
79
- "@applitools/bongo": "^3.0.4",
80
- "@applitools/test-server": "^1.2.1",
68
+ "@applitools/test-server": "^1.2.2",
81
69
  "@applitools/test-utils": "^1.5.17",
82
70
  "@types/node": "^12.20.55",
83
71
  "@types/node-fetch": "^2.6.1",
@@ -89,4 +77,4 @@
89
77
  "engines": {
90
78
  "node": ">=12.13.0"
91
79
  }
92
- }
80
+ }