From b053ae03d785f9663ef378f2fbc8d55c4f55328d Mon Sep 17 00:00:00 2001 From: GCHQ-Developer-847 <111882109+GCHQ-Developer-847@users.noreply.github.com> Date: Thu, 12 Dec 2024 14:19:40 +0000 Subject: [PATCH 1/6] fix(canary-web-components): set horizontal card image size directly on image to fix Safari issue Set horizontal card image size directly on image to fix issue in Safari where image was being displayed smaller than it should. Add audit fixes. --- .../canary-web-components/package-lock.json | 59 ++++++++----------- .../ic-card-horizontal/ic-card-horizontal.css | 5 +- 2 files changed, 28 insertions(+), 36 deletions(-) diff --git a/packages/canary-web-components/package-lock.json b/packages/canary-web-components/package-lock.json index f781d705e9..e30c337643 100644 --- a/packages/canary-web-components/package-lock.json +++ b/packages/canary-web-components/package-lock.json @@ -10,8 +10,7 @@ "license": "MIT", "dependencies": { "@popperjs/core": "^2.11.2", - "@stencil/core": "^4.9.0", - "@ukic/web-components": "^2.31.0" + "@stencil/core": "^4.9.0" }, "devDependencies": { "@babel/core": "^7.16.0", @@ -8855,19 +8854,6 @@ "integrity": "sha512-sJ7wFvCWb/+dnuyGr3x3Nj4gSawEQYwTrMAjJJcCHlKPm4QL2HVpdmhsX4NybwrhVD7a3wofzCVHJ271k+VlfA==", "peer": true }, - "node_modules/@ukic/web-components": { - "version": "2.30.0", - "resolved": "https://registry.npmjs.org/@ukic/web-components/-/web-components-2.30.0.tgz", - "integrity": "sha512-/+8PVEu0DtRpsjM6hv6ImY7CHZbI+BwIF/FgCk1ZUGRHPdCGEMCCWKpbvuUxh9ZKjTQ+cbIk09TIicSJ4y3ZOw==", - "license": "MIT", - "dependencies": { - "@popperjs/core": "^2.11.2", - "@stencil/core": "^4.9.0" - }, - "peerDependencies": { - "@ukic/fonts": "^2.6.0" - } - }, "node_modules/@webassemblyjs/ast": { "version": "1.12.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.12.1.tgz", @@ -11065,9 +11051,9 @@ } }, "node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "dev": true, "dependencies": { "path-key": "^3.1.0", @@ -12350,11 +12336,10 @@ } }, "node_modules/express": { - "version": "4.21.1", - "resolved": "https://registry.npmjs.org/express/-/express-4.21.1.tgz", - "integrity": "sha512-YSFlK1Ee0/GC8QaO91tHcDxJiE/X4FbpAyQWkxAvG6AXCuR65YzK8ua6D9hvi/TzUfZMpc+BwuM1IPw8fmQBiQ==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.21.2.tgz", + "integrity": "sha512-28HqgMZAmih1Czt9ny7qr6ek2qddF4FclbMzwhCREB6OFfH+rXAnuNCwo1/wFvrtbgsQDb4kSbX9de9lFbrXnA==", "dev": true, - "license": "MIT", "dependencies": { "accepts": "~1.3.8", "array-flatten": "1.1.1", @@ -12375,7 +12360,7 @@ "methods": "~1.1.2", "on-finished": "2.4.1", "parseurl": "~1.3.3", - "path-to-regexp": "0.1.10", + "path-to-regexp": "0.1.12", "proxy-addr": "~2.0.7", "qs": "6.13.0", "range-parser": "~1.2.1", @@ -12390,6 +12375,10 @@ }, "engines": { "node": ">= 0.10.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" } }, "node_modules/express/node_modules/debug": { @@ -18652,9 +18641,9 @@ "dev": true }, "node_modules/nanoid": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", - "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", + "version": "3.3.8", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz", + "integrity": "sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==", "dev": true, "funding": [ { @@ -18932,9 +18921,9 @@ } }, "node_modules/npm-run-all/node_modules/cross-spawn": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", - "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", + "version": "6.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.6.tgz", + "integrity": "sha512-VqCUuhcd1iB+dsv8gxPttb5iZh/D0iubSP21g36KXdEuf6I5JiioesUVjpCdHV9MZRUfVFlvwtIUyPfxo5trtw==", "dev": true, "dependencies": { "nice-try": "^1.0.4", @@ -19733,9 +19722,9 @@ } }, "node_modules/path-to-regexp": { - "version": "0.1.10", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.10.tgz", - "integrity": "sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==", + "version": "0.1.12", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.12.tgz", + "integrity": "sha512-RA1GjUVMnvYFxuqovrEqZoxxW5NUZqbwKtYz/Tt7nXerk0LbLblQmrsgdeOxV5SFHf0UDggjS/bSeOZwt1pmEQ==", "dev": true }, "node_modules/path-type": { @@ -22115,9 +22104,9 @@ } }, "node_modules/sane/node_modules/cross-spawn": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", - "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", + "version": "6.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.6.tgz", + "integrity": "sha512-VqCUuhcd1iB+dsv8gxPttb5iZh/D0iubSP21g36KXdEuf6I5JiioesUVjpCdHV9MZRUfVFlvwtIUyPfxo5trtw==", "dev": true, "dependencies": { "nice-try": "^1.0.4", diff --git a/packages/canary-web-components/src/components/ic-card-horizontal/ic-card-horizontal.css b/packages/canary-web-components/src/components/ic-card-horizontal/ic-card-horizontal.css index 2159128154..9cddd15917 100644 --- a/packages/canary-web-components/src/components/ic-card-horizontal/ic-card-horizontal.css +++ b/packages/canary-web-components/src/components/ic-card-horizontal/ic-card-horizontal.css @@ -136,9 +136,12 @@ button { .image { display: flex; + border-radius: var(--ic-border-radius); +} + +.image ::slotted([slot="image"]) { height: var(--image-size); width: var(--image-size); - border-radius: var(--ic-border-radius); } .card-content { From 35c2a6386c2b88d4c13c6d9c179ce31df6e4e5e0 Mon Sep 17 00:00:00 2001 From: GCHQ-Developer-847 <111882109+GCHQ-Developer-847@users.noreply.github.com> Date: Thu, 12 Dec 2024 14:42:49 +0000 Subject: [PATCH 2/6] build(canary-react): audit fix Audit fix. --- packages/canary-react/package-lock.json | 95 +++++++------------------ 1 file changed, 27 insertions(+), 68 deletions(-) diff --git a/packages/canary-react/package-lock.json b/packages/canary-react/package-lock.json index d6beccd4bf..c79778dc9d 100644 --- a/packages/canary-react/package-lock.json +++ b/packages/canary-react/package-lock.json @@ -8,11 +8,6 @@ "name": "@ukic/canary-react", "version": "2.0.0-canary.29", "license": "MIT", - "dependencies": { - "@ukic/canary-web-components": "^2.0.0-canary.29", - "@ukic/react": "^2.31.0", - "@ukic/web-components": "^2.31.0" - }, "devDependencies": { "@babel/core": "^7.16.0", "@babel/preset-env": "^7.23.9", @@ -4252,16 +4247,6 @@ "node": ">= 8" } }, - "node_modules/@popperjs/core": { - "version": "2.11.8", - "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz", - "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==", - "license": "MIT", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/popperjs" - } - }, "node_modules/@radix-ui/number": { "version": "1.0.1", "dev": true, @@ -4949,7 +4934,9 @@ }, "node_modules/@stencil/core": { "version": "4.11.0", + "dev": true, "license": "MIT", + "peer": true, "bin": { "stencil": "bin/stencil" }, @@ -8060,52 +8047,11 @@ "@types/node": "*" } }, - "node_modules/@ukic/canary-web-components": { - "version": "2.0.0-canary.28", - "resolved": "https://registry.npmjs.org/@ukic/canary-web-components/-/canary-web-components-2.0.0-canary.28.tgz", - "integrity": "sha512-6mjijdTfFc1qYmrn7wwTHQTt0/ZgNoX1j+7dWcVP1FXdzCGRILZMMprpgsBf8IS3F2XtYE1YoTeGwAKwQheH4g==", - "license": "MIT", - "dependencies": { - "@popperjs/core": "^2.11.2", - "@stencil/core": "^4.9.0", - "@ukic/web-components": "^2.30.0" - }, - "peerDependencies": { - "@ukic/fonts": "^2.3.0" - } - }, "node_modules/@ukic/fonts": { "version": "2.6.0", "license": "MIT", "peer": true }, - "node_modules/@ukic/react": { - "version": "2.30.0", - "resolved": "https://registry.npmjs.org/@ukic/react/-/react-2.30.0.tgz", - "integrity": "sha512-GhzV6KGi/cpY7lV7syy/N9UYHuJCST0yvf2EJl6n0RAhqvjTxeyNvvQ/8Jlb//HMlb8h42MWX6dBgRV/ARVNFg==", - "license": "MIT", - "dependencies": { - "@ukic/web-components": "^2.30.0" - }, - "peerDependencies": { - "@ukic/fonts": "^2.6.0", - "react": "^16.7.0 || ^17.0.2 || ^18.2.0", - "react-dom": "^16.7.0 || ^17.0.2 || ^18.2.0" - } - }, - "node_modules/@ukic/web-components": { - "version": "2.30.0", - "resolved": "https://registry.npmjs.org/@ukic/web-components/-/web-components-2.30.0.tgz", - "integrity": "sha512-/+8PVEu0DtRpsjM6hv6ImY7CHZbI+BwIF/FgCk1ZUGRHPdCGEMCCWKpbvuUxh9ZKjTQ+cbIk09TIicSJ4y3ZOw==", - "license": "MIT", - "dependencies": { - "@popperjs/core": "^2.11.2", - "@stencil/core": "^4.9.0" - }, - "peerDependencies": { - "@ukic/fonts": "^2.6.0" - } - }, "node_modules/@webassemblyjs/ast": { "version": "1.12.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.12.1.tgz", @@ -9703,9 +9649,10 @@ } }, "node_modules/cross-spawn": { - "version": "7.0.3", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "dev": true, - "license": "MIT", "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", @@ -11174,11 +11121,10 @@ } }, "node_modules/express": { - "version": "4.21.1", - "resolved": "https://registry.npmjs.org/express/-/express-4.21.1.tgz", - "integrity": "sha512-YSFlK1Ee0/GC8QaO91tHcDxJiE/X4FbpAyQWkxAvG6AXCuR65YzK8ua6D9hvi/TzUfZMpc+BwuM1IPw8fmQBiQ==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.21.2.tgz", + "integrity": "sha512-28HqgMZAmih1Czt9ny7qr6ek2qddF4FclbMzwhCREB6OFfH+rXAnuNCwo1/wFvrtbgsQDb4kSbX9de9lFbrXnA==", "dev": true, - "license": "MIT", "dependencies": { "accepts": "~1.3.8", "array-flatten": "1.1.1", @@ -11199,7 +11145,7 @@ "methods": "~1.1.2", "on-finished": "2.4.1", "parseurl": "~1.3.3", - "path-to-regexp": "0.1.10", + "path-to-regexp": "0.1.12", "proxy-addr": "~2.0.7", "qs": "6.13.0", "range-parser": "~1.2.1", @@ -11214,6 +11160,10 @@ }, "engines": { "node": ">= 0.10.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" } }, "node_modules/express/node_modules/debug": { @@ -16002,6 +15952,7 @@ }, "node_modules/loose-envify": { "version": "1.4.0", + "dev": true, "license": "MIT", "dependencies": { "js-tokens": "^3.0.0 || ^4.0.0" @@ -16012,6 +15963,7 @@ }, "node_modules/loose-envify/node_modules/js-tokens": { "version": "4.0.0", + "dev": true, "license": "MIT" }, "node_modules/lowercase-keys": { @@ -17882,7 +17834,9 @@ "license": "MIT" }, "node_modules/nanoid": { - "version": "3.3.7", + "version": "3.3.8", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz", + "integrity": "sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==", "dev": true, "funding": [ { @@ -17890,7 +17844,6 @@ "url": "https://github.com/sponsors/ai" } ], - "license": "MIT", "bin": { "nanoid": "bin/nanoid.cjs" }, @@ -18310,6 +18263,7 @@ }, "node_modules/object-assign": { "version": "4.1.1", + "dev": true, "license": "MIT", "engines": { "node": ">=0.10.0" @@ -19024,9 +18978,9 @@ } }, "node_modules/path-to-regexp": { - "version": "0.1.10", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.10.tgz", - "integrity": "sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==", + "version": "0.1.12", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.12.tgz", + "integrity": "sha512-RA1GjUVMnvYFxuqovrEqZoxxW5NUZqbwKtYz/Tt7nXerk0LbLblQmrsgdeOxV5SFHf0UDggjS/bSeOZwt1pmEQ==", "dev": true }, "node_modules/path-type": { @@ -19468,6 +19422,7 @@ }, "node_modules/prop-types": { "version": "15.8.1", + "dev": true, "license": "MIT", "dependencies": { "loose-envify": "^1.4.0", @@ -19477,6 +19432,7 @@ }, "node_modules/prop-types/node_modules/react-is": { "version": "16.13.1", + "dev": true, "license": "MIT" }, "node_modules/proxy-addr": { @@ -19695,6 +19651,7 @@ }, "node_modules/react": { "version": "16.14.0", + "dev": true, "license": "MIT", "dependencies": { "loose-envify": "^1.1.0", @@ -19749,6 +19706,7 @@ }, "node_modules/react-dom": { "version": "16.14.0", + "dev": true, "license": "MIT", "dependencies": { "loose-envify": "^1.1.0", @@ -21636,6 +21594,7 @@ }, "node_modules/scheduler": { "version": "0.19.1", + "dev": true, "license": "MIT", "dependencies": { "loose-envify": "^1.1.0", From d773cb5412f271a63404ab7492ee52bdb3570dec Mon Sep 17 00:00:00 2001 From: GCHQ-Developer-847 <111882109+GCHQ-Developer-847@users.noreply.github.com> Date: Thu, 12 Dec 2024 14:43:23 +0000 Subject: [PATCH 3/6] build(fonts): audit fix Audit fix. --- packages/fonts/package-lock.json | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/packages/fonts/package-lock.json b/packages/fonts/package-lock.json index 546bfbd075..5f536a3444 100644 --- a/packages/fonts/package-lock.json +++ b/packages/fonts/package-lock.json @@ -478,9 +478,9 @@ "dev": true }, "node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "dev": true, "dependencies": { "path-key": "^3.1.0", @@ -894,9 +894,9 @@ } }, "node_modules/nanoid": { - "version": "3.3.6", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz", - "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==", + "version": "3.3.8", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz", + "integrity": "sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==", "dev": true, "funding": [ { @@ -2083,9 +2083,9 @@ "dev": true }, "cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "dev": true, "requires": { "path-key": "^3.1.0", @@ -2386,9 +2386,9 @@ } }, "nanoid": { - "version": "3.3.6", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz", - "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==", + "version": "3.3.8", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz", + "integrity": "sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==", "dev": true }, "neo-async": { From ef792c624129d299f13d3fa26bb0a0d4eba6ca33 Mon Sep 17 00:00:00 2001 From: GCHQ-Developer-847 <111882109+GCHQ-Developer-847@users.noreply.github.com> Date: Thu, 12 Dec 2024 14:43:45 +0000 Subject: [PATCH 4/6] build(nextjs): audit fix Audit fix. --- packages/nextjs/package-lock.json | 70 ++++++++----------------------- 1 file changed, 18 insertions(+), 52 deletions(-) diff --git a/packages/nextjs/package-lock.json b/packages/nextjs/package-lock.json index 034a7ff9ce..dc5aac60ff 100644 --- a/packages/nextjs/package-lock.json +++ b/packages/nextjs/package-lock.json @@ -10,8 +10,7 @@ "license": "MIT", "dependencies": { "@storybook/addon-a11y": "^7.6.17", - "@storybook/addon-postcss": "^2.0.0", - "@ukic/web-components": "^2.31.0" + "@storybook/addon-postcss": "^2.0.0" }, "devDependencies": { "@babel/core": "^7.23.2", @@ -2918,16 +2917,6 @@ "node": ">=12" } }, - "node_modules/@popperjs/core": { - "version": "2.11.8", - "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz", - "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==", - "license": "MIT", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/popperjs" - } - }, "node_modules/@radix-ui/number": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/@radix-ui/number/-/number-1.0.1.tgz", @@ -3638,19 +3627,6 @@ "url": "https://github.com/sindresorhus/is?sponsor=1" } }, - "node_modules/@stencil/core": { - "version": "4.21.0", - "resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.21.0.tgz", - "integrity": "sha512-v50lnVbzS8mpMSnEVxR+G75XpvxHKtkJaQrNPE8+/fF6Ppr5z4bcdcBhcP8LPfEW+4BZcic6VifMXRwTopc+kw==", - "license": "MIT", - "bin": { - "stencil": "bin/stencil" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.10.0" - } - }, "node_modules/@storybook/addon-a11y": { "version": "7.6.17", "resolved": "https://registry.npmjs.org/@storybook/addon-a11y/-/addon-a11y-7.6.17.tgz", @@ -6689,19 +6665,6 @@ "integrity": "sha512-sJ7wFvCWb/+dnuyGr3x3Nj4gSawEQYwTrMAjJJcCHlKPm4QL2HVpdmhsX4NybwrhVD7a3wofzCVHJ271k+VlfA==", "peer": true }, - "node_modules/@ukic/web-components": { - "version": "2.30.0", - "resolved": "https://registry.npmjs.org/@ukic/web-components/-/web-components-2.30.0.tgz", - "integrity": "sha512-/+8PVEu0DtRpsjM6hv6ImY7CHZbI+BwIF/FgCk1ZUGRHPdCGEMCCWKpbvuUxh9ZKjTQ+cbIk09TIicSJ4y3ZOw==", - "license": "MIT", - "dependencies": { - "@popperjs/core": "^2.11.2", - "@stencil/core": "^4.9.0" - }, - "peerDependencies": { - "@ukic/fonts": "^2.6.0" - } - }, "node_modules/@vitest/expect": { "version": "0.34.7", "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-0.34.7.tgz", @@ -9059,9 +9022,9 @@ "dev": true }, "node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "dev": true, "dependencies": { "path-key": "^3.1.0", @@ -10296,11 +10259,10 @@ } }, "node_modules/express": { - "version": "4.21.1", - "resolved": "https://registry.npmjs.org/express/-/express-4.21.1.tgz", - "integrity": "sha512-YSFlK1Ee0/GC8QaO91tHcDxJiE/X4FbpAyQWkxAvG6AXCuR65YzK8ua6D9hvi/TzUfZMpc+BwuM1IPw8fmQBiQ==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.21.2.tgz", + "integrity": "sha512-28HqgMZAmih1Czt9ny7qr6ek2qddF4FclbMzwhCREB6OFfH+rXAnuNCwo1/wFvrtbgsQDb4kSbX9de9lFbrXnA==", "dev": true, - "license": "MIT", "dependencies": { "accepts": "~1.3.8", "array-flatten": "1.1.1", @@ -10321,7 +10283,7 @@ "methods": "~1.1.2", "on-finished": "2.4.1", "parseurl": "~1.3.3", - "path-to-regexp": "0.1.10", + "path-to-regexp": "0.1.12", "proxy-addr": "~2.0.7", "qs": "6.13.0", "range-parser": "~1.2.1", @@ -10336,6 +10298,10 @@ }, "engines": { "node": ">= 0.10.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" } }, "node_modules/express/node_modules/debug": { @@ -14303,9 +14269,9 @@ "dev": true }, "node_modules/nanoid": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", - "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", + "version": "3.3.8", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz", + "integrity": "sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==", "dev": true, "funding": [ { @@ -16056,9 +16022,9 @@ } }, "node_modules/path-to-regexp": { - "version": "0.1.10", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.10.tgz", - "integrity": "sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==", + "version": "0.1.12", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.12.tgz", + "integrity": "sha512-RA1GjUVMnvYFxuqovrEqZoxxW5NUZqbwKtYz/Tt7nXerk0LbLblQmrsgdeOxV5SFHf0UDggjS/bSeOZwt1pmEQ==", "dev": true }, "node_modules/path-type": { From b2922f68390d477054a668b3ff88da826d006437 Mon Sep 17 00:00:00 2001 From: GCHQ-Developer-847 <111882109+GCHQ-Developer-847@users.noreply.github.com> Date: Thu, 12 Dec 2024 14:44:09 +0000 Subject: [PATCH 5/6] build(react): audit fix Audit fix. --- packages/react/package-lock.json | 62 ++++++++++++-------------------- 1 file changed, 22 insertions(+), 40 deletions(-) diff --git a/packages/react/package-lock.json b/packages/react/package-lock.json index 93701f02cd..a7c6c81880 100644 --- a/packages/react/package-lock.json +++ b/packages/react/package-lock.json @@ -8,9 +8,6 @@ "name": "@ukic/react", "version": "2.31.0", "license": "MIT", - "dependencies": { - "@ukic/web-components": "^2.31.0" - }, "devDependencies": { "@babel/core": "^7.23.2", "@babel/preset-env": "^7.23.2", @@ -3233,15 +3230,6 @@ "node": ">= 8" } }, - "node_modules/@popperjs/core": { - "version": "2.11.8", - "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz", - "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/popperjs" - } - }, "node_modules/@puppeteer/browsers": { "version": "1.4.6", "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-1.4.6.tgz", @@ -4191,7 +4179,9 @@ }, "node_modules/@stencil/core": { "version": "4.10.0", + "dev": true, "license": "MIT", + "peer": true, "bin": { "stencil": "bin/stencil" }, @@ -8107,19 +8097,6 @@ "license": "MIT", "peer": true }, - "node_modules/@ukic/web-components": { - "version": "2.29.1", - "resolved": "https://registry.npmjs.org/@ukic/web-components/-/web-components-2.29.1.tgz", - "integrity": "sha512-XkBuDOvxHniY0TnW4TK8zaNR+qkvF5DbMalqC1XfvNj5iFynyIpeWHI/M2+59gH/hsffhQI5Xnutn9GkSIfYfA==", - "license": "MIT", - "dependencies": { - "@popperjs/core": "^2.11.2", - "@stencil/core": "^4.9.0" - }, - "peerDependencies": { - "@ukic/fonts": "^2.6.0" - } - }, "node_modules/@ungap/structured-clone": { "version": "1.2.0", "dev": true, @@ -10300,9 +10277,10 @@ } }, "node_modules/cross-spawn": { - "version": "7.0.3", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "dev": true, - "license": "MIT", "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", @@ -12292,11 +12270,10 @@ } }, "node_modules/express": { - "version": "4.21.1", - "resolved": "https://registry.npmjs.org/express/-/express-4.21.1.tgz", - "integrity": "sha512-YSFlK1Ee0/GC8QaO91tHcDxJiE/X4FbpAyQWkxAvG6AXCuR65YzK8ua6D9hvi/TzUfZMpc+BwuM1IPw8fmQBiQ==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.21.2.tgz", + "integrity": "sha512-28HqgMZAmih1Czt9ny7qr6ek2qddF4FclbMzwhCREB6OFfH+rXAnuNCwo1/wFvrtbgsQDb4kSbX9de9lFbrXnA==", "dev": true, - "license": "MIT", "dependencies": { "accepts": "~1.3.8", "array-flatten": "1.1.1", @@ -12317,7 +12294,7 @@ "methods": "~1.1.2", "on-finished": "2.4.1", "parseurl": "~1.3.3", - "path-to-regexp": "0.1.10", + "path-to-regexp": "0.1.12", "proxy-addr": "~2.0.7", "qs": "6.13.0", "range-parser": "~1.2.1", @@ -12332,6 +12309,10 @@ }, "engines": { "node": ">= 0.10.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" } }, "node_modules/express/node_modules/debug": { @@ -17964,7 +17945,9 @@ "license": "ISC" }, "node_modules/nanoid": { - "version": "3.3.7", + "version": "3.3.8", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz", + "integrity": "sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==", "dev": true, "funding": [ { @@ -17972,7 +17955,6 @@ "url": "https://github.com/sponsors/ai" } ], - "license": "MIT", "bin": { "nanoid": "bin/nanoid.cjs" }, @@ -18435,9 +18417,9 @@ } }, "node_modules/npm-run-all/node_modules/cross-spawn": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", - "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", + "version": "6.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.6.tgz", + "integrity": "sha512-VqCUuhcd1iB+dsv8gxPttb5iZh/D0iubSP21g36KXdEuf6I5JiioesUVjpCdHV9MZRUfVFlvwtIUyPfxo5trtw==", "dev": true, "dependencies": { "nice-try": "^1.0.4", @@ -19690,9 +19672,9 @@ "dev": true }, "node_modules/path-to-regexp": { - "version": "0.1.10", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.10.tgz", - "integrity": "sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==", + "version": "0.1.12", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.12.tgz", + "integrity": "sha512-RA1GjUVMnvYFxuqovrEqZoxxW5NUZqbwKtYz/Tt7nXerk0LbLblQmrsgdeOxV5SFHf0UDggjS/bSeOZwt1pmEQ==", "dev": true }, "node_modules/path-type": { From 665a816232292b15bf956ee5f6e340e7a661783d Mon Sep 17 00:00:00 2001 From: GCHQ-Developer-847 <111882109+GCHQ-Developer-847@users.noreply.github.com> Date: Thu, 12 Dec 2024 14:44:28 +0000 Subject: [PATCH 6/6] build(web-components): audit fix Audit fix. --- packages/web-components/package-lock.json | 42 +++++++++++++---------- 1 file changed, 23 insertions(+), 19 deletions(-) diff --git a/packages/web-components/package-lock.json b/packages/web-components/package-lock.json index e795c255b8..0a02ef7341 100644 --- a/packages/web-components/package-lock.json +++ b/packages/web-components/package-lock.json @@ -10529,9 +10529,9 @@ } }, "node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "dev": true, "dependencies": { "path-key": "^3.1.0", @@ -11870,9 +11870,9 @@ } }, "node_modules/express": { - "version": "4.21.1", - "resolved": "https://registry.npmjs.org/express/-/express-4.21.1.tgz", - "integrity": "sha512-YSFlK1Ee0/GC8QaO91tHcDxJiE/X4FbpAyQWkxAvG6AXCuR65YzK8ua6D9hvi/TzUfZMpc+BwuM1IPw8fmQBiQ==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.21.2.tgz", + "integrity": "sha512-28HqgMZAmih1Czt9ny7qr6ek2qddF4FclbMzwhCREB6OFfH+rXAnuNCwo1/wFvrtbgsQDb4kSbX9de9lFbrXnA==", "dev": true, "dependencies": { "accepts": "~1.3.8", @@ -11894,7 +11894,7 @@ "methods": "~1.1.2", "on-finished": "2.4.1", "parseurl": "~1.3.3", - "path-to-regexp": "0.1.10", + "path-to-regexp": "0.1.12", "proxy-addr": "~2.0.7", "qs": "6.13.0", "range-parser": "~1.2.1", @@ -11909,6 +11909,10 @@ }, "engines": { "node": ">= 0.10.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" } }, "node_modules/express/node_modules/debug": { @@ -19060,9 +19064,9 @@ "dev": true }, "node_modules/nanoid": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", - "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", + "version": "3.3.8", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz", + "integrity": "sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==", "dev": true, "funding": [ { @@ -19340,9 +19344,9 @@ } }, "node_modules/npm-run-all/node_modules/cross-spawn": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", - "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", + "version": "6.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.6.tgz", + "integrity": "sha512-VqCUuhcd1iB+dsv8gxPttb5iZh/D0iubSP21g36KXdEuf6I5JiioesUVjpCdHV9MZRUfVFlvwtIUyPfxo5trtw==", "dev": true, "dependencies": { "nice-try": "^1.0.4", @@ -20131,9 +20135,9 @@ } }, "node_modules/path-to-regexp": { - "version": "0.1.10", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.10.tgz", - "integrity": "sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==", + "version": "0.1.12", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.12.tgz", + "integrity": "sha512-RA1GjUVMnvYFxuqovrEqZoxxW5NUZqbwKtYz/Tt7nXerk0LbLblQmrsgdeOxV5SFHf0UDggjS/bSeOZwt1pmEQ==", "dev": true }, "node_modules/path-type": { @@ -22149,9 +22153,9 @@ } }, "node_modules/sane/node_modules/cross-spawn": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", - "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", + "version": "6.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.6.tgz", + "integrity": "sha512-VqCUuhcd1iB+dsv8gxPttb5iZh/D0iubSP21g36KXdEuf6I5JiioesUVjpCdHV9MZRUfVFlvwtIUyPfxo5trtw==", "dev": true, "dependencies": { "nice-try": "^1.0.4",