From c7cc3eca4a787681648556c24820cce404ce9bc6 Mon Sep 17 00:00:00 2001 From: Thomas Willems Date: Sat, 27 Jan 2024 19:15:07 +0100 Subject: [PATCH 01/16] allow clients with no privateKey see https://github.com/wg-easy/wg-easy/discussions/791 I disabled the download from the frontend. If someone tries to manually call the API, the privateKey block is set to "REPLACE_ME" to indicate that this value must be set manually. --- src/lib/WireGuard.js | 4 ++-- src/www/css/app.css | 5 +++++ src/www/index.html | 24 ++++++++++++++++++------ src/www/js/i18n.js | 2 ++ 4 files changed, 27 insertions(+), 8 deletions(-) diff --git a/src/lib/WireGuard.js b/src/lib/WireGuard.js index 1d432a302..372524c5a 100644 --- a/src/lib/WireGuard.js +++ b/src/lib/WireGuard.js @@ -141,7 +141,7 @@ AllowedIPs = ${client.address}/32`; createdAt: new Date(client.createdAt), updatedAt: new Date(client.updatedAt), allowedIPs: client.allowedIPs, - + downloadableConfig: 'privateKey' in client, persistentKeepalive: null, latestHandshakeAt: null, transferRx: null, @@ -198,7 +198,7 @@ AllowedIPs = ${client.address}/32`; return ` [Interface] -PrivateKey = ${client.privateKey} +PrivateKey = ${client.privateKey ? `${client.privateKey}` : 'REPLACE_ME'} Address = ${client.address}/24 ${WG_DEFAULT_DNS ? `DNS = ${WG_DEFAULT_DNS}` : ''} ${WG_MTU ? `MTU = ${WG_MTU}` : ''} diff --git a/src/www/css/app.css b/src/www/css/app.css index 4f4e21ddd..3232d3333 100644 --- a/src/www/css/app.css +++ b/src/www/css/app.css @@ -1334,6 +1334,11 @@ video { transition-duration: 150ms; } +.disabled-link { + opacity: 0.25; + cursor: default; +} + .duration-200 { transition-duration: 200ms; } diff --git a/src/www/index.html b/src/www/index.html index 2edf3c701..fa5534d52 100644 --- a/src/www/index.html +++ b/src/www/index.html @@ -214,9 +214,14 @@

- - + Date: Sun, 28 Jan 2024 11:14:17 +0100 Subject: [PATCH 02/16] add .is-disabled --- src/tailwind.config.js | 11 +++++++++++ src/www/css/app.css | 10 +++++----- src/www/index.html | 4 ++-- 3 files changed, 18 insertions(+), 7 deletions(-) diff --git a/src/tailwind.config.js b/src/tailwind.config.js index 0594481d6..b190ed397 100644 --- a/src/tailwind.config.js +++ b/src/tailwind.config.js @@ -5,4 +5,15 @@ module.exports = { darkMode: 'media', content: ['./www/**/*.{html,js}'], + plugins: [ + function addDisabledClass({ addUtilities }) { + const newUtilities = { + '.is-disabled': { + opacity: '0.25', + cursor: 'default', + }, + }; + addUtilities(newUtilities); + }, + ], }; diff --git a/src/www/css/app.css b/src/www/css/app.css index 3232d3333..46db95a85 100644 --- a/src/www/css/app.css +++ b/src/www/css/app.css @@ -1334,11 +1334,6 @@ video { transition-duration: 150ms; } -.disabled-link { - opacity: 0.25; - cursor: default; -} - .duration-200 { transition-duration: 200ms; } @@ -1355,6 +1350,11 @@ video { transition-timing-function: cubic-bezier(0, 0, 0.2, 1); } +.is-disabled { + opacity: 0.25; + cursor: default; +} + .last\:border-b-0:last-child { border-bottom-width: 0px; } diff --git a/src/www/index.html b/src/www/index.html index fa5534d52..3a6643ea0 100644 --- a/src/www/index.html +++ b/src/www/index.html @@ -218,7 +218,7 @@

