From ffb8b252a0a3c112c4d866208f8711f19d78b107 Mon Sep 17 00:00:00 2001 From: taiga-family-bot <140712314+taiga-family-bot@users.noreply.github.com> Date: Sun, 15 Dec 2024 20:24:57 +0300 Subject: [PATCH] chore: update dependency terser-webpack-plugin to v5.3.11 (#9985) Co-authored-by: taiga-family-bot --- package-lock.json | 77 +++---------------- .../utils/is-flaky-examples.ts | 13 +++- projects/demo/package.json | 2 +- 3 files changed, 23 insertions(+), 69 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8cbef458d63d..06ef049329e6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -34406,9 +34406,9 @@ "peer": true }, "node_modules/schema-utils": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.2.0.tgz", - "integrity": "sha512-L0jRsrPpjdckP3oPug3/VxNKt2trR8TcabrM6FOAAlvC/9Phcmm+cuAgTlxBqdBR1WJx7Naj9WHw+aOmheSVbw==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.3.0.tgz", + "integrity": "sha512-Gf9qqc58SpCA/xdziiHz35F4GNIWYWZrEshUc/G/r5BnLph6xpKuLeoJoQuj5WfBIx/eQLf+hmVPYHaxJu7V2g==", "dev": true, "license": "MIT", "dependencies": { @@ -34418,7 +34418,7 @@ "ajv-keywords": "^5.1.0" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 10.13.0" }, "funding": { "type": "opencollective", @@ -37167,17 +37167,17 @@ } }, "node_modules/terser-webpack-plugin": { - "version": "5.3.10", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.10.tgz", - "integrity": "sha512-BKFPWlPDndPs+NGGCr1U59t0XScL5317Y0UReNrHaw9/FwhPENlq6bfgs+4yPfyP51vqC1bQ4rp1EfXW5ZSH9w==", + "version": "5.3.11", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.11.tgz", + "integrity": "sha512-RVCsMfuD0+cTt3EwX8hSl2Ks56EbFHWmhluwcqoPKtBnfjiT6olaq7PRIRfhyU8nnC2MrnDrBLfrD/RGE+cVXQ==", "dev": true, "license": "MIT", "dependencies": { - "@jridgewell/trace-mapping": "^0.3.20", + "@jridgewell/trace-mapping": "^0.3.25", "jest-worker": "^27.4.5", - "schema-utils": "^3.1.1", - "serialize-javascript": "^6.0.1", - "terser": "^5.26.0" + "schema-utils": "^4.3.0", + "serialize-javascript": "^6.0.2", + "terser": "^5.31.1" }, "engines": { "node": ">= 10.13.0" @@ -37201,33 +37201,6 @@ } } }, - "node_modules/terser-webpack-plugin/node_modules/ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", - "dev": true, - "license": "MIT", - "dependencies": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/terser-webpack-plugin/node_modules/ajv-keywords": { - "version": "3.5.2", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", - "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", - "dev": true, - "license": "MIT", - "peerDependencies": { - "ajv": "^6.9.1" - } - }, "node_modules/terser-webpack-plugin/node_modules/commander": { "version": "2.20.3", "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", @@ -37250,32 +37223,6 @@ "node": ">= 10.13.0" } }, - "node_modules/terser-webpack-plugin/node_modules/json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true, - "license": "MIT" - }, - "node_modules/terser-webpack-plugin/node_modules/schema-utils": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.3.0.tgz", - "integrity": "sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/json-schema": "^7.0.8", - "ajv": "^6.12.5", - "ajv-keywords": "^3.5.2" - }, - "engines": { - "node": ">= 10.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - } - }, "node_modules/terser-webpack-plugin/node_modules/terser": { "version": "5.37.0", "resolved": "https://registry.npmjs.org/terser/-/terser-5.37.0.tgz", @@ -39913,7 +39860,7 @@ "date-fns": "4.1.0", "express": "4.21.2", "rxjs": "7.8.1", - "terser-webpack-plugin": "5.3.10" + "terser-webpack-plugin": "5.3.11" } }, "projects/demo-cypress": { diff --git a/projects/demo-playwright/utils/is-flaky-examples.ts b/projects/demo-playwright/utils/is-flaky-examples.ts index 4c3be2589784..2f7f0869f01b 100644 --- a/projects/demo-playwright/utils/is-flaky-examples.ts +++ b/projects/demo-playwright/utils/is-flaky-examples.ts @@ -5,18 +5,25 @@ const FLAKY_EXAMPLES = new Map< Array<{exampleIndex: number; browserName?: string}> >([ [DemoRoute.AppBar, [{exampleIndex: 0, browserName: 'webkit'}]], // Flaky in safari, need to investigate a problem - [DemoRoute.Carousel, [{exampleIndex: 2, browserName: 'webkit'}]], // Flaky in safari, need to investigate a problem + [DemoRoute.Breadcrumbs, [{exampleIndex: 1, browserName: 'webkit'}]], [ DemoRoute.Carousel, [ {exampleIndex: 0}, // [duration]="4000" + {exampleIndex: 2, browserName: 'webkit'}, {exampleIndex: 3}, // just button (to open dialog) ], ], [DemoRoute.IconsCustomization, [{exampleIndex: 0}]], // TODO: investigate flaky test [DemoRoute.LegendItem, [{exampleIndex: 0, browserName: 'webkit'}]], // Flaky in safari, need to investigate a problem [DemoRoute.MultiSelect, [{exampleIndex: 3}]], // Imitating server response (timer(5000)) - [DemoRoute.RingChart, [{exampleIndex: 0, browserName: 'webkit'}]], // Flaky in safari, need to investigate a problem + [ + DemoRoute.RingChart, + [ + {exampleIndex: 0, browserName: 'webkit'}, + {exampleIndex: 1, browserName: 'webkit'}, + ], + ], // Flaky in safari, need to investigate a problem [DemoRoute.Select, [{exampleIndex: 4}]], // Imitating server response (delay(3000)) [DemoRoute.Stepper, [{exampleIndex: 2}]], // TODO: flaky test for proprietary demo (autoscroll problems) [DemoRoute.TabBar, [{exampleIndex: 3}]], // Imitating server response (timer(3000)) @@ -38,7 +45,7 @@ export function tuiIsFlakyExample( ); if (excluded) { - console.info(`skip test for: ${path}[${exampleIndex}]`); + console.info(`skip test for: ${path}[${exampleIndex}]${browserName ?? ''}`); } return excluded; diff --git a/projects/demo/package.json b/projects/demo/package.json index 26bfc16db42b..fdd3bb313bb8 100644 --- a/projects/demo/package.json +++ b/projects/demo/package.json @@ -22,6 +22,6 @@ "date-fns": "4.1.0", "express": "4.21.2", "rxjs": "7.8.1", - "terser-webpack-plugin": "5.3.10" + "terser-webpack-plugin": "5.3.11" } }