@applitools/eyes-storybook 3.45.7 → 3.46.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,74 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.46.0](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-storybook-v3.45.8...js/eyes-storybook@3.46.0) (2024-02-13)
4
+
5
+
6
+ ### Features
7
+
8
+ * add support for passing a DOM mapping file to deobfuscate RCA ([8c99f8d](https://github.com/applitools/eyes.sdk.javascript1/commit/8c99f8da53ded229306fe2f3da89cb3b5691e2c0))
9
+ * added notification about outdated sdk version ([#2012](https://github.com/applitools/eyes.sdk.javascript1/issues/2012)) ([0f0a646](https://github.com/applitools/eyes.sdk.javascript1/commit/0f0a6462a56e7c97f9a22173c3b63af91e220adb))
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * add .cmd for storybook binary for windows for local binaries ([#1964](https://github.com/applitools/eyes.sdk.javascript1/issues/1964)) ([b6ee7d9](https://github.com/applitools/eyes.sdk.javascript1/commit/b6ee7d90d13a85f4ccc999cdcbaedb868d94b307))
15
+ * bump ([756e2d6](https://github.com/applitools/eyes.sdk.javascript1/commit/756e2d6899b58dfa69001d70133230447b4794d3))
16
+ * docs for eyes setup and concurrency message output ([#1953](https://github.com/applitools/eyes.sdk.javascript1/issues/1953)) ([13704da](https://github.com/applitools/eyes.sdk.javascript1/commit/13704dac39fa899c5e8bdb268539cd46aee5ccfb))
17
+ * lodash.pick vulnerability ([#2169](https://github.com/applitools/eyes.sdk.javascript1/issues/2169)) ([7354088](https://github.com/applitools/eyes.sdk.javascript1/commit/735408874e4917f5e9b086e1796f84101fd1f304))
18
+ * update timeout when rendering stories with variants and legacy ([00b8499](https://github.com/applitools/eyes.sdk.javascript1/commit/00b8499716827518fe24abe5031ef950f0254119))
19
+
20
+
21
+ ### Code Refactoring
22
+
23
+ * disallow usage of global Buffer ([#1957](https://github.com/applitools/eyes.sdk.javascript1/issues/1957)) ([adcc082](https://github.com/applitools/eyes.sdk.javascript1/commit/adcc082f20f6b92e819b96424e995d9a69d99758))
24
+ * fix safe selector generation ([#2072](https://github.com/applitools/eyes.sdk.javascript1/issues/2072)) ([373f11b](https://github.com/applitools/eyes.sdk.javascript1/commit/373f11b0dfea6eab417eb7077e0cfec79877dc1b))
25
+
26
+
27
+ ### Dependencies
28
+
29
+ * @applitools/dom-snapshot bumped to 4.7.17
30
+ #### Bug Fixes
31
+
32
+ * throw error for encoding none unicode char ([#2171](https://github.com/applitools/eyes.sdk.javascript1/issues/2171)) ([4edb9cf](https://github.com/applitools/eyes.sdk.javascript1/commit/4edb9cfb27d8db2ff4cb09c8ebf1b95ab020633d))
33
+ * @applitools/spec-driver-webdriver bumped to 1.0.57
34
+ #### Bug Fixes
35
+
36
+ * fixed issue with cdp commands on chromium browsers ([#2180](https://github.com/applitools/eyes.sdk.javascript1/issues/2180)) ([550fc77](https://github.com/applitools/eyes.sdk.javascript1/commit/550fc772d3988aae29e6f4a1a11d2a408072dc38))
37
+ * @applitools/spec-driver-puppeteer bumped to 1.4.0
38
+ #### Features
39
+
40
+ * added support for puppeteer >= 22 ([#2185](https://github.com/applitools/eyes.sdk.javascript1/issues/2185)) ([59d23a9](https://github.com/applitools/eyes.sdk.javascript1/commit/59d23a9689d77c7db06df53b67fa293a3b3f166e))
41
+ * @applitools/nml-client bumped to 1.7.0
42
+ #### Features
43
+
44
+ * add support for regions and calculated regions ([#2161](https://github.com/applitools/eyes.sdk.javascript1/issues/2161)) ([fea4b1f](https://github.com/applitools/eyes.sdk.javascript1/commit/fea4b1fca3d8f59eada2b5186cd32d47352ccf1a))
45
+
46
+
47
+ #### Bug Fixes
48
+
49
+ * missing viewport when using system screenshot and multi viewport ([#2173](https://github.com/applitools/eyes.sdk.javascript1/issues/2173)) ([411283c](https://github.com/applitools/eyes.sdk.javascript1/commit/411283c7bebc09f178d73b6b47e81e5ce4244d5e))
50
+
51
+
52
+
53
+ * @applitools/screenshoter bumped to 3.8.23
54
+
55
+ * @applitools/ec-client bumped to 1.7.25
56
+
57
+ * @applitools/core bumped to 4.8.0
58
+ #### Features
59
+
60
+ * add support for regions and calculated regions ([#2161](https://github.com/applitools/eyes.sdk.javascript1/issues/2161)) ([fea4b1f](https://github.com/applitools/eyes.sdk.javascript1/commit/fea4b1fca3d8f59eada2b5186cd32d47352ccf1a))
61
+
62
+
63
+ #### Bug Fixes
64
+
65
+ * missing viewport when using system screenshot and multi viewport ([#2173](https://github.com/applitools/eyes.sdk.javascript1/issues/2173)) ([411283c](https://github.com/applitools/eyes.sdk.javascript1/commit/411283c7bebc09f178d73b6b47e81e5ce4244d5e))
66
+ * nml coded region integration with universal ([6fb0934](https://github.com/applitools/eyes.sdk.javascript1/commit/6fb09348238dfe4698856f88e762a9abf80c686f))
67
+ * throw error for encoding none unicode char ([#2171](https://github.com/applitools/eyes.sdk.javascript1/issues/2171)) ([4edb9cf](https://github.com/applitools/eyes.sdk.javascript1/commit/4edb9cfb27d8db2ff4cb09c8ebf1b95ab020633d))
68
+
69
+
70
+
71
+
3
72
  ## [3.45.7](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-storybook@3.45.6...js/eyes-storybook@3.45.7) (2024-01-30)
4
73
 
5
74
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes-storybook",
3
- "version": "3.45.7",
3
+ "version": "3.46.0",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "applitools",
@@ -55,19 +55,18 @@
55
55
  "up:framework": "yarn add --dev --caret @storybook/react${APPLITOOLS_FRAMEWORK_VERSION:+@$APPLITOOLS_FRAMEWORK_VERSION}"
56
56
  },
57
57
  "dependencies": {
58
- "@applitools/core": "4.7.0",
58
+ "@applitools/core": "4.8.0",
59
59
  "@applitools/driver": "1.16.2",
60
60
  "@applitools/functional-commons": "1.6.0",
61
61
  "@applitools/logger": "2.0.14",
62
62
  "@applitools/monitoring-commons": "1.0.19",
63
- "@applitools/spec-driver-puppeteer": "1.3.5",
63
+ "@applitools/spec-driver-puppeteer": "1.4.0",
64
64
  "@applitools/ufg-client": "1.9.9",
65
65
  "@applitools/utils": "1.7.0",
66
66
  "boxen": "4.2.0",
67
67
  "chalk": "3.0.0",
68
68
  "detect-port": "1.3.0",
69
- "lodash.flatten": "4.4.0",
70
- "lodash.pick": "4.4.0",
69
+ "lodash": "4.17.21",
71
70
  "ora": "3.4.0",
72
71
  "puppeteer": "20.9.0",
73
72
  "strip-ansi": "6.0.0",
@@ -75,7 +74,7 @@
75
74
  "yargs": "17.7.2"
76
75
  },
77
76
  "devDependencies": {
78
- "@applitools/bongo": "^5.9.0",
77
+ "@applitools/bongo": "^5.10.0",
79
78
  "@applitools/sdk-shared": "0.9.15",
80
79
  "@applitools/snaptdout": "^1.0.1",
81
80
  "@applitools/test-server": "^1.2.2",
@@ -1,5 +1,5 @@
1
1
  'use strict';
2
- const pick = require('lodash.pick');
2
+ const lodash = require('lodash');
3
3
  const utils = require('@applitools/utils');
4
4
  const {resolve} = require('path');
5
5
  const {deprecationWarning} = require('./errMessages');
@@ -11,7 +11,7 @@ function generateConfig({argv = {}, defaultConfig = {}, externalConfigParams = [
11
11
  const configPaths = argv.conf ? [resolve(process.cwd(), argv.conf)] : undefined;
12
12
  const configParams = uniq(defaultConfigParams.concat(externalConfigParams));
13
13
  const config = utils.config.getConfig({paths: configPaths, params: configParams});
14
- const argvConfig = pick(argv, configParams);
14
+ const argvConfig = lodash.pick(argv, configParams);
15
15
  const result = Object.assign({}, defaultConfig, config, argvConfig);
16
16
 
17
17
  // backward compatibility
@@ -1,5 +1,5 @@
1
1
  'use strict';
2
- const flatten = require('lodash.flatten');
2
+ const lodash = require('lodash');
3
3
  const chalk = require('chalk');
4
4
  const utils = require('@applitools/utils');
5
5
  const uniq = require('./uniq');
@@ -14,7 +14,7 @@ function processResults({
14
14
  }) {
15
15
  let outputStr = '\n';
16
16
  const pluralize = utils.general.pluralize;
17
- const flattenedTestResults = flatten(results.summary.results);
17
+ const flattenedTestResults = lodash.flatten(results.summary.results);
18
18
  const testResults = flattenedTestResults.filter(r => r && r.result);
19
19
  const testResultsWithErrors = flattenedTestResults.filter(r => r && r.error);
20
20
  const unresolved = testResults.filter(r => r.result.isDifferent && !r.result.isAborted);