class="align-middle bg-gray-100 dark:bg-neutral-600 dark:text-neutral-300 p-2 rounded transition" :class="{ 'hover:bg-red-800 dark:hover:bg-red-800 hover:text-white dark:hover:text-white': client.downloadableConfig, - 'opacity-25': !client.downloadableConfig + 'is-disabled': !client.downloadableConfig }" :title="!client.downloadableConfig ? $t('noPrivKey') : $t('showQR')" @click="qrcode = `./api/wireguard/client/${client.id}/qrcode.svg`"> @@ -236,7 +236,7 @@

class="align-middle inline-block bg-gray-100 dark:bg-neutral-600 dark:text-neutral-300 p-2 rounded transition" :class="{ 'hover:bg-red-800 dark:hover:bg-red-800 hover:text-white dark:hover:text-white': client.downloadableConfig, - 'disabled-link': !client.downloadableConfig + 'is-disabled': !client.downloadableConfig }" :title="!client.downloadableConfig ? $t('noPrivKey') : $t('downloadConfig')" @click="if(!client.downloadableConfig) { $event.preventDefault(); }"> From 4aa6f99b04ae6f401f05d1bd2d7677afd16f40db Mon Sep 17 00:00:00 2001 From: Thomas Willems Date: Tue, 30 Jan 2024 21:28:46 +0100 Subject: [PATCH 03/16] rename is-disabled to inactive --- src/tailwind.config.js | 2 +- src/www/css/app.css | 2 +- src/www/index.html | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/tailwind.config.js b/src/tailwind.config.js index b190ed397..fb508c57f 100644 --- a/src/tailwind.config.js +++ b/src/tailwind.config.js @@ -8,7 +8,7 @@ module.exports = { plugins: [ function addDisabledClass({ addUtilities }) { const newUtilities = { - '.is-disabled': { + '.inactive': { opacity: '0.25', cursor: 'default', }, diff --git a/src/www/css/app.css b/src/www/css/app.css index 46db95a85..163d2fb98 100644 --- a/src/www/css/app.css +++ b/src/www/css/app.css @@ -1350,7 +1350,7 @@ video { transition-timing-function: cubic-bezier(0, 0, 0.2, 1); } -.is-disabled { +.inactive { opacity: 0.25; cursor: default; } diff --git a/src/www/index.html b/src/www/index.html index 3a6643ea0..da7edf254 100644 --- a/src/www/index.html +++ b/src/www/index.html @@ -218,7 +218,7 @@

class="align-middle bg-gray-100 dark:bg-neutral-600 dark:text-neutral-300 p-2 rounded transition" :class="{ 'hover:bg-red-800 dark:hover:bg-red-800 hover:text-white dark:hover:text-white': client.downloadableConfig, - 'is-disabled': !client.downloadableConfig + 'inactive': !client.downloadableConfig }" :title="!client.downloadableConfig ? $t('noPrivKey') : $t('showQR')" @click="qrcode = `./api/wireguard/client/${client.id}/qrcode.svg`"> @@ -236,7 +236,7 @@

class="align-middle inline-block bg-gray-100 dark:bg-neutral-600 dark:text-neutral-300 p-2 rounded transition" :class="{ 'hover:bg-red-800 dark:hover:bg-red-800 hover:text-white dark:hover:text-white': client.downloadableConfig, - 'is-disabled': !client.downloadableConfig + 'inactive': !client.downloadableConfig }" :title="!client.downloadableConfig ? $t('noPrivKey') : $t('downloadConfig')" @click="if(!client.downloadableConfig) { $event.preventDefault(); }"> From b9f037fae17a18b84589a5ba687dd88b0a3540d2 Mon Sep 17 00:00:00 2001 From: NPM Update Bot Date: Sun, 3 Mar 2024 00:13:03 +0000 Subject: [PATCH 04/16] npm: package updates --- src/package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/package-lock.json b/src/package-lock.json index 0e9943f6c..532fa5bb4 100644 --- a/src/package-lock.json +++ b/src/package-lock.json @@ -419,9 +419,9 @@ "dev": true }, "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.24", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.24.tgz", - "integrity": "sha512-+VaWXDa6+l6MhflBvVXjIEAzb59nQ2JUK3bwRp2zRpPtU+8TFRy9Gg/5oIcNlkEL5PGlBFGfemUVvIgLnTzq7Q==", + "version": "0.3.25", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", + "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", "dev": true, "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", From e9e8d4785871902179575367876ece7943979a20 Mon Sep 17 00:00:00 2001 From: Florian Rattay Date: Mon, 1 Aug 2022 14:56:23 +0200 Subject: [PATCH 05/16] Import json configurations with no PreShared-Key --- src/lib/WireGuard.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/WireGuard.js b/src/lib/WireGuard.js index 8377f6f66..89246a735 100644 --- a/src/lib/WireGuard.js +++ b/src/lib/WireGuard.js @@ -110,8 +110,8 @@ PostDown = ${WG_POST_DOWN} # Client: ${client.name} (${clientId}) [Peer] PublicKey = ${client.publicKey} -PresharedKey = ${client.preSharedKey} -AllowedIPs = ${client.address}/32`; +${client.preSharedKey ? `PresharedKey = ${client.preSharedKey}\n` : '' +}AllowedIPs = ${client.address}/32`; } debug('Config saving...'); @@ -204,8 +204,8 @@ ${WG_MTU ? `MTU = ${WG_MTU}\n` : ''}\ [Peer] PublicKey = ${config.server.publicKey} -PresharedKey = ${client.preSharedKey} -AllowedIPs = ${WG_ALLOWED_IPS} +${client.preSharedKey ? `PresharedKey = ${client.preSharedKey}\n` : '' +}AllowedIPs = ${WG_ALLOWED_IPS} PersistentKeepalive = ${WG_PERSISTENT_KEEPALIVE} Endpoint = ${WG_HOST}:${WG_PORT}`; } From 80cb5855602204fa9ea3843f4d9c6d7803e3597c Mon Sep 17 00:00:00 2001 From: Thomas Willems Date: Mon, 4 Mar 2024 17:46:39 +0100 Subject: [PATCH 06/16] fix lint error --- src/tailwind.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tailwind.config.js b/src/tailwind.config.js index 224a62c44..2546eaa0b 100644 --- a/src/tailwind.config.js +++ b/src/tailwind.config.js @@ -23,8 +23,8 @@ module.exports = { opacity: '0.25', cursor: 'default', }, - }, + }; addUtilities(newUtilities); }, ], -}; \ No newline at end of file +}; From b90941715cd8d50a80696b2ec28461aa928db8e7 Mon Sep 17 00:00:00 2001 From: NPM Update Bot Date: Sun, 3 Mar 2024 00:13:03 +0000 Subject: [PATCH 07/16] npm: package updates --- src/package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/package-lock.json b/src/package-lock.json index 0e9943f6c..532fa5bb4 100644 --- a/src/package-lock.json +++ b/src/package-lock.json @@ -419,9 +419,9 @@ "dev": true }, "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.24", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.24.tgz", - "integrity": "sha512-+VaWXDa6+l6MhflBvVXjIEAzb59nQ2JUK3bwRp2zRpPtU+8TFRy9Gg/5oIcNlkEL5PGlBFGfemUVvIgLnTzq7Q==", + "version": "0.3.25", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", + "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", "dev": true, "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", From 76c713499dd47bf15b80c07408101c4503504b09 Mon Sep 17 00:00:00 2001 From: Thomas Willems Date: Sat, 27 Jan 2024 19:15:07 +0100 Subject: [PATCH 08/16] allow clients with no privateKey see https://github.com/wg-easy/wg-easy/discussions/791 I disabled the download from the frontend. If someone tries to manually call the API, the privateKey block is set to "REPLACE_ME" to indicate that this value must be set manually. --- src/www/css/app.css | 5 +++++ src/www/index.html | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/www/css/app.css b/src/www/css/app.css index 96e6a88db..c63cd0146 100644 --- a/src/www/css/app.css +++ b/src/www/css/app.css @@ -1371,6 +1371,11 @@ video { transition-duration: 150ms; } +.disabled-link { + opacity: 0.25; + cursor: default; +} + .duration-200 { transition-duration: 200ms; } diff --git a/src/www/index.html b/src/www/index.html index b772917e5..8931c7255 100644 --- a/src/www/index.html +++ b/src/www/index.html @@ -258,7 +258,7 @@

class="align-middle bg-gray-100 dark:bg-neutral-600 dark:text-neutral-300 p-2 rounded transition" :class="{ 'hover:bg-red-800 dark:hover:bg-red-800 hover:text-white dark:hover:text-white': client.downloadableConfig, - 'inactive': !client.downloadableConfig + 'opacity-25': !client.downloadableConfig }" :title="!client.downloadableConfig ? $t('noPrivKey') : $t('showQR')" @click="qrcode = `./api/wireguard/client/${client.id}/qrcode.svg`"> @@ -276,7 +276,7 @@

class="align-middle inline-block bg-gray-100 dark:bg-neutral-600 dark:text-neutral-300 p-2 rounded transition" :class="{ 'hover:bg-red-800 dark:hover:bg-red-800 hover:text-white dark:hover:text-white': client.downloadableConfig, - 'inactive': !client.downloadableConfig + 'disabled-link': !client.downloadableConfig }" :title="!client.downloadableConfig ? $t('noPrivKey') : $t('downloadConfig')" @click="if(!client.downloadableConfig) { $event.preventDefault(); }"> From 19c83de975dd11130f1f40743fe51fdbf4389daa Mon Sep 17 00:00:00 2001 From: Thomas Willems Date: Sun, 28 Jan 2024 11:14:17 +0100 Subject: [PATCH 09/16] add .is-disabled --- src/tailwind.config.js | 2 +- src/www/css/app.css | 7 +------ src/www/index.html | 4 ++-- 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/src/tailwind.config.js b/src/tailwind.config.js index 2546eaa0b..33ba67464 100644 --- a/src/tailwind.config.js +++ b/src/tailwind.config.js @@ -19,7 +19,7 @@ module.exports = { plugins: [ function addDisabledClass({ addUtilities }) { const newUtilities = { - '.inactive': { + '.is-disabled': { opacity: '0.25', cursor: 'default', }, diff --git a/src/www/css/app.css b/src/www/css/app.css index c63cd0146..00837d4cb 100644 --- a/src/www/css/app.css +++ b/src/www/css/app.css @@ -1371,11 +1371,6 @@ video { transition-duration: 150ms; } -.disabled-link { - opacity: 0.25; - cursor: default; -} - .duration-200 { transition-duration: 200ms; } @@ -1392,7 +1387,7 @@ video { transition-timing-function: cubic-bezier(0, 0, 0.2, 1); } -.inactive { +.is-disabled { opacity: 0.25; cursor: default; } diff --git a/src/www/index.html b/src/www/index.html index 8931c7255..826cf526f 100644 --- a/src/www/index.html +++ b/src/www/index.html @@ -258,7 +258,7 @@

class="align-middle bg-gray-100 dark:bg-neutral-600 dark:text-neutral-300 p-2 rounded transition" :class="{ 'hover:bg-red-800 dark:hover:bg-red-800 hover:text-white dark:hover:text-white': client.downloadableConfig, - 'opacity-25': !client.downloadableConfig + 'is-disabled': !client.downloadableConfig }" :title="!client.downloadableConfig ? $t('noPrivKey') : $t('showQR')" @click="qrcode = `./api/wireguard/client/${client.id}/qrcode.svg`"> @@ -276,7 +276,7 @@

class="align-middle inline-block bg-gray-100 dark:bg-neutral-600 dark:text-neutral-300 p-2 rounded transition" :class="{ 'hover:bg-red-800 dark:hover:bg-red-800 hover:text-white dark:hover:text-white': client.downloadableConfig, - 'disabled-link': !client.downloadableConfig + 'is-disabled': !client.downloadableConfig }" :title="!client.downloadableConfig ? $t('noPrivKey') : $t('downloadConfig')" @click="if(!client.downloadableConfig) { $event.preventDefault(); }"> From 86f23cd1d361570197aed78ad7f9206f093191ef Mon Sep 17 00:00:00 2001 From: Philip H <47042125+pheiduck@users.noreply.github.com> Date: Tue, 5 Mar 2024 18:37:28 +0100 Subject: [PATCH 10/16] =?UTF-8?q?config.js:=20formatting=20=E2=9C=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/config.js b/src/config.js index 33ff7832b..a8fe2c389 100644 --- a/src/config.js +++ b/src/config.js @@ -3,15 +3,15 @@ const { release } = require('./package.json'); module.exports.RELEASE = release; -module.exports.PORT = process.env.PORT || 51821; +module.exports.PORT = process.env.PORT || '51821'; module.exports.WEBUI_HOST = process.env.WEBUI_HOST || '0.0.0.0'; module.exports.PASSWORD = process.env.PASSWORD; module.exports.WG_PATH = process.env.WG_PATH || '/etc/wireguard/'; module.exports.WG_DEVICE = process.env.WG_DEVICE || 'eth0'; module.exports.WG_HOST = process.env.WG_HOST; -module.exports.WG_PORT = process.env.WG_PORT || 51820; +module.exports.WG_PORT = process.env.WG_PORT || '51820'; module.exports.WG_MTU = process.env.WG_MTU || null; -module.exports.WG_PERSISTENT_KEEPALIVE = process.env.WG_PERSISTENT_KEEPALIVE || 0; +module.exports.WG_PERSISTENT_KEEPALIVE = process.env.WG_PERSISTENT_KEEPALIVE || '0'; module.exports.WG_DEFAULT_ADDRESS = process.env.WG_DEFAULT_ADDRESS || '10.8.0.x'; module.exports.WG_DEFAULT_DNS = typeof process.env.WG_DEFAULT_DNS === 'string' ? process.env.WG_DEFAULT_DNS From 925a47d15a20d19ca78bd230df2c732cc77c98c8 Mon Sep 17 00:00:00 2001 From: NPM Update Bot Date: Wed, 6 Mar 2024 16:04:24 +0000 Subject: [PATCH 11/16] npm: package updates --- src/package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/package-lock.json b/src/package-lock.json index 532fa5bb4..738ef0d6a 100644 --- a/src/package-lock.json +++ b/src/package-lock.json @@ -5078,9 +5078,9 @@ "dev": true }, "node_modules/yaml": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.4.0.tgz", - "integrity": "sha512-j9iR8g+/t0lArF4V6NE/QCfT+CO7iLqrXAHZbJdo+LfjqP1vR8Fg5bSiaq6Q2lOD1AUEVrEVIgABvBFYojJVYQ==", + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.4.1.tgz", + "integrity": "sha512-pIXzoImaqmfOrL7teGUBt/T7ZDnyeGBWyXQBvOVhLkWLN37GXv8NMLK406UY6dS51JfcQHsmcW5cJ441bHg6Lg==", "dev": true, "bin": { "yaml": "bin.mjs" From a9cd3071c89285d21f2fdb54c819d7aa3cbcf8b8 Mon Sep 17 00:00:00 2001 From: Philip H <47042125+pheiduck@users.noreply.github.com> Date: Sat, 9 Mar 2024 18:21:44 +0100 Subject: [PATCH 12/16] npm-update-bot.yml: check for updates every monday --- .github/workflows/npm-update-bot.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/npm-update-bot.yml b/.github/workflows/npm-update-bot.yml index 41ddfe3f3..ab5e0fba9 100644 --- a/.github/workflows/npm-update-bot.yml +++ b/.github/workflows/npm-update-bot.yml @@ -4,7 +4,7 @@ on: push: branches: [ "master" ] schedule: - - cron: "0 0 * * *" + - cron: "0 0 * * 1" jobs: npmupbot: From b4930b386c4624ef6cf49386b14775cee2252973 Mon Sep 17 00:00:00 2001 From: NPM Update Bot Date: Sat, 9 Mar 2024 17:22:18 +0000 Subject: [PATCH 13/16] npm: package updates --- src/package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/package-lock.json b/src/package-lock.json index 738ef0d6a..cea5b59cf 100644 --- a/src/package-lock.json +++ b/src/package-lock.json @@ -4735,9 +4735,9 @@ } }, "node_modules/ts-api-utils": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.2.1.tgz", - "integrity": "sha512-RIYA36cJn2WiH9Hy77hdF9r7oEwxAtB/TS9/S4Qd90Ap4z5FSiin5zEiTL44OII1Y3IIlEvxwxFUVgrHSZ/UpA==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.3.0.tgz", + "integrity": "sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==", "dev": true, "engines": { "node": ">=16" From e408e4bba213ba29bc869054de49499ba474a346 Mon Sep 17 00:00:00 2001 From: NPM Update Bot Date: Mon, 11 Mar 2024 00:02:41 +0000 Subject: [PATCH 14/16] npm: package updates --- src/package-lock.json | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/package-lock.json b/src/package-lock.json index cea5b59cf..2c64d1aeb 100644 --- a/src/package-lock.json +++ b/src/package-lock.json @@ -2691,9 +2691,9 @@ } }, "node_modules/hasown": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.1.tgz", - "integrity": "sha512-1/th4MHjnwncwXsIW6QMzlvYL9kG5e/CpVvLRZe4XPa8TOUNbCELqmvhDmnkNsAjwaG4+I8gJJL0JBvTTLO9qA==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", "dependencies": { "function-bind": "^1.1.2" }, @@ -4150,13 +4150,13 @@ } }, "node_modules/safe-array-concat": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.0.tgz", - "integrity": "sha512-ZdQ0Jeb9Ofti4hbt5lX3T2JcAamT9hfzYU1MNB+z/jaEbB6wfFfPIR/zEORmZqobkCCJhSjodobH6WHNmJ97dg==", + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.2.tgz", + "integrity": "sha512-vj6RsCsWBCf19jIeHEfkRMw8DPiBb+DMXklQ/1SGDHOMlHdPUkZXFQ2YdplS23zESTijAcurb1aSgJA3AgMu1Q==", "dev": true, "dependencies": { - "call-bind": "^1.0.5", - "get-intrinsic": "^1.2.2", + "call-bind": "^1.0.7", + "get-intrinsic": "^1.2.4", "has-symbols": "^1.0.3", "isarray": "^2.0.5" }, @@ -4284,16 +4284,16 @@ "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==" }, "node_modules/set-function-length": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.1.tgz", - "integrity": "sha512-j4t6ccc+VsKwYHso+kElc5neZpjtq9EnRICFZtWyBsLojhmeF/ZBd/elqm22WJh/BziDe/SBiOeAt0m2mfLD0g==", + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", + "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", "dependencies": { - "define-data-property": "^1.1.2", + "define-data-property": "^1.1.4", "es-errors": "^1.3.0", "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.3", + "get-intrinsic": "^1.2.4", "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.1" + "has-property-descriptors": "^1.0.2" }, "engines": { "node": ">= 0.4" From df882770ad6fecc6db85a272004d39ce92f54c60 Mon Sep 17 00:00:00 2001 From: Philip H <47042125+pheiduck@users.noreply.github.com> Date: Mon, 11 Mar 2024 16:33:48 +0100 Subject: [PATCH 15/16] deploy-development.yml: able to deploy dev up on pull request --- .github/workflows/deploy-development.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/deploy-development.yml b/.github/workflows/deploy-development.yml index fa912f772..21547c7e7 100644 --- a/.github/workflows/deploy-development.yml +++ b/.github/workflows/deploy-development.yml @@ -2,6 +2,7 @@ name: Build & Publish Development on: workflow_dispatch: + pull_request: jobs: deploy: From 2d683678b0e5e61e06442a1d25ccb4e4f177d815 Mon Sep 17 00:00:00 2001 From: NPM Update Bot Date: Mon, 11 Mar 2024 15:34:20 +0000 Subject: [PATCH 16/16] npm: package updates --- src/package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/package-lock.json b/src/package-lock.json index 2c64d1aeb..836cc7475 100644 --- a/src/package-lock.json +++ b/src/package-lock.json @@ -5010,16 +5010,16 @@ "integrity": "sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==" }, "node_modules/which-typed-array": { - "version": "1.1.14", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.14.tgz", - "integrity": "sha512-VnXFiIW8yNn9kIHN88xvZ4yOWchftKDsRJ8fEPacX/wl1lOvBrhsJ/OeJCXq7B0AaijRuqgzSKalJoPk+D8MPg==", + "version": "1.1.15", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.15.tgz", + "integrity": "sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==", "dev": true, "dependencies": { - "available-typed-arrays": "^1.0.6", - "call-bind": "^1.0.5", + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.7", "for-each": "^0.3.3", "gopd": "^1.0.1", - "has-tostringtag": "^1.0.1" + "has-tostringtag": "^1.0.2" }, "engines": { "node": ">= 0.4"