From 1a553e0dd9d412f5af3516c841d7489478519ecc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Nov 2024 13:37:14 +0000 Subject: [PATCH 1/5] Bump fast-check from 3.22.0 to 3.23.1 (#1197) Bumps [fast-check](https://github.com/dubzzz/fast-check/tree/HEAD/packages/fast-check) from 3.22.0 to 3.23.1. - [Release notes](https://github.com/dubzzz/fast-check/releases) - [Changelog](https://github.com/dubzzz/fast-check/blob/main/packages/fast-check/CHANGELOG.md) - [Commits](https://github.com/dubzzz/fast-check/commits/v3.23.1/packages/fast-check) --- updated-dependencies: - dependency-name: fast-check dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- injected/package.json | 2 +- package-lock.json | 24 ++++++++++++------------ special-pages/package.json | 2 +- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/injected/package.json b/injected/package.json index bceef8bd6..ae1839e34 100644 --- a/injected/package.json +++ b/injected/package.json @@ -47,7 +47,7 @@ "@types/node": "^22.8.6", "@typescript-eslint/eslint-plugin": "^6.9.1", "config-builder": "github:duckduckgo/privacy-configuration#1729260354597", - "fast-check": "^3.22.0", + "fast-check": "^3.23.1", "jasmine": "^5.4.0", "minimist": "^1.2.8", "rollup": "^4.24.3", diff --git a/package-lock.json b/package-lock.json index eae356e9f..738e23c44 100644 --- a/package-lock.json +++ b/package-lock.json @@ -45,8 +45,8 @@ "@types/jasmine": "^5.1.4", "@types/node": "^22.8.6", "@typescript-eslint/eslint-plugin": "^6.9.1", - "config-builder": "github:duckduckgo/privacy-configuration#1729260354597", - "fast-check": "^3.22.0", + "config-builder": "git+ssh://git@github.com/duckduckgo/privacy-configuration.git#207bcafcd8d67d0530569f7efcf84463194b999b", + "fast-check": "^3.23.1", "jasmine": "^5.4.0", "minimist": "^1.2.8", "rollup": "^4.24.3", @@ -4024,9 +4024,9 @@ "dev": true }, "node_modules/fast-check": { - "version": "3.22.0", - "resolved": "https://registry.npmjs.org/fast-check/-/fast-check-3.22.0.tgz", - "integrity": "sha512-8HKz3qXqnHYp/VCNn2qfjHdAdcI8zcSqOyX64GOMukp7SL2bfzfeDKjSd+UyECtejccaZv3LcvZTm9YDD22iCQ==", + "version": "3.23.1", + "resolved": "https://registry.npmjs.org/fast-check/-/fast-check-3.23.1.tgz", + "integrity": "sha512-u/MudsoQEgBUZgR5N1v87vEgybeVYus9VnDVaIkxkkGP2jt54naghQ3PCQHJiogS8U/GavZCUPFfx3Xkp+NaHw==", "dev": true, "funding": [ { @@ -8178,7 +8178,7 @@ "devDependencies": { "@duckduckgo/messaging": "*", "esbuild": "^0.24.0", - "fast-check": "^3.22.0", + "fast-check": "^3.23.1", "http-server": "^14.1.1", "web-resource-inliner": "^6.0.1" } @@ -10629,9 +10629,9 @@ "dev": true }, "fast-check": { - "version": "3.22.0", - "resolved": "https://registry.npmjs.org/fast-check/-/fast-check-3.22.0.tgz", - "integrity": "sha512-8HKz3qXqnHYp/VCNn2qfjHdAdcI8zcSqOyX64GOMukp7SL2bfzfeDKjSd+UyECtejccaZv3LcvZTm9YDD22iCQ==", + "version": "3.23.1", + "resolved": "https://registry.npmjs.org/fast-check/-/fast-check-3.23.1.tgz", + "integrity": "sha512-u/MudsoQEgBUZgR5N1v87vEgybeVYus9VnDVaIkxkkGP2jt54naghQ3PCQHJiogS8U/GavZCUPFfx3Xkp+NaHw==", "dev": true, "requires": { "pure-rand": "^6.1.0" @@ -11211,8 +11211,8 @@ "@types/jasmine": "^5.1.4", "@types/node": "^22.8.6", "@typescript-eslint/eslint-plugin": "^6.9.1", - "config-builder": "github:duckduckgo/privacy-configuration#1729260354597", - "fast-check": "^3.22.0", + "config-builder": "git+ssh://git@github.com/duckduckgo/privacy-configuration.git#207bcafcd8d67d0530569f7efcf84463194b999b", + "fast-check": "^3.23.1", "immutable-json-patch": "^6.0.1", "jasmine": "^5.4.0", "minimist": "^1.2.8", @@ -12797,7 +12797,7 @@ "@rive-app/canvas-single": "^2.23.3", "classnames": "^2.5.1", "esbuild": "^0.24.0", - "fast-check": "^3.22.0", + "fast-check": "^3.23.1", "http-server": "^14.1.1", "preact": "^10.24.3", "web-resource-inliner": "^6.0.1" diff --git a/special-pages/package.json b/special-pages/package.json index 14ac502ea..f1c1a7b6d 100644 --- a/special-pages/package.json +++ b/special-pages/package.json @@ -28,7 +28,7 @@ "esbuild": "^0.24.0", "http-server": "^14.1.1", "web-resource-inliner": "^6.0.1", - "fast-check": "^3.22.0" + "fast-check": "^3.23.1" }, "dependencies": { "preact": "^10.24.3", From da8869153a8b934d5c90dfc86ee4aafd7e3d220a Mon Sep 17 00:00:00 2001 From: Shane Osbourne Date: Mon, 4 Nov 2024 14:43:22 +0000 Subject: [PATCH 2/5] Design feedback on update notification (#1190) * extract entry-points * fixing imports * more docs * linting * design feedback * design feedback * linting --------- Co-authored-by: Shane Osbourne --- eslint.config.js | 1 + .../new-tab/app/components/App.module.css | 10 +++ .../new-tab/app/components/Components.jsx | 12 +++- .../app/components/Components.module.css | 7 +- .../pages/new-tab/app/components/Layout.js | 9 +++ .../app/components/ShowHide.module.css | 1 - .../new-tab/app/customizer/Customizer.js | 14 ++-- .../app/customizer/VisibilityMenu.module.css | 53 +++++++++++++- .../new-tab/app/entry-points/favorites.js | 11 +++ .../new-tab/app/entry-points/privacyStats.js | 11 +++ .../pages/new-tab/app/entry-points/rmf.js | 14 ++++ .../app/entry-points/updateNotification.js | 11 +++ .../pages/new-tab/app/favorites/Favorites.js | 4 +- special-pages/pages/new-tab/app/index.js | 19 ++++- special-pages/pages/new-tab/app/new-tab.md | 4 ++ .../new-tab/app/privacy-stats/PrivacyStats.js | 3 +- .../RemoteMessagingFramework.js | 2 +- .../UpdateNotification.examples.js | 24 +++++++ .../update-notification/UpdateNotification.js | 22 ++---- .../UpdateNotification.module.css | 40 +++++------ .../update-notification.service.js | 2 +- .../new-tab/app/widget-list/WidgetList.js | 72 ++++++++++--------- .../new-tab/app/widget-list/widget-config.md | 42 +++++++++-- .../app/widget-list/widget-config.provider.js | 9 ++- .../pages/new-tab/src/js/mock-transport.js | 6 +- typedoc.js | 3 +- 26 files changed, 300 insertions(+), 106 deletions(-) create mode 100644 special-pages/pages/new-tab/app/components/Layout.js create mode 100644 special-pages/pages/new-tab/app/entry-points/favorites.js create mode 100644 special-pages/pages/new-tab/app/entry-points/privacyStats.js create mode 100644 special-pages/pages/new-tab/app/entry-points/rmf.js create mode 100644 special-pages/pages/new-tab/app/entry-points/updateNotification.js create mode 100644 special-pages/pages/new-tab/app/update-notification/UpdateNotification.examples.js diff --git a/eslint.config.js b/eslint.config.js index c636ad174..f470cff2c 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -22,6 +22,7 @@ export default tseslint.config( "playwright-report", "test-results", "injected/src/types", + ".idea" ], }, { diff --git a/special-pages/pages/new-tab/app/components/App.module.css b/special-pages/pages/new-tab/app/components/App.module.css index 82acbcd45..fe88227a9 100644 --- a/special-pages/pages/new-tab/app/components/App.module.css +++ b/special-pages/pages/new-tab/app/components/App.module.css @@ -17,7 +17,17 @@ body { margin-right: auto; } +body:has([data-reset-layout="true"]) .layout { + padding-top: 0; +} + :global(.layout-centered) { margin-inline: auto; + width: 100%; max-width: calc(504 * var(--px-in-rem)); } + +/** Don't affect layout if empty (eg: if a widget was toggled) **/ +:global(.layout-centered:empty) { + display: contents; +} diff --git a/special-pages/pages/new-tab/app/components/Components.jsx b/special-pages/pages/new-tab/app/components/Components.jsx index 2679f3a56..a5e5f749e 100644 --- a/special-pages/pages/new-tab/app/components/Components.jsx +++ b/special-pages/pages/new-tab/app/components/Components.jsx @@ -1,19 +1,27 @@ import { Fragment, h } from "preact"; import styles from "./Components.module.css"; import { mainExamples, otherExamples } from "./Examples.jsx"; +import { updateNotificationExamples } from "../update-notification/UpdateNotification.examples.js"; const url = new URL(window.location.href); +const list = { + ...mainExamples, + ...otherExamples, + ...updateNotificationExamples +} + +const entries = Object.entries(list); + export function Components() { const ids = url.searchParams.getAll("id"); const isolated = url.searchParams.has("isolate"); const e2e = url.searchParams.has("e2e"); - const entries = Object.entries(mainExamples).concat(Object.entries(otherExamples)); const entryIds = entries.map(([id]) => id); const validIds = ids.filter(id => entryIds.includes(id)); const filtered = validIds.length - ? validIds.map((id) => /** @type {const} */([id, mainExamples[id] || otherExamples[id]])) + ? validIds.map((id) => /** @type {const} */([id, list[id]])) : entries if (isolated) { diff --git a/special-pages/pages/new-tab/app/components/Components.module.css b/special-pages/pages/new-tab/app/components/Components.module.css index b4a962521..d66a9da90 100644 --- a/special-pages/pages/new-tab/app/components/Components.module.css +++ b/special-pages/pages/new-tab/app/components/Components.module.css @@ -1,9 +1,4 @@ /* nested styles to avoid global side-effects */ -[data-display="components"] { - a { - color: var(--ntp-text-normal); - } -} body[data-display="components"] { padding-left: 0; @@ -35,7 +30,9 @@ body[data-display="components"] { align-items: center; gap: 1em; } + .itemLink { + color: var(--ntp-text-normal); padding: 0.2em 0.3em; border: 1px solid var(--color-gray-60); border-radius: 4px; diff --git a/special-pages/pages/new-tab/app/components/Layout.js b/special-pages/pages/new-tab/app/components/Layout.js new file mode 100644 index 000000000..f3aeecea7 --- /dev/null +++ b/special-pages/pages/new-tab/app/components/Layout.js @@ -0,0 +1,9 @@ +import { h } from 'preact' + +export function Centered ({ children }) { + return ( +
+ {children} +
+ ) +} diff --git a/special-pages/pages/new-tab/app/components/ShowHide.module.css b/special-pages/pages/new-tab/app/components/ShowHide.module.css index acef65d02..de49d1f3a 100644 --- a/special-pages/pages/new-tab/app/components/ShowHide.module.css +++ b/special-pages/pages/new-tab/app/components/ShowHide.module.css @@ -9,7 +9,6 @@ justify-content: center; align-items: center; color: var(--ntp-text-normal); - background: var(--ntp-background-color); height: 32px; width: 32px; line-height: 32px; diff --git a/special-pages/pages/new-tab/app/customizer/Customizer.js b/special-pages/pages/new-tab/app/customizer/Customizer.js index 2314fa117..da375d87d 100644 --- a/special-pages/pages/new-tab/app/customizer/Customizer.js +++ b/special-pages/pages/new-tab/app/customizer/Customizer.js @@ -91,12 +91,14 @@ export function useContextMenu () { e.stopImmediatePropagation() const items = getItems() /** @type {VisibilityMenuItem[]} */ - const simplified = items.map(item => { - return { - id: item.id, - title: item.title - } - }) + const simplified = items + .filter(x => x.id !== 'debug') + .map(item => { + return { + id: item.id, + title: item.title + } + }) messaging.contextMenu({ visibilityMenuItems: simplified }) } document.body.addEventListener('contextmenu', handler) diff --git a/special-pages/pages/new-tab/app/customizer/VisibilityMenu.module.css b/special-pages/pages/new-tab/app/customizer/VisibilityMenu.module.css index de4dfbc93..9ab8ccaeb 100644 --- a/special-pages/pages/new-tab/app/customizer/VisibilityMenu.module.css +++ b/special-pages/pages/new-tab/app/customizer/VisibilityMenu.module.css @@ -62,19 +62,68 @@ justify-content: center; flex-shrink: 0; border-radius: 4px; - border: 1px solid var(--color-black-at-9); + border: 1px solid var(--color-black-at-48); + @media screen and (prefers-color-scheme: dark) { - border: 1px solid var(--color-white-at-9); + border-color: rgba(255, 255, 255, 0.42); + background: rgba(255, 255, 255, 0.12); + } + + &:hover { + background: linear-gradient(0deg, var(--color-black-at-6) 0%, var(--color-black-at-6) 100%); + @media screen and (prefers-color-scheme: dark) { + background: linear-gradient(0deg, var(--color-white-at-18) 0%, var(--color-white-at-18) 100%), var(--color-white-at-12); + } + } + + &:active { + background: linear-gradient(0deg, var(--color-black-at-12) 0%, var(--color-black-at-12) 100%), var(--color-white-at-60); + @media screen and (prefers-color-scheme: dark) { + background: linear-gradient(0deg, var(--color-white-at-24) 0%, var(--color-white-at-24) 100%), var(--color-white-at-12); + } } } .menuItemLabel input:checked + .checkboxIcon { background: var(--color-blue-50); border-color: var(--color-blue-50); + + @media screen and (prefers-color-scheme: dark) { + background: var(--color-blue-20); + border-color: var(--color-blue-20); + } + + &:hover { + background: var(--color-blue-60); + border-color: var(--color-blue-60); + @media screen and (prefers-color-scheme: dark) { + background: var(--color-blue-30); + border-color: var(--color-blue-30); + } + } + + &:active { + background: var(--color-blue-70); + border-color: var(--color-blue-70); + + @media screen and (prefers-color-scheme: dark) { + background: var(--color-blue-40); + border-color: var(--color-blue-40); + } + } + +} + +.menuItemLabel .checkboxIcon svg path { + opacity: 0; } .menuItemLabel input:checked + .checkboxIcon svg path { stroke: white; + opacity: 1; + @media screen and (prefers-color-scheme: dark) { + stroke: black; + } } .menuItemLabel input:focus-visible + .checkboxIcon { diff --git a/special-pages/pages/new-tab/app/entry-points/favorites.js b/special-pages/pages/new-tab/app/entry-points/favorites.js new file mode 100644 index 000000000..7ca6addc6 --- /dev/null +++ b/special-pages/pages/new-tab/app/entry-points/favorites.js @@ -0,0 +1,11 @@ +import { h } from 'preact' +import { FavoritesCustomized } from '../favorites/Favorites.js' +import { Centered } from '../components/Layout.js' + +export function factory () { + return ( + + + + ) +} diff --git a/special-pages/pages/new-tab/app/entry-points/privacyStats.js b/special-pages/pages/new-tab/app/entry-points/privacyStats.js new file mode 100644 index 000000000..c550f95fd --- /dev/null +++ b/special-pages/pages/new-tab/app/entry-points/privacyStats.js @@ -0,0 +1,11 @@ +import { h } from 'preact' +import { PrivacyStatsCustomized } from '../privacy-stats/PrivacyStats.js' +import { Centered } from '../components/Layout.js' + +export function factory () { + return ( + + + + ) +} diff --git a/special-pages/pages/new-tab/app/entry-points/rmf.js b/special-pages/pages/new-tab/app/entry-points/rmf.js new file mode 100644 index 000000000..49df96912 --- /dev/null +++ b/special-pages/pages/new-tab/app/entry-points/rmf.js @@ -0,0 +1,14 @@ +import { h } from 'preact' +import { Centered } from '../components/Layout.js' +import { RMFConsumer } from '../remote-messaging-framework/RemoteMessagingFramework.js' +import { RMFProvider } from '../remote-messaging-framework/RMFProvider.js' + +export function factory () { + return ( + + + + + + ) +} diff --git a/special-pages/pages/new-tab/app/entry-points/updateNotification.js b/special-pages/pages/new-tab/app/entry-points/updateNotification.js new file mode 100644 index 000000000..921ca00fa --- /dev/null +++ b/special-pages/pages/new-tab/app/entry-points/updateNotification.js @@ -0,0 +1,11 @@ +import { h } from 'preact' +import { UpdateNotificationConsumer } from '../update-notification/UpdateNotification.js' +import { UpdateNotificationProvider } from '../update-notification/UpdateNotificationProvider.js' + +export function factory () { + return ( + + + + ) +} diff --git a/special-pages/pages/new-tab/app/favorites/Favorites.js b/special-pages/pages/new-tab/app/favorites/Favorites.js index 1a4dc55cf..33062d5fa 100644 --- a/special-pages/pages/new-tab/app/favorites/Favorites.js +++ b/special-pages/pages/new-tab/app/favorites/Favorites.js @@ -15,8 +15,6 @@ export function FavoritesCustomized () { return null } return ( -
-

Favourites here... (id: {id})

-
+

Favourites here... (id: {id})

) } diff --git a/special-pages/pages/new-tab/app/index.js b/special-pages/pages/new-tab/app/index.js index 93267c80f..3740078ea 100644 --- a/special-pages/pages/new-tab/app/index.js +++ b/special-pages/pages/new-tab/app/index.js @@ -11,6 +11,7 @@ import enStrings from '../src/locales/en/newtab.json' import { WidgetConfigProvider } from './widget-list/widget-config.provider.js' import { Settings } from './settings.js' import { Components } from './components/Components.jsx' +import { widgetEntryPoint } from "./widget-list/WidgetList.js"; /** * @param {import("../src/js").NewTabPage} messaging @@ -65,6 +66,7 @@ export async function init (messaging, baseEnvironment) { document.body.dataset.platformName = settings.platform.name + if (environment.display === 'components') { document.body.dataset.display = 'components' return render( @@ -81,6 +83,21 @@ export async function init (messaging, baseEnvironment) { , root) } + const entryPoints = await (async () => { + try { + const loaders = init.widgets.map(widget => { + return widgetEntryPoint(widget.id).then(mod => [widget.id, mod]); + }) + const entryPoints = await Promise.all(loaders) + return Object.fromEntries(entryPoints); + } catch (e) { + const error = new Error('Error loading widget entry points:' + e.message); + didCatch(error) + console.error(error); + return {} + } + })() + render( - + diff --git a/special-pages/pages/new-tab/app/new-tab.md b/special-pages/pages/new-tab/app/new-tab.md index e49a8a9b7..baa96e7e0 100644 --- a/special-pages/pages/new-tab/app/new-tab.md +++ b/special-pages/pages/new-tab/app/new-tab.md @@ -7,6 +7,10 @@ title: New Tab Page - {@link "NewTab Messages".InitialSetupRequest `initialSetup`} - Returns {@link "NewTab Messages".InitialSetupResponse} - See the `initialSetupResponse` section of [example of initial data](../../../messages/new-tab/examples/widgets.js) + - See also + - [Widget Config](./widget-list/widget-config.md) for the initial page widgets + - [Update Notification](./update-notification/update-notification.md) for the optional data + about release notes (windows only). ## Notifications diff --git a/special-pages/pages/new-tab/app/privacy-stats/PrivacyStats.js b/special-pages/pages/new-tab/app/privacy-stats/PrivacyStats.js index cdbd6f588..2b30462c3 100644 --- a/special-pages/pages/new-tab/app/privacy-stats/PrivacyStats.js +++ b/special-pages/pages/new-tab/app/privacy-stats/PrivacyStats.js @@ -1,5 +1,4 @@ import { h } from 'preact' -import cn from 'classnames' import styles from './PrivacyStats.module.css' import { useTypedTranslation } from '../types.js' import { useContext, useState, useId, useCallback } from 'preact/hooks' @@ -63,7 +62,7 @@ function PrivacyStatsConfigured ({ parentRef, expansion, data, toggle }) { const TOGGLE_ID = useId() return ( -
+
+
{messageType !== 'small' && message.icon && ( diff --git a/special-pages/pages/new-tab/app/update-notification/UpdateNotification.examples.js b/special-pages/pages/new-tab/app/update-notification/UpdateNotification.examples.js new file mode 100644 index 000000000..892f0cd2f --- /dev/null +++ b/special-pages/pages/new-tab/app/update-notification/UpdateNotification.examples.js @@ -0,0 +1,24 @@ +import { h } from 'preact' +import { UpdateNotification } from './UpdateNotification.js' +import { noop } from '../utils.js' + +export const updateNotificationExamples = { + empty: { + factory: () => { + return + } + }, + populated: { + factory: () => { + return + } + } +} diff --git a/special-pages/pages/new-tab/app/update-notification/UpdateNotification.js b/special-pages/pages/new-tab/app/update-notification/UpdateNotification.js index 61899b418..eb139aeae 100644 --- a/special-pages/pages/new-tab/app/update-notification/UpdateNotification.js +++ b/special-pages/pages/new-tab/app/update-notification/UpdateNotification.js @@ -18,7 +18,7 @@ export function UpdateNotification ({ notes, dismiss, version }) { const { t } = useTypedTranslation() return ( -
+
{notes.length > 0 && } {notes.length === 0 && } @@ -33,14 +33,6 @@ export function UpdateNotification ({ notes, dismiss, version }) { ) } -export function PulledUp ({ children }) { - return ( -
- {children} -
- ) -} - export function WithNotes ({ notes, version }) { const id = useId() const ref = useRef(/** @type {HTMLDetailsElement|null} */(null)) @@ -86,13 +78,11 @@ export function UpdateNotificationConsumer () { // `state.data.content` can be empty - meaning there's no message to display! if (state.status === 'ready' && state.data.content) { return ( - - - + ) } return null diff --git a/special-pages/pages/new-tab/app/update-notification/UpdateNotification.module.css b/special-pages/pages/new-tab/app/update-notification/UpdateNotification.module.css index 8c54785df..c75f2675a 100644 --- a/special-pages/pages/new-tab/app/update-notification/UpdateNotification.module.css +++ b/special-pages/pages/new-tab/app/update-notification/UpdateNotification.module.css @@ -4,25 +4,22 @@ .root { border-bottom: 1px solid var(--ntp-surface-border-color); position: relative; - min-height: var(--sp-10); - - &:hover { - .dismiss { - opacity: 1; - } - } - &:focus-within { - .dismiss { - opacity: 1; - } - } + display: flex; + flex-direction: column; + justify-content: center; } + .body { position: relative; text-align: center; + width: 100%; + padding-block: var(--sp-6); +} +.details { + width: 100%; } - .inlineLink { + color: var(--color-blue-50); text-decoration: none; &:focus-visible { text-decoration: underline; @@ -56,17 +53,9 @@ display: none; } -.dismiss { - opacity: 0; - transition: all .3s; - position: absolute; - top: -2px; - right: var(--sp-2); -} - .detailsContent { padding-inline: var(--sp-2); - padding-block: var(--sp-4); + margin-top: var(--sp-2); text-align: left; } @@ -77,6 +66,13 @@ } } +.dismiss { + transition: all .3s; + position: absolute; + top: calc(var(--sp-6) - 4px); + right: var(--sp-2); +} + .dismissBtn { height: 24px; width: 24px; diff --git a/special-pages/pages/new-tab/app/update-notification/update-notification.service.js b/special-pages/pages/new-tab/app/update-notification/update-notification.service.js index a8730205b..c8430dd17 100644 --- a/special-pages/pages/new-tab/app/update-notification/update-notification.service.js +++ b/special-pages/pages/new-tab/app/update-notification/update-notification.service.js @@ -41,7 +41,7 @@ export class UpdateNotificationService { */ dismiss () { this.ntp.messaging.notify('updateNotification_dismiss') - // eslint-disable-next-line @typescript-eslint/no-unused-vars + this.dataService.update(_old => { return { content: null } }) diff --git a/special-pages/pages/new-tab/app/widget-list/WidgetList.js b/special-pages/pages/new-tab/app/widget-list/WidgetList.js index 58fca0a0e..81883aa25 100644 --- a/special-pages/pages/new-tab/app/widget-list/WidgetList.js +++ b/special-pages/pages/new-tab/app/widget-list/WidgetList.js @@ -1,55 +1,57 @@ import { Fragment, h } from 'preact' import { WidgetConfigContext, WidgetVisibilityProvider } from './widget-config.provider.js' import { useContext } from 'preact/hooks' -import { PrivacyStatsCustomized } from '../privacy-stats/PrivacyStats.js' -import { FavoritesCustomized } from '../favorites/Favorites.js' import { Stack } from '../../../onboarding/app/components/Stack.js' import { Customizer, CustomizerMenuPositionedFixed } from '../customizer/Customizer.js' -import { RMFProvider } from '../remote-messaging-framework/RMFProvider.js' -import { RMFConsumer } from '../remote-messaging-framework/RemoteMessagingFramework.js' -import { UpdateNotificationProvider } from '../update-notification/UpdateNotificationProvider.js' -import { UpdateNotificationConsumer } from '../update-notification/UpdateNotification.js' -const widgetMap = { - privacyStats: () => ( - - ), - favorites: () => ( - - ), - rmf: () => ( - - - - ), - updateNotification: () => ( - - - - ) +/** + * @param {string} id + * @return {{factory: () => import("preact").ComponentChild}} + */ +function placeholderWidget (id) { + return { + factory: () => { + return

Entry point for {id} was not found. This is a bug.

+ } + } } +/** + * @param {string} id + * @return {Promise<{factory: () => import("preact").ComponentChild}>} + */ +export async function widgetEntryPoint (id) { + try { + + const mod = await import(`../entry-points/${id}.js`) + if (typeof mod.factory !== 'function') { + console.error(`module found for ${id}, but missing 'factory' export`) + return placeholderWidget(id) + } + return mod + } catch (e) { + console.error(e) + return placeholderWidget(id) + } +}; + export function WidgetList () { - const { widgets, widgetConfigItems } = useContext(WidgetConfigContext) + const { widgets, widgetConfigItems, entryPoints } = useContext(WidgetConfigContext) return ( {widgets.map((widget, index) => { const matchingConfig = widgetConfigItems.find(item => item.id === widget.id) + const matchingEntryPoint = entryPoints[widget.id] if (!matchingConfig) { - const matching = widgetMap[widget.id] - if (matching) { - return ( - - {matching?.()} - - ) - } - console.warn('missing component for widget id:', widget) - return null + return ( + + {matchingEntryPoint.factory?.()} + + ) } return ( @@ -58,7 +60,7 @@ export function WidgetList () { id={matchingConfig.id} index={index} > - {widgetMap[widget.id]?.()} + {matchingEntryPoint.factory?.()} ) diff --git a/special-pages/pages/new-tab/app/widget-list/widget-config.md b/special-pages/pages/new-tab/app/widget-list/widget-config.md index ed0d19a22..693a8a435 100644 --- a/special-pages/pages/new-tab/app/widget-list/widget-config.md +++ b/special-pages/pages/new-tab/app/widget-list/widget-config.md @@ -4,10 +4,44 @@ title: Widget Config ## InitialSetup: -- Data for widgets should be provided as part of the {@link "NewTab Messages".InitialSetupResponse `initialSetup`} response. -- The following keys should be added (also see the example below) - - `widgets`: {@link "NewTab Messages".Widgets} - - `widgetConfigs`: {@link "NewTab Messages".WidgetConfigs} +Data for widgets should be provided as part of the {@link "NewTab Messages".InitialSetupResponse `initialSetup`} response. The following keys should be added (also see the example below) +- `widgets`: {@link "NewTab Messages".Widgets} +- `widgetConfigs`: {@link "NewTab Messages".WidgetConfigs} + +### `widgets` +This specifies which individual features will be present on the page. Some widgets may be initially hidden, waiting for data. + +The following example will cause all 3 widgets to register in the page (potentially creating side effects). + +```json +[ + { "id": "rmf" }, + { "id": "favorites" }, + { "id": "privacyStats" } +] +``` + +The `id` field maps to a JavaScript file in the `entry-points` folder. +For example, `{ id: "rmf" }` will cause the module `entry-points/rmf.js` to register + +### `widgetConfigs` +This provides the visibility (and other config in the future) of widgets that can be configured by the user. That's why +it's normal for the `widgets` and `widgetConfigs` arrays to be different, for example: + +```json +{ + "...": "...", + "widgets": [ + { "id": "rmf" }, + { "id": "favorites" }, + { "id": "privacyStats" } + ], + "widgetConfigs": [ + { "id": "favorites", "visibility": "visible" }, + { "id": "privacyStats", "visibility": "hidden" } + ] +} +``` ## Subscriptions: - {@link "NewTab Messages".WidgetsOnConfigUpdatedSubscription `widgets_onConfigUpdated`} diff --git a/special-pages/pages/new-tab/app/widget-list/widget-config.provider.js b/special-pages/pages/new-tab/app/widget-list/widget-config.provider.js index 66271e524..5db247a09 100644 --- a/special-pages/pages/new-tab/app/widget-list/widget-config.provider.js +++ b/special-pages/pages/new-tab/app/widget-list/widget-config.provider.js @@ -12,11 +12,14 @@ export const WidgetConfigContext = createContext({ /** @type {Widgets} */ widgets: [], + /** @type {Record import("preact").ComponentChild}>} */ + entryPoints: {}, + /** @type {WidgetConfigItem[]} */ widgetConfigItems: [], /** @type {(id:string) => void} */ - + toggle: (_id) => { } @@ -30,6 +33,7 @@ export const WidgetConfigDispatchContext = createContext({ * @param {object} props * @param {import("preact").ComponentChild} props.children * @param {WidgetConfigItem[]} props.widgetConfigs - the initial config data + * @param {Record import("preact").ComponentChild}>} props.entryPoints * @param {Widgets} props.widgets - the initial widget list * @param {WidgetConfigAPI} props.api - the stateful API manager */ @@ -55,6 +59,7 @@ export function WidgetConfigProvider (props) { void} */ - + toggle: (_id) => {}, /** @type {number} */ index: -1 diff --git a/special-pages/pages/new-tab/src/js/mock-transport.js b/special-pages/pages/new-tab/src/js/mock-transport.js index 97fb087de..48eee2e5b 100644 --- a/special-pages/pages/new-tab/src/js/mock-transport.js +++ b/special-pages/pages/new-tab/src/js/mock-transport.js @@ -10,7 +10,7 @@ import { updateNotificationExamples } from '../../app/update-notification/mocks/ * @typedef {import('../../../../types/new-tab.js').NewTabMessages['subscriptions']['subscriptionEvent']} SubscriptionNames */ -const VERSION_PREFIX = '__ntp_15__.' +const VERSION_PREFIX = '__ntp_27__.' const url = new URL(window.location.href) export function mockTransport () { @@ -88,7 +88,9 @@ export function mockTransport () { } case 'stats_setConfig': { if (!msg.params) throw new Error('unreachable') - write('stats_config', msg.params) + + const { animation, ...rest } = msg.params + write('stats_config', rest) broadcast('stats_config') return } diff --git a/typedoc.js b/typedoc.js index 7bb93bf39..4b6f81c46 100644 --- a/typedoc.js +++ b/typedoc.js @@ -40,7 +40,8 @@ const config = { readme: 'none', treatWarningsAsErrors: true, searchInComments: true, - modifierTags: [...OptionDefaults.modifierTags, '@implements'] + modifierTags: [...OptionDefaults.modifierTags, '@implements'], + highlightLanguages: [...OptionDefaults.highlightLanguages, 'mermaid'] } export default config From 1f8ba4a63be6ba501de5e6e6c8275d3a443d9d5d Mon Sep 17 00:00:00 2001 From: Shane Osbourne Date: Mon, 4 Nov 2024 15:06:09 +0000 Subject: [PATCH 3/5] ntp: favorites schemas+icons (#1191) * ntp: favorites schemas+icons * fixed the icons * fixed the icons --------- Co-authored-by: Shane Osbourne --- .../messages/new-tab/examples/stats.js | 3 +- .../new-tab/favorites_add.notify.json | 3 + .../new-tab/favorites_getConfig.request.json | 3 + .../new-tab/favorites_getConfig.response.json | 8 + .../new-tab/favorites_getData.request.json | 3 + .../new-tab/favorites_getData.response.json | 8 + .../new-tab/favorites_move.notify.json | 19 +++ .../favorites_onConfigUpdate.subscribe.json | 8 + .../favorites_onDataUpdate.subscribe.json | 8 + .../new-tab/favorites_open.notify.json | 19 +++ .../favorites_openContextMenu.notify.json | 14 ++ .../new-tab/favorites_setConfig.notify.json | 8 + .../new-tab/types/favorites-config.json | 10 ++ .../new-tab/types/favorites-data.json | 47 ++++++ .../pages/new-tab/src/icons/ddg-favicon.png | Bin 0 -> 820 bytes .../pages/new-tab/src/icons/favicon@2x.png | Bin 0 -> 1864 bytes special-pages/pages/new-tab/src/letters/a.svg | 3 + special-pages/pages/new-tab/src/letters/b.svg | 3 + special-pages/pages/new-tab/src/letters/c.svg | 3 + special-pages/pages/new-tab/src/letters/d.svg | 3 + special-pages/pages/new-tab/src/letters/e.svg | 3 + special-pages/pages/new-tab/src/letters/f.svg | 3 + special-pages/pages/new-tab/src/letters/g.svg | 3 + special-pages/pages/new-tab/src/letters/h.svg | 3 + special-pages/pages/new-tab/src/letters/i.svg | 3 + special-pages/pages/new-tab/src/letters/j.svg | 3 + special-pages/pages/new-tab/src/letters/k.svg | 3 + special-pages/pages/new-tab/src/letters/l.svg | 3 + special-pages/pages/new-tab/src/letters/m.svg | 3 + special-pages/pages/new-tab/src/letters/n.svg | 3 + special-pages/pages/new-tab/src/letters/o.svg | 3 + special-pages/pages/new-tab/src/letters/p.svg | 3 + special-pages/pages/new-tab/src/letters/q.svg | 3 + special-pages/pages/new-tab/src/letters/r.svg | 3 + special-pages/pages/new-tab/src/letters/s.svg | 3 + special-pages/pages/new-tab/src/letters/t.svg | 3 + special-pages/pages/new-tab/src/letters/u.svg | 3 + special-pages/pages/new-tab/src/letters/v.svg | 3 + special-pages/pages/new-tab/src/letters/w.svg | 3 + special-pages/pages/new-tab/src/letters/x.svg | 3 + special-pages/pages/new-tab/src/letters/y.svg | 3 + special-pages/pages/new-tab/src/letters/z.svg | 3 + special-pages/types/new-tab.ts | 147 ++++++++++++++++-- 43 files changed, 369 insertions(+), 17 deletions(-) create mode 100644 special-pages/messages/new-tab/favorites_add.notify.json create mode 100644 special-pages/messages/new-tab/favorites_getConfig.request.json create mode 100644 special-pages/messages/new-tab/favorites_getConfig.response.json create mode 100644 special-pages/messages/new-tab/favorites_getData.request.json create mode 100644 special-pages/messages/new-tab/favorites_getData.response.json create mode 100644 special-pages/messages/new-tab/favorites_move.notify.json create mode 100644 special-pages/messages/new-tab/favorites_onConfigUpdate.subscribe.json create mode 100644 special-pages/messages/new-tab/favorites_onDataUpdate.subscribe.json create mode 100644 special-pages/messages/new-tab/favorites_open.notify.json create mode 100644 special-pages/messages/new-tab/favorites_openContextMenu.notify.json create mode 100644 special-pages/messages/new-tab/favorites_setConfig.notify.json create mode 100644 special-pages/messages/new-tab/types/favorites-config.json create mode 100644 special-pages/messages/new-tab/types/favorites-data.json create mode 100644 special-pages/pages/new-tab/src/icons/ddg-favicon.png create mode 100644 special-pages/pages/new-tab/src/icons/favicon@2x.png create mode 100644 special-pages/pages/new-tab/src/letters/a.svg create mode 100644 special-pages/pages/new-tab/src/letters/b.svg create mode 100644 special-pages/pages/new-tab/src/letters/c.svg create mode 100644 special-pages/pages/new-tab/src/letters/d.svg create mode 100644 special-pages/pages/new-tab/src/letters/e.svg create mode 100644 special-pages/pages/new-tab/src/letters/f.svg create mode 100644 special-pages/pages/new-tab/src/letters/g.svg create mode 100644 special-pages/pages/new-tab/src/letters/h.svg create mode 100644 special-pages/pages/new-tab/src/letters/i.svg create mode 100644 special-pages/pages/new-tab/src/letters/j.svg create mode 100644 special-pages/pages/new-tab/src/letters/k.svg create mode 100644 special-pages/pages/new-tab/src/letters/l.svg create mode 100644 special-pages/pages/new-tab/src/letters/m.svg create mode 100644 special-pages/pages/new-tab/src/letters/n.svg create mode 100644 special-pages/pages/new-tab/src/letters/o.svg create mode 100644 special-pages/pages/new-tab/src/letters/p.svg create mode 100644 special-pages/pages/new-tab/src/letters/q.svg create mode 100644 special-pages/pages/new-tab/src/letters/r.svg create mode 100644 special-pages/pages/new-tab/src/letters/s.svg create mode 100644 special-pages/pages/new-tab/src/letters/t.svg create mode 100644 special-pages/pages/new-tab/src/letters/u.svg create mode 100644 special-pages/pages/new-tab/src/letters/v.svg create mode 100644 special-pages/pages/new-tab/src/letters/w.svg create mode 100644 special-pages/pages/new-tab/src/letters/x.svg create mode 100644 special-pages/pages/new-tab/src/letters/y.svg create mode 100644 special-pages/pages/new-tab/src/letters/z.svg diff --git a/special-pages/messages/new-tab/examples/stats.js b/special-pages/messages/new-tab/examples/stats.js index 4d23135c7..f6ec1244b 100644 --- a/special-pages/messages/new-tab/examples/stats.js +++ b/special-pages/messages/new-tab/examples/stats.js @@ -14,7 +14,8 @@ const privacyStatsData = { * @type {import("../../../types/new-tab").StatsConfig} */ const minimumConfig = { - expansion: "expanded" + expansion: "expanded", + animation: { kind: "none" } } /** diff --git a/special-pages/messages/new-tab/favorites_add.notify.json b/special-pages/messages/new-tab/favorites_add.notify.json new file mode 100644 index 000000000..0af74a319 --- /dev/null +++ b/special-pages/messages/new-tab/favorites_add.notify.json @@ -0,0 +1,3 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#" +} diff --git a/special-pages/messages/new-tab/favorites_getConfig.request.json b/special-pages/messages/new-tab/favorites_getConfig.request.json new file mode 100644 index 000000000..0af74a319 --- /dev/null +++ b/special-pages/messages/new-tab/favorites_getConfig.request.json @@ -0,0 +1,3 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#" +} diff --git a/special-pages/messages/new-tab/favorites_getConfig.response.json b/special-pages/messages/new-tab/favorites_getConfig.response.json new file mode 100644 index 000000000..cba463319 --- /dev/null +++ b/special-pages/messages/new-tab/favorites_getConfig.response.json @@ -0,0 +1,8 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "allOf": [ + { + "$ref": "./types/favorites-config.json" + } + ] +} diff --git a/special-pages/messages/new-tab/favorites_getData.request.json b/special-pages/messages/new-tab/favorites_getData.request.json new file mode 100644 index 000000000..0af74a319 --- /dev/null +++ b/special-pages/messages/new-tab/favorites_getData.request.json @@ -0,0 +1,3 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#" +} diff --git a/special-pages/messages/new-tab/favorites_getData.response.json b/special-pages/messages/new-tab/favorites_getData.response.json new file mode 100644 index 000000000..9f5d7f273 --- /dev/null +++ b/special-pages/messages/new-tab/favorites_getData.response.json @@ -0,0 +1,8 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "allOf": [ + { + "$ref": "types/favorites-data.json" + } + ] +} diff --git a/special-pages/messages/new-tab/favorites_move.notify.json b/special-pages/messages/new-tab/favorites_move.notify.json new file mode 100644 index 000000000..b728005c1 --- /dev/null +++ b/special-pages/messages/new-tab/favorites_move.notify.json @@ -0,0 +1,19 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "Favorites Move Action", + "type": "object", + "required": [ + "id", + "targetIndex" + ], + "properties": { + "id": { + "description": "Entity ID", + "type": "string" + }, + "targetIndex": { + "description": "zero-indexed target", + "type": "number" + } + } +} diff --git a/special-pages/messages/new-tab/favorites_onConfigUpdate.subscribe.json b/special-pages/messages/new-tab/favorites_onConfigUpdate.subscribe.json new file mode 100644 index 000000000..cba463319 --- /dev/null +++ b/special-pages/messages/new-tab/favorites_onConfigUpdate.subscribe.json @@ -0,0 +1,8 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "allOf": [ + { + "$ref": "./types/favorites-config.json" + } + ] +} diff --git a/special-pages/messages/new-tab/favorites_onDataUpdate.subscribe.json b/special-pages/messages/new-tab/favorites_onDataUpdate.subscribe.json new file mode 100644 index 000000000..9f5d7f273 --- /dev/null +++ b/special-pages/messages/new-tab/favorites_onDataUpdate.subscribe.json @@ -0,0 +1,8 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "allOf": [ + { + "$ref": "types/favorites-data.json" + } + ] +} diff --git a/special-pages/messages/new-tab/favorites_open.notify.json b/special-pages/messages/new-tab/favorites_open.notify.json new file mode 100644 index 000000000..9519d74d3 --- /dev/null +++ b/special-pages/messages/new-tab/favorites_open.notify.json @@ -0,0 +1,19 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "Favorites Open Action", + "type": "object", + "required": [ + "id", + "target" + ], + "properties": { + "id": { + "description": "Entity ID", + "type": "string" + }, + "target": { + "type": "string", + "enum": ["same-tab", "new-tab", "new-window"] + } + } +} diff --git a/special-pages/messages/new-tab/favorites_openContextMenu.notify.json b/special-pages/messages/new-tab/favorites_openContextMenu.notify.json new file mode 100644 index 000000000..977717a80 --- /dev/null +++ b/special-pages/messages/new-tab/favorites_openContextMenu.notify.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "Favorites Open Context Menu Action", + "type": "object", + "required": [ + "id" + ], + "properties": { + "id": { + "description": "Entity ID", + "type": "string" + } + } +} diff --git a/special-pages/messages/new-tab/favorites_setConfig.notify.json b/special-pages/messages/new-tab/favorites_setConfig.notify.json new file mode 100644 index 000000000..cba463319 --- /dev/null +++ b/special-pages/messages/new-tab/favorites_setConfig.notify.json @@ -0,0 +1,8 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "allOf": [ + { + "$ref": "./types/favorites-config.json" + } + ] +} diff --git a/special-pages/messages/new-tab/types/favorites-config.json b/special-pages/messages/new-tab/types/favorites-config.json new file mode 100644 index 000000000..ec073b2d5 --- /dev/null +++ b/special-pages/messages/new-tab/types/favorites-config.json @@ -0,0 +1,10 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "FavoritesConfig", + "type": "object", + "required": ["expansion"], + "properties": { + "expansion": { "$ref": "./expansion.json" }, + "animation": { "$ref": "./animation.json" } + } +} diff --git a/special-pages/messages/new-tab/types/favorites-data.json b/special-pages/messages/new-tab/types/favorites-data.json new file mode 100644 index 000000000..e60a9d2da --- /dev/null +++ b/special-pages/messages/new-tab/types/favorites-data.json @@ -0,0 +1,47 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "Favorites Data", + "type": "object", + "required": ["favorites"], + "properties": { + "favorites": { + "type": "array", + "items": { + "type": "object", + "title": "Favorite", + "required": ["url", "id", "title", "favicon"], + "properties": { + "url": { + "type": "string" + }, + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "favicon": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "title": "Favorite Favicon", + "required": ["src", "maxAvailableSize"], + "properties": { + "src": { + "type": "string" + }, + "maxAvailableSize": { + "type": "number" + } + } + } + ] + } + } + } + } + } +} diff --git a/special-pages/pages/new-tab/src/icons/ddg-favicon.png b/special-pages/pages/new-tab/src/icons/ddg-favicon.png new file mode 100644 index 0000000000000000000000000000000000000000..944f29d8c336ee6368353eaea9a56ecf85b8c758 GIT binary patch literal 820 zcmV-41Izr0P)Oic!pVaWH-Sh%O6G?Mg!Tc% zBMvFm2q7Avk9sGyaJ4_F1or#wFiXQkt-EFGxeD3Y$c$9j^lTck+Biy`RXH zM%#m0qLP3IQ?v5Hdal=RK64g(ku~JMEV2K3YAYnacjizz`Bsk5SB~yCog+i2d>)Qg0`O(HgjcjnqGqGT9;u7Y6?$ zng{a>2{rm9iPAPByDLiMFdRF)iTEdnFdgVNR}Of@DH zwp46SHNz-K6@R`8S0^ZKMWGvpSW_d3(oPofS=OD|MidhY%qKFHXD|{pMgg5JZbuGG8;oXlQz8|Al zIGIDNUP0^E0vxR6dU6LD?c~72{DMWtqi@ip%8jc`(fKh{@G>lM72f-UPd^UD$GLE_h|Bxe1gqyJI}qTRlwG y;L@f{oos~LxJLF*X_!(nZ4eSXHMuxn?f(ZJX)^+KH|a+J0000lqdqrD`Hey_=O1JnF#!#2}B+-Q6fe$L7s^wDiN9>0)Hf; zK!5;&CcTEU!K(-O_!`(w!Oaxx2IMc4tfVB$JuBbLW2Noco=}W$2;Y zo$2+cPCnBDR<7&17o3$qhev*7@I%vmjImnrT#c}Lr1WsDzbEUm7Xr`omZ-XA1?Q+t z0QPL*9|3iJ>E2r33+81278b+7*XoR|Fvgs(jD>4_1+rcp3u~WZ@NBmn*Mc2*cJCG< z;tE}?hH~Tba{$IR`@_-oqceEKQ~|PDhvk%bETQ+DiPMlbcPY3lM=l=z>oTG(4bVaz ziGS>a%A{hhaTVfQJ=zZJMBvO(XGzIQ1@OpL4a)`jK1^rO8@>^+b`|&+^ z`sb`UD%*dtHlqT`mb)iTNB+W((Q)P&{55Bh zTQLK6yA2WFEhxeR$!<0iQr`c9q=F6 z0sExc=rwyWY&p4bI-PPpS(Rj6M)AyDBD}E#kAGN?j?;2WeC>)l+Teu6n7Cq8zpn&i zrjX`+S5?7(be9B|VEz__P8~+408^O-wxa&9=JbNQd>T~$6R|CUj9WwAA~W-ZBEj<~ zX`Uy`W^rz*t3Q$OK-~3r>3KlaQSs9yv-l(vG?iwes+x)a-pIBf@arn>Rds*K=LK|#FYHQVLBXA<%zkvT_jOJeF= zhBv3Z7g|)(3xyhiC-18|Y#ee24aS4|4qUn3Y`XaMzguzsdOK`WDl;lTUTXhskHC08 zrZiY(4PjGyr2$GZ)`DW0NK&jDF+tu#N)%&;7n&|Ud}wdHIsPT|ojON)Ba=K83eb1y zO$Lu!U<>0}1%0Fp7ZjnAMkY^zybXIf4;{e>>YJaMF24I{4KCF^L{9lMbms-)2}KzR z)fLWleH6VoL?)Ar?fO$|W8!(y>it+;AS2dYR zDeld*?(FP@&1S>o*N5Qd-4?jB9clB9?^rDF$woK^2H`3TfIC%$Zn+T_7o~98>e%9} z#A;MHqp)-p?z@3tCQ4?1b1jL9EBrzEmlaW za3y#mcwof~gx|Y?NFBqxUYd!7)mDq59oDlf--+-M zJP4rIJM-c15{^W~P$(=T!AuB%$OgK)5!bkKndXg9^^4|}Q}?QC`Ysx1JGdRWQ|G67 zfruC(BAN)L@SX@2Dx=oOHAT}(J%OYtXWC}E2TmVDw7Egn?ymCeW(`zLLns==gO1yY zaoRRRn({69`Q2W)Uz{G@)EyD+1E-BXQI+*xGG+9#PlnPCi5IQAz7hn^3T9og6pPGjF_yi1M6>tx6NN)qI02 zhj8Z5)aX#`ECrm}vZhU+#LK+y8?x_8qSa4i3gQBTHi;(CR?rVb$bw~S<^D0DK-WkR zmc;Jjp|CZY@{M@ZTXaFR26b04=8Myl#CR?yZTWc7maC#IXR<9X{$e|1mqdNOw*uA? z1F-SJa+G;SqP+i1!Q=o6U42ow<9jsSuffA1`FPDc7X#mV57EaBDV8&?%_{w+wzgXZ zq!O}67JaY)Y<9F3ChVi{Mx3e>s|^dqXy@mFTH3UE~(Fi!*ie|2~|i zDH1=Pb86wJi{j$ks56fN2o3Uhu0lUe*|n#~^M3)D<2Ji}vE$SL0000 + + diff --git a/special-pages/pages/new-tab/src/letters/b.svg b/special-pages/pages/new-tab/src/letters/b.svg new file mode 100644 index 000000000..32c3d3b0e --- /dev/null +++ b/special-pages/pages/new-tab/src/letters/b.svg @@ -0,0 +1,3 @@ + + + diff --git a/special-pages/pages/new-tab/src/letters/c.svg b/special-pages/pages/new-tab/src/letters/c.svg new file mode 100644 index 000000000..34da132f8 --- /dev/null +++ b/special-pages/pages/new-tab/src/letters/c.svg @@ -0,0 +1,3 @@ + + + diff --git a/special-pages/pages/new-tab/src/letters/d.svg b/special-pages/pages/new-tab/src/letters/d.svg new file mode 100644 index 000000000..af928aa9c --- /dev/null +++ b/special-pages/pages/new-tab/src/letters/d.svg @@ -0,0 +1,3 @@ + + + diff --git a/special-pages/pages/new-tab/src/letters/e.svg b/special-pages/pages/new-tab/src/letters/e.svg new file mode 100644 index 000000000..b380439c1 --- /dev/null +++ b/special-pages/pages/new-tab/src/letters/e.svg @@ -0,0 +1,3 @@ + + + diff --git a/special-pages/pages/new-tab/src/letters/f.svg b/special-pages/pages/new-tab/src/letters/f.svg new file mode 100644 index 000000000..025bdf884 --- /dev/null +++ b/special-pages/pages/new-tab/src/letters/f.svg @@ -0,0 +1,3 @@ + + + diff --git a/special-pages/pages/new-tab/src/letters/g.svg b/special-pages/pages/new-tab/src/letters/g.svg new file mode 100644 index 000000000..d909c1309 --- /dev/null +++ b/special-pages/pages/new-tab/src/letters/g.svg @@ -0,0 +1,3 @@ + + + diff --git a/special-pages/pages/new-tab/src/letters/h.svg b/special-pages/pages/new-tab/src/letters/h.svg new file mode 100644 index 000000000..a7e4be16f --- /dev/null +++ b/special-pages/pages/new-tab/src/letters/h.svg @@ -0,0 +1,3 @@ + + + diff --git a/special-pages/pages/new-tab/src/letters/i.svg b/special-pages/pages/new-tab/src/letters/i.svg new file mode 100644 index 000000000..7dace40ec --- /dev/null +++ b/special-pages/pages/new-tab/src/letters/i.svg @@ -0,0 +1,3 @@ + + + diff --git a/special-pages/pages/new-tab/src/letters/j.svg b/special-pages/pages/new-tab/src/letters/j.svg new file mode 100644 index 000000000..7a10a2573 --- /dev/null +++ b/special-pages/pages/new-tab/src/letters/j.svg @@ -0,0 +1,3 @@ + + + diff --git a/special-pages/pages/new-tab/src/letters/k.svg b/special-pages/pages/new-tab/src/letters/k.svg new file mode 100644 index 000000000..00a620413 --- /dev/null +++ b/special-pages/pages/new-tab/src/letters/k.svg @@ -0,0 +1,3 @@ + + + diff --git a/special-pages/pages/new-tab/src/letters/l.svg b/special-pages/pages/new-tab/src/letters/l.svg new file mode 100644 index 000000000..30fa9bf79 --- /dev/null +++ b/special-pages/pages/new-tab/src/letters/l.svg @@ -0,0 +1,3 @@ + + + diff --git a/special-pages/pages/new-tab/src/letters/m.svg b/special-pages/pages/new-tab/src/letters/m.svg new file mode 100644 index 000000000..7519256af --- /dev/null +++ b/special-pages/pages/new-tab/src/letters/m.svg @@ -0,0 +1,3 @@ + + + diff --git a/special-pages/pages/new-tab/src/letters/n.svg b/special-pages/pages/new-tab/src/letters/n.svg new file mode 100644 index 000000000..885e1be08 --- /dev/null +++ b/special-pages/pages/new-tab/src/letters/n.svg @@ -0,0 +1,3 @@ + + + diff --git a/special-pages/pages/new-tab/src/letters/o.svg b/special-pages/pages/new-tab/src/letters/o.svg new file mode 100644 index 000000000..9280406e5 --- /dev/null +++ b/special-pages/pages/new-tab/src/letters/o.svg @@ -0,0 +1,3 @@ + + + diff --git a/special-pages/pages/new-tab/src/letters/p.svg b/special-pages/pages/new-tab/src/letters/p.svg new file mode 100644 index 000000000..48b6ac9cb --- /dev/null +++ b/special-pages/pages/new-tab/src/letters/p.svg @@ -0,0 +1,3 @@ + + + diff --git a/special-pages/pages/new-tab/src/letters/q.svg b/special-pages/pages/new-tab/src/letters/q.svg new file mode 100644 index 000000000..f57317031 --- /dev/null +++ b/special-pages/pages/new-tab/src/letters/q.svg @@ -0,0 +1,3 @@ + + + diff --git a/special-pages/pages/new-tab/src/letters/r.svg b/special-pages/pages/new-tab/src/letters/r.svg new file mode 100644 index 000000000..756612ba3 --- /dev/null +++ b/special-pages/pages/new-tab/src/letters/r.svg @@ -0,0 +1,3 @@ + + + diff --git a/special-pages/pages/new-tab/src/letters/s.svg b/special-pages/pages/new-tab/src/letters/s.svg new file mode 100644 index 000000000..28df39fc6 --- /dev/null +++ b/special-pages/pages/new-tab/src/letters/s.svg @@ -0,0 +1,3 @@ + + + diff --git a/special-pages/pages/new-tab/src/letters/t.svg b/special-pages/pages/new-tab/src/letters/t.svg new file mode 100644 index 000000000..6a05c4f8c --- /dev/null +++ b/special-pages/pages/new-tab/src/letters/t.svg @@ -0,0 +1,3 @@ + + + diff --git a/special-pages/pages/new-tab/src/letters/u.svg b/special-pages/pages/new-tab/src/letters/u.svg new file mode 100644 index 000000000..8cc89161e --- /dev/null +++ b/special-pages/pages/new-tab/src/letters/u.svg @@ -0,0 +1,3 @@ + + + diff --git a/special-pages/pages/new-tab/src/letters/v.svg b/special-pages/pages/new-tab/src/letters/v.svg new file mode 100644 index 000000000..f2ffde362 --- /dev/null +++ b/special-pages/pages/new-tab/src/letters/v.svg @@ -0,0 +1,3 @@ + + + diff --git a/special-pages/pages/new-tab/src/letters/w.svg b/special-pages/pages/new-tab/src/letters/w.svg new file mode 100644 index 000000000..21770684b --- /dev/null +++ b/special-pages/pages/new-tab/src/letters/w.svg @@ -0,0 +1,3 @@ + + + diff --git a/special-pages/pages/new-tab/src/letters/x.svg b/special-pages/pages/new-tab/src/letters/x.svg new file mode 100644 index 000000000..eae7c6206 --- /dev/null +++ b/special-pages/pages/new-tab/src/letters/x.svg @@ -0,0 +1,3 @@ + + + diff --git a/special-pages/pages/new-tab/src/letters/y.svg b/special-pages/pages/new-tab/src/letters/y.svg new file mode 100644 index 000000000..c8da8d8b7 --- /dev/null +++ b/special-pages/pages/new-tab/src/letters/y.svg @@ -0,0 +1,3 @@ + + + diff --git a/special-pages/pages/new-tab/src/letters/z.svg b/special-pages/pages/new-tab/src/letters/z.svg new file mode 100644 index 000000000..848704780 --- /dev/null +++ b/special-pages/pages/new-tab/src/letters/z.svg @@ -0,0 +1,3 @@ + + + diff --git a/special-pages/types/new-tab.ts b/special-pages/types/new-tab.ts index 3d87d9ebf..05258421e 100644 --- a/special-pages/types/new-tab.ts +++ b/special-pages/types/new-tab.ts @@ -35,6 +35,11 @@ export type RMFIcon = "Announce" | "DDGAnnounce" | "CriticalUpdate" | "AppUpdate export interface NewTabMessages { notifications: | ContextMenuNotification + | FavoritesAddNotification + | FavoritesMoveNotification + | FavoritesOpenNotification + | FavoritesOpenContextMenuNotification + | FavoritesSetConfigNotification | ReportInitExceptionNotification | ReportPageExceptionNotification | RmfDismissNotification @@ -43,8 +48,16 @@ export interface NewTabMessages { | StatsSetConfigNotification | UpdateNotificationDismissNotification | WidgetsSetConfigNotification; - requests: InitialSetupRequest | RmfGetDataRequest | StatsGetConfigRequest | StatsGetDataRequest; + requests: + | FavoritesGetConfigRequest + | FavoritesGetDataRequest + | InitialSetupRequest + | RmfGetDataRequest + | StatsGetConfigRequest + | StatsGetDataRequest; subscriptions: + | FavoritesOnConfigUpdateSubscription + | FavoritesOnDataUpdateSubscription | RmfOnDataUpdateSubscription | StatsOnConfigUpdateSubscription | StatsOnDataUpdateSubscription @@ -68,6 +81,82 @@ export interface VisibilityMenuItem { */ title: string; } +/** + * Generated from @see "../messages/new-tab/favorites_add.notify.json" + */ +export interface FavoritesAddNotification { + method: "favorites_add"; +} +/** + * Generated from @see "../messages/new-tab/favorites_move.notify.json" + */ +export interface FavoritesMoveNotification { + method: "favorites_move"; + params: FavoritesMoveAction; +} +export interface FavoritesMoveAction { + /** + * Entity ID + */ + id: string; + /** + * zero-indexed target + */ + targetIndex: number; +} +/** + * Generated from @see "../messages/new-tab/favorites_open.notify.json" + */ +export interface FavoritesOpenNotification { + method: "favorites_open"; + params: FavoritesOpenAction; +} +export interface FavoritesOpenAction { + /** + * Entity ID + */ + id: string; + target: "same-tab" | "new-tab" | "new-window"; +} +/** + * Generated from @see "../messages/new-tab/favorites_openContextMenu.notify.json" + */ +export interface FavoritesOpenContextMenuNotification { + method: "favorites_openContextMenu"; + params: FavoritesOpenContextMenuAction; +} +export interface FavoritesOpenContextMenuAction { + /** + * Entity ID + */ + id: string; +} +/** + * Generated from @see "../messages/new-tab/favorites_setConfig.notify.json" + */ +export interface FavoritesSetConfigNotification { + method: "favorites_setConfig"; + params: FavoritesConfig; +} +export interface FavoritesConfig { + expansion: Expansion; + animation?: Animation; +} +export interface None { + kind: "none"; +} +/** + * Use CSS view transitions where available + */ +export interface ViewTransitions { + kind: "view-transitions"; +} +/** + * Use the auto-animate library to provide default animation styles + */ +export interface Auto { + kind: "auto-animate"; +} /** * Generated from @see "../messages/new-tab/reportInitException.notify.json" */ @@ -129,21 +218,6 @@ export interface StatsConfig { expansion: Expansion; animation?: Animation; } -export interface None { - kind: "none"; -} -/** - * Use CSS view transitions where available - */ -export interface ViewTransitions { - kind: "view-transitions"; -} -/** - * Use the auto-animate library to provide default animation styles - */ -export interface Auto { - kind: "auto-animate"; -} /** * Generated from @see "../messages/new-tab/updateNotification_dismiss.notify.json" */ @@ -164,6 +238,33 @@ export interface WidgetConfigItem { id: string; visibility: WidgetVisibility; } +/** + * Generated from @see "../messages/new-tab/favorites_getConfig.request.json" + */ +export interface FavoritesGetConfigRequest { + method: "favorites_getConfig"; + result: FavoritesConfig; +} +/** + * Generated from @see "../messages/new-tab/favorites_getData.request.json" + */ +export interface FavoritesGetDataRequest { + method: "favorites_getData"; + result: FavoritesData; +} +export interface FavoritesData { + favorites: Favorite[]; +} +export interface Favorite { + url: string; + id: string; + title: string; + favicon: null | FavoriteFavicon; +} +export interface FavoriteFavicon { + src: string; + maxAvailableSize: number; +} /** * Generated from @see "../messages/new-tab/initialSetup.request.json" */ @@ -262,6 +363,20 @@ export interface TrackerCompany { displayName: string; count: number; } +/** + * Generated from @see "../messages/new-tab/favorites_onConfigUpdate.subscribe.json" + */ +export interface FavoritesOnConfigUpdateSubscription { + subscriptionEvent: "favorites_onConfigUpdate"; + params: FavoritesConfig; +} +/** + * Generated from @see "../messages/new-tab/favorites_onDataUpdate.subscribe.json" + */ +export interface FavoritesOnDataUpdateSubscription { + subscriptionEvent: "favorites_onDataUpdate"; + params: FavoritesData; +} /** * Generated from @see "../messages/new-tab/rmf_onDataUpdate.subscribe.json" */ From c1126cd261bcc9539d591fe061568e345937fe05 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Nov 2024 16:52:49 +0000 Subject: [PATCH 4/5] Bump rollup from 4.24.3 to 4.24.4 in the rollup group (#1196) Bumps the rollup group with 1 update: [rollup](https://github.com/rollup/rollup). Updates `rollup` from 4.24.3 to 4.24.4 - [Release notes](https://github.com/rollup/rollup/releases) - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md) - [Commits](https://github.com/rollup/rollup/compare/v4.24.3...v4.24.4) --- updated-dependencies: - dependency-name: rollup dependency-type: direct:development update-type: version-update:semver-patch dependency-group: rollup ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Shane Osbourne --- injected/package.json | 2 +- package-lock.json | 308 +++++++++++++++++++++--------------------- 2 files changed, 155 insertions(+), 155 deletions(-) diff --git a/injected/package.json b/injected/package.json index ae1839e34..008db67a6 100644 --- a/injected/package.json +++ b/injected/package.json @@ -50,7 +50,7 @@ "fast-check": "^3.23.1", "jasmine": "^5.4.0", "minimist": "^1.2.8", - "rollup": "^4.24.3", + "rollup": "^4.24.4", "rollup-plugin-import-css": "^3.5.6", "rollup-plugin-svg-import": "^3.0.0" } diff --git a/package-lock.json b/package-lock.json index 738e23c44..309a9066c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -49,7 +49,7 @@ "fast-check": "^3.23.1", "jasmine": "^5.4.0", "minimist": "^1.2.8", - "rollup": "^4.24.3", + "rollup": "^4.24.4", "rollup-plugin-import-css": "^3.5.6", "rollup-plugin-svg-import": "^3.0.0" } @@ -1382,9 +1382,9 @@ } }, "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.24.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.24.3.tgz", - "integrity": "sha512-ufb2CH2KfBWPJok95frEZZ82LtDl0A6QKTa8MoM+cWwDZvVGl5/jNb79pIhRvAalUu+7LD91VYR0nwRD799HkQ==", + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.24.4.tgz", + "integrity": "sha512-jfUJrFct/hTA0XDM5p/htWKoNNTbDLY0KRwEt6pyOA6k2fmk0WVwl65PdUdJZgzGEHWx+49LilkcSaumQRyNQw==", "cpu": [ "arm" ], @@ -1395,9 +1395,9 @@ ] }, "node_modules/@rollup/rollup-android-arm64": { - "version": "4.24.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.24.3.tgz", - "integrity": "sha512-iAHpft/eQk9vkWIV5t22V77d90CRofgR2006UiCjHcHJFVI1E0oBkQIAbz+pLtthFw3hWEmVB4ilxGyBf48i2Q==", + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.24.4.tgz", + "integrity": "sha512-j4nrEO6nHU1nZUuCfRKoCcvh7PIywQPUCBa2UsootTHvTHIoIu2BzueInGJhhvQO/2FTRdNYpf63xsgEqH9IhA==", "cpu": [ "arm64" ], @@ -1408,9 +1408,9 @@ ] }, "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.24.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.24.3.tgz", - "integrity": "sha512-QPW2YmkWLlvqmOa2OwrfqLJqkHm7kJCIMq9kOz40Zo9Ipi40kf9ONG5Sz76zszrmIZZ4hgRIkez69YnTHgEz1w==", + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.24.4.tgz", + "integrity": "sha512-GmU/QgGtBTeraKyldC7cDVVvAJEOr3dFLKneez/n7BvX57UdhOqDsVwzU7UOnYA7AAOt+Xb26lk79PldDHgMIQ==", "cpu": [ "arm64" ], @@ -1421,9 +1421,9 @@ ] }, "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.24.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.24.3.tgz", - "integrity": "sha512-KO0pN5x3+uZm1ZXeIfDqwcvnQ9UEGN8JX5ufhmgH5Lz4ujjZMAnxQygZAVGemFWn+ZZC0FQopruV4lqmGMshow==", + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.24.4.tgz", + "integrity": "sha512-N6oDBiZCBKlwYcsEPXGDE4g9RoxZLK6vT98M8111cW7VsVJFpNEqvJeIPfsCzbf0XEakPslh72X0gnlMi4Ddgg==", "cpu": [ "x64" ], @@ -1434,9 +1434,9 @@ ] }, "node_modules/@rollup/rollup-freebsd-arm64": { - "version": "4.24.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.24.3.tgz", - "integrity": "sha512-CsC+ZdIiZCZbBI+aRlWpYJMSWvVssPuWqrDy/zi9YfnatKKSLFCe6fjna1grHuo/nVaHG+kiglpRhyBQYRTK4A==", + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.24.4.tgz", + "integrity": "sha512-py5oNShCCjCyjWXCZNrRGRpjWsF0ic8f4ieBNra5buQz0O/U6mMXCpC1LvrHuhJsNPgRt36tSYMidGzZiJF6mw==", "cpu": [ "arm64" ], @@ -1447,9 +1447,9 @@ ] }, "node_modules/@rollup/rollup-freebsd-x64": { - "version": "4.24.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.24.3.tgz", - "integrity": "sha512-F0nqiLThcfKvRQhZEzMIXOQG4EeX61im61VYL1jo4eBxv4aZRmpin6crnBJQ/nWnCsjH5F6J3W6Stdm0mBNqBg==", + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.24.4.tgz", + "integrity": "sha512-L7VVVW9FCnTTp4i7KrmHeDsDvjB4++KOBENYtNYAiYl96jeBThFfhP6HVxL74v4SiZEVDH/1ILscR5U9S4ms4g==", "cpu": [ "x64" ], @@ -1460,9 +1460,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.24.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.24.3.tgz", - "integrity": "sha512-KRSFHyE/RdxQ1CSeOIBVIAxStFC/hnBgVcaiCkQaVC+EYDtTe4X7z5tBkFyRoBgUGtB6Xg6t9t2kulnX6wJc6A==", + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.24.4.tgz", + "integrity": "sha512-10ICosOwYChROdQoQo589N5idQIisxjaFE/PAnX2i0Zr84mY0k9zul1ArH0rnJ/fpgiqfu13TFZR5A5YJLOYZA==", "cpu": [ "arm" ], @@ -1473,9 +1473,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-musleabihf": { - "version": "4.24.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.24.3.tgz", - "integrity": "sha512-h6Q8MT+e05zP5BxEKz0vi0DhthLdrNEnspdLzkoFqGwnmOzakEHSlXfVyA4HJ322QtFy7biUAVFPvIDEDQa6rw==", + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.24.4.tgz", + "integrity": "sha512-ySAfWs69LYC7QhRDZNKqNhz2UKN8LDfbKSMAEtoEI0jitwfAG2iZwVqGACJT+kfYvvz3/JgsLlcBP+WWoKCLcw==", "cpu": [ "arm" ], @@ -1486,9 +1486,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.24.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.24.3.tgz", - "integrity": "sha512-fKElSyXhXIJ9pqiYRqisfirIo2Z5pTTve5K438URf08fsypXrEkVmShkSfM8GJ1aUyvjakT+fn2W7Czlpd/0FQ==", + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.24.4.tgz", + "integrity": "sha512-uHYJ0HNOI6pGEeZ/5mgm5arNVTI0nLlmrbdph+pGXpC9tFHFDQmDMOEqkmUObRfosJqpU8RliYoGz06qSdtcjg==", "cpu": [ "arm64" ], @@ -1499,9 +1499,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.24.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.24.3.tgz", - "integrity": "sha512-YlddZSUk8G0px9/+V9PVilVDC6ydMz7WquxozToozSnfFK6wa6ne1ATUjUvjin09jp34p84milxlY5ikueoenw==", + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.24.4.tgz", + "integrity": "sha512-38yiWLemQf7aLHDgTg85fh3hW9stJ0Muk7+s6tIkSUOMmi4Xbv5pH/5Bofnsb6spIwD5FJiR+jg71f0CH5OzoA==", "cpu": [ "arm64" ], @@ -1512,9 +1512,9 @@ ] }, "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { - "version": "4.24.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.24.3.tgz", - "integrity": "sha512-yNaWw+GAO8JjVx3s3cMeG5Esz1cKVzz8PkTJSfYzE5u7A+NvGmbVFEHP+BikTIyYWuz0+DX9kaA3pH9Sqxp69g==", + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.24.4.tgz", + "integrity": "sha512-q73XUPnkwt9ZNF2xRS4fvneSuaHw2BXuV5rI4cw0fWYVIWIBeDZX7c7FWhFQPNTnE24172K30I+dViWRVD9TwA==", "cpu": [ "ppc64" ], @@ -1525,9 +1525,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.24.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.24.3.tgz", - "integrity": "sha512-lWKNQfsbpv14ZCtM/HkjCTm4oWTKTfxPmr7iPfp3AHSqyoTz5AgLemYkWLwOBWc+XxBbrU9SCokZP0WlBZM9lA==", + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.24.4.tgz", + "integrity": "sha512-Aie/TbmQi6UXokJqDZdmTJuZBCU3QBDA8oTKRGtd4ABi/nHgXICulfg1KI6n9/koDsiDbvHAiQO3YAUNa/7BCw==", "cpu": [ "riscv64" ], @@ -1538,9 +1538,9 @@ ] }, "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.24.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.24.3.tgz", - "integrity": "sha512-HoojGXTC2CgCcq0Woc/dn12wQUlkNyfH0I1ABK4Ni9YXyFQa86Fkt2Q0nqgLfbhkyfQ6003i3qQk9pLh/SpAYw==", + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.24.4.tgz", + "integrity": "sha512-P8MPErVO/y8ohWSP9JY7lLQ8+YMHfTI4bAdtCi3pC2hTeqFJco2jYspzOzTUB8hwUWIIu1xwOrJE11nP+0JFAQ==", "cpu": [ "s390x" ], @@ -1551,9 +1551,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.24.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.24.3.tgz", - "integrity": "sha512-mnEOh4iE4USSccBOtcrjF5nj+5/zm6NcNhbSEfR3Ot0pxBwvEn5QVUXcuOwwPkapDtGZ6pT02xLoPaNv06w7KQ==", + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.24.4.tgz", + "integrity": "sha512-K03TljaaoPK5FOyNMZAAEmhlyO49LaE4qCsr0lYHUKyb6QacTNF9pnfPpXnFlFD3TXuFbFbz7tJ51FujUXkXYA==", "cpu": [ "x64" ], @@ -1564,9 +1564,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.24.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.24.3.tgz", - "integrity": "sha512-rMTzawBPimBQkG9NKpNHvquIUTQPzrnPxPbCY1Xt+mFkW7pshvyIS5kYgcf74goxXOQk0CP3EoOC1zcEezKXhw==", + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.24.4.tgz", + "integrity": "sha512-VJYl4xSl/wqG2D5xTYncVWW+26ICV4wubwN9Gs5NrqhJtayikwCXzPL8GDsLnaLU3WwhQ8W02IinYSFJfyo34Q==", "cpu": [ "x64" ], @@ -1577,9 +1577,9 @@ ] }, "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.24.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.24.3.tgz", - "integrity": "sha512-2lg1CE305xNvnH3SyiKwPVsTVLCg4TmNCF1z7PSHX2uZY2VbUpdkgAllVoISD7JO7zu+YynpWNSKAtOrX3AiuA==", + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.24.4.tgz", + "integrity": "sha512-ku2GvtPwQfCqoPFIJCqZ8o7bJcj+Y54cZSr43hHca6jLwAiCbZdBUOrqE6y29QFajNAzzpIOwsckaTFmN6/8TA==", "cpu": [ "arm64" ], @@ -1590,9 +1590,9 @@ ] }, "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.24.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.24.3.tgz", - "integrity": "sha512-9SjYp1sPyxJsPWuhOCX6F4jUMXGbVVd5obVpoVEi8ClZqo52ViZewA6eFz85y8ezuOA+uJMP5A5zo6Oz4S5rVQ==", + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.24.4.tgz", + "integrity": "sha512-V3nCe+eTt/W6UYNr/wGvO1fLpHUrnlirlypZfKCT1fG6hWfqhPgQV/K/mRBXBpxc0eKLIF18pIOFVPh0mqHjlg==", "cpu": [ "ia32" ], @@ -1603,9 +1603,9 @@ ] }, "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.24.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.24.3.tgz", - "integrity": "sha512-HGZgRFFYrMrP3TJlq58nR1xy8zHKId25vhmm5S9jETEfDf6xybPxsavFTJaufe2zgOGYJBskGlj49CwtEuFhWQ==", + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.24.4.tgz", + "integrity": "sha512-LTw1Dfd0mBIEqUVCxbvTE/LLo+9ZxVC9k99v1v4ahg9Aak6FpqOfNu5kRkeTAn0wphoC4JU7No1/rL+bBCEwhg==", "cpu": [ "x64" ], @@ -6704,9 +6704,9 @@ } }, "node_modules/rollup": { - "version": "4.24.3", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.24.3.tgz", - "integrity": "sha512-HBW896xR5HGmoksbi3JBDtmVzWiPAYqp7wip50hjQ67JbDz61nyoMPdqu1DvVW9asYb2M65Z20ZHsyJCMqMyDg==", + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.24.4.tgz", + "integrity": "sha512-vGorVWIsWfX3xbcyAS+I047kFKapHYivmkaT63Smj77XwvLSJos6M1xGqZnBPFQFBRZDOcG1QnYEIxAvTr/HjA==", "dev": true, "dependencies": { "@types/estree": "1.0.6" @@ -6719,24 +6719,24 @@ "npm": ">=8.0.0" }, "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.24.3", - "@rollup/rollup-android-arm64": "4.24.3", - "@rollup/rollup-darwin-arm64": "4.24.3", - "@rollup/rollup-darwin-x64": "4.24.3", - "@rollup/rollup-freebsd-arm64": "4.24.3", - "@rollup/rollup-freebsd-x64": "4.24.3", - "@rollup/rollup-linux-arm-gnueabihf": "4.24.3", - "@rollup/rollup-linux-arm-musleabihf": "4.24.3", - "@rollup/rollup-linux-arm64-gnu": "4.24.3", - "@rollup/rollup-linux-arm64-musl": "4.24.3", - "@rollup/rollup-linux-powerpc64le-gnu": "4.24.3", - "@rollup/rollup-linux-riscv64-gnu": "4.24.3", - "@rollup/rollup-linux-s390x-gnu": "4.24.3", - "@rollup/rollup-linux-x64-gnu": "4.24.3", - "@rollup/rollup-linux-x64-musl": "4.24.3", - "@rollup/rollup-win32-arm64-msvc": "4.24.3", - "@rollup/rollup-win32-ia32-msvc": "4.24.3", - "@rollup/rollup-win32-x64-msvc": "4.24.3", + "@rollup/rollup-android-arm-eabi": "4.24.4", + "@rollup/rollup-android-arm64": "4.24.4", + "@rollup/rollup-darwin-arm64": "4.24.4", + "@rollup/rollup-darwin-x64": "4.24.4", + "@rollup/rollup-freebsd-arm64": "4.24.4", + "@rollup/rollup-freebsd-x64": "4.24.4", + "@rollup/rollup-linux-arm-gnueabihf": "4.24.4", + "@rollup/rollup-linux-arm-musleabihf": "4.24.4", + "@rollup/rollup-linux-arm64-gnu": "4.24.4", + "@rollup/rollup-linux-arm64-musl": "4.24.4", + "@rollup/rollup-linux-powerpc64le-gnu": "4.24.4", + "@rollup/rollup-linux-riscv64-gnu": "4.24.4", + "@rollup/rollup-linux-s390x-gnu": "4.24.4", + "@rollup/rollup-linux-x64-gnu": "4.24.4", + "@rollup/rollup-linux-x64-musl": "4.24.4", + "@rollup/rollup-win32-arm64-msvc": "4.24.4", + "@rollup/rollup-win32-ia32-msvc": "4.24.4", + "@rollup/rollup-win32-x64-msvc": "4.24.4", "fsevents": "~2.3.2" } }, @@ -8832,128 +8832,128 @@ } }, "@rollup/rollup-android-arm-eabi": { - "version": "4.24.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.24.3.tgz", - "integrity": "sha512-ufb2CH2KfBWPJok95frEZZ82LtDl0A6QKTa8MoM+cWwDZvVGl5/jNb79pIhRvAalUu+7LD91VYR0nwRD799HkQ==", + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.24.4.tgz", + "integrity": "sha512-jfUJrFct/hTA0XDM5p/htWKoNNTbDLY0KRwEt6pyOA6k2fmk0WVwl65PdUdJZgzGEHWx+49LilkcSaumQRyNQw==", "dev": true, "optional": true }, "@rollup/rollup-android-arm64": { - "version": "4.24.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.24.3.tgz", - "integrity": "sha512-iAHpft/eQk9vkWIV5t22V77d90CRofgR2006UiCjHcHJFVI1E0oBkQIAbz+pLtthFw3hWEmVB4ilxGyBf48i2Q==", + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.24.4.tgz", + "integrity": "sha512-j4nrEO6nHU1nZUuCfRKoCcvh7PIywQPUCBa2UsootTHvTHIoIu2BzueInGJhhvQO/2FTRdNYpf63xsgEqH9IhA==", "dev": true, "optional": true }, "@rollup/rollup-darwin-arm64": { - "version": "4.24.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.24.3.tgz", - "integrity": "sha512-QPW2YmkWLlvqmOa2OwrfqLJqkHm7kJCIMq9kOz40Zo9Ipi40kf9ONG5Sz76zszrmIZZ4hgRIkez69YnTHgEz1w==", + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.24.4.tgz", + "integrity": "sha512-GmU/QgGtBTeraKyldC7cDVVvAJEOr3dFLKneez/n7BvX57UdhOqDsVwzU7UOnYA7AAOt+Xb26lk79PldDHgMIQ==", "dev": true, "optional": true }, "@rollup/rollup-darwin-x64": { - "version": "4.24.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.24.3.tgz", - "integrity": "sha512-KO0pN5x3+uZm1ZXeIfDqwcvnQ9UEGN8JX5ufhmgH5Lz4ujjZMAnxQygZAVGemFWn+ZZC0FQopruV4lqmGMshow==", + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.24.4.tgz", + "integrity": "sha512-N6oDBiZCBKlwYcsEPXGDE4g9RoxZLK6vT98M8111cW7VsVJFpNEqvJeIPfsCzbf0XEakPslh72X0gnlMi4Ddgg==", "dev": true, "optional": true }, "@rollup/rollup-freebsd-arm64": { - "version": "4.24.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.24.3.tgz", - "integrity": "sha512-CsC+ZdIiZCZbBI+aRlWpYJMSWvVssPuWqrDy/zi9YfnatKKSLFCe6fjna1grHuo/nVaHG+kiglpRhyBQYRTK4A==", + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.24.4.tgz", + "integrity": "sha512-py5oNShCCjCyjWXCZNrRGRpjWsF0ic8f4ieBNra5buQz0O/U6mMXCpC1LvrHuhJsNPgRt36tSYMidGzZiJF6mw==", "dev": true, "optional": true }, "@rollup/rollup-freebsd-x64": { - "version": "4.24.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.24.3.tgz", - "integrity": "sha512-F0nqiLThcfKvRQhZEzMIXOQG4EeX61im61VYL1jo4eBxv4aZRmpin6crnBJQ/nWnCsjH5F6J3W6Stdm0mBNqBg==", + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.24.4.tgz", + "integrity": "sha512-L7VVVW9FCnTTp4i7KrmHeDsDvjB4++KOBENYtNYAiYl96jeBThFfhP6HVxL74v4SiZEVDH/1ILscR5U9S4ms4g==", "dev": true, "optional": true }, "@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.24.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.24.3.tgz", - "integrity": "sha512-KRSFHyE/RdxQ1CSeOIBVIAxStFC/hnBgVcaiCkQaVC+EYDtTe4X7z5tBkFyRoBgUGtB6Xg6t9t2kulnX6wJc6A==", + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.24.4.tgz", + "integrity": "sha512-10ICosOwYChROdQoQo589N5idQIisxjaFE/PAnX2i0Zr84mY0k9zul1ArH0rnJ/fpgiqfu13TFZR5A5YJLOYZA==", "dev": true, "optional": true }, "@rollup/rollup-linux-arm-musleabihf": { - "version": "4.24.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.24.3.tgz", - "integrity": "sha512-h6Q8MT+e05zP5BxEKz0vi0DhthLdrNEnspdLzkoFqGwnmOzakEHSlXfVyA4HJ322QtFy7biUAVFPvIDEDQa6rw==", + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.24.4.tgz", + "integrity": "sha512-ySAfWs69LYC7QhRDZNKqNhz2UKN8LDfbKSMAEtoEI0jitwfAG2iZwVqGACJT+kfYvvz3/JgsLlcBP+WWoKCLcw==", "dev": true, "optional": true }, "@rollup/rollup-linux-arm64-gnu": { - "version": "4.24.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.24.3.tgz", - "integrity": "sha512-fKElSyXhXIJ9pqiYRqisfirIo2Z5pTTve5K438URf08fsypXrEkVmShkSfM8GJ1aUyvjakT+fn2W7Czlpd/0FQ==", + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.24.4.tgz", + "integrity": "sha512-uHYJ0HNOI6pGEeZ/5mgm5arNVTI0nLlmrbdph+pGXpC9tFHFDQmDMOEqkmUObRfosJqpU8RliYoGz06qSdtcjg==", "dev": true, "optional": true }, "@rollup/rollup-linux-arm64-musl": { - "version": "4.24.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.24.3.tgz", - "integrity": "sha512-YlddZSUk8G0px9/+V9PVilVDC6ydMz7WquxozToozSnfFK6wa6ne1ATUjUvjin09jp34p84milxlY5ikueoenw==", + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.24.4.tgz", + "integrity": "sha512-38yiWLemQf7aLHDgTg85fh3hW9stJ0Muk7+s6tIkSUOMmi4Xbv5pH/5Bofnsb6spIwD5FJiR+jg71f0CH5OzoA==", "dev": true, "optional": true }, "@rollup/rollup-linux-powerpc64le-gnu": { - "version": "4.24.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.24.3.tgz", - "integrity": "sha512-yNaWw+GAO8JjVx3s3cMeG5Esz1cKVzz8PkTJSfYzE5u7A+NvGmbVFEHP+BikTIyYWuz0+DX9kaA3pH9Sqxp69g==", + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.24.4.tgz", + "integrity": "sha512-q73XUPnkwt9ZNF2xRS4fvneSuaHw2BXuV5rI4cw0fWYVIWIBeDZX7c7FWhFQPNTnE24172K30I+dViWRVD9TwA==", "dev": true, "optional": true }, "@rollup/rollup-linux-riscv64-gnu": { - "version": "4.24.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.24.3.tgz", - "integrity": "sha512-lWKNQfsbpv14ZCtM/HkjCTm4oWTKTfxPmr7iPfp3AHSqyoTz5AgLemYkWLwOBWc+XxBbrU9SCokZP0WlBZM9lA==", + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.24.4.tgz", + "integrity": "sha512-Aie/TbmQi6UXokJqDZdmTJuZBCU3QBDA8oTKRGtd4ABi/nHgXICulfg1KI6n9/koDsiDbvHAiQO3YAUNa/7BCw==", "dev": true, "optional": true }, "@rollup/rollup-linux-s390x-gnu": { - "version": "4.24.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.24.3.tgz", - "integrity": "sha512-HoojGXTC2CgCcq0Woc/dn12wQUlkNyfH0I1ABK4Ni9YXyFQa86Fkt2Q0nqgLfbhkyfQ6003i3qQk9pLh/SpAYw==", + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.24.4.tgz", + "integrity": "sha512-P8MPErVO/y8ohWSP9JY7lLQ8+YMHfTI4bAdtCi3pC2hTeqFJco2jYspzOzTUB8hwUWIIu1xwOrJE11nP+0JFAQ==", "dev": true, "optional": true }, "@rollup/rollup-linux-x64-gnu": { - "version": "4.24.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.24.3.tgz", - "integrity": "sha512-mnEOh4iE4USSccBOtcrjF5nj+5/zm6NcNhbSEfR3Ot0pxBwvEn5QVUXcuOwwPkapDtGZ6pT02xLoPaNv06w7KQ==", + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.24.4.tgz", + "integrity": "sha512-K03TljaaoPK5FOyNMZAAEmhlyO49LaE4qCsr0lYHUKyb6QacTNF9pnfPpXnFlFD3TXuFbFbz7tJ51FujUXkXYA==", "dev": true, "optional": true }, "@rollup/rollup-linux-x64-musl": { - "version": "4.24.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.24.3.tgz", - "integrity": "sha512-rMTzawBPimBQkG9NKpNHvquIUTQPzrnPxPbCY1Xt+mFkW7pshvyIS5kYgcf74goxXOQk0CP3EoOC1zcEezKXhw==", + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.24.4.tgz", + "integrity": "sha512-VJYl4xSl/wqG2D5xTYncVWW+26ICV4wubwN9Gs5NrqhJtayikwCXzPL8GDsLnaLU3WwhQ8W02IinYSFJfyo34Q==", "dev": true, "optional": true }, "@rollup/rollup-win32-arm64-msvc": { - "version": "4.24.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.24.3.tgz", - "integrity": "sha512-2lg1CE305xNvnH3SyiKwPVsTVLCg4TmNCF1z7PSHX2uZY2VbUpdkgAllVoISD7JO7zu+YynpWNSKAtOrX3AiuA==", + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.24.4.tgz", + "integrity": "sha512-ku2GvtPwQfCqoPFIJCqZ8o7bJcj+Y54cZSr43hHca6jLwAiCbZdBUOrqE6y29QFajNAzzpIOwsckaTFmN6/8TA==", "dev": true, "optional": true }, "@rollup/rollup-win32-ia32-msvc": { - "version": "4.24.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.24.3.tgz", - "integrity": "sha512-9SjYp1sPyxJsPWuhOCX6F4jUMXGbVVd5obVpoVEi8ClZqo52ViZewA6eFz85y8ezuOA+uJMP5A5zo6Oz4S5rVQ==", + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.24.4.tgz", + "integrity": "sha512-V3nCe+eTt/W6UYNr/wGvO1fLpHUrnlirlypZfKCT1fG6hWfqhPgQV/K/mRBXBpxc0eKLIF18pIOFVPh0mqHjlg==", "dev": true, "optional": true }, "@rollup/rollup-win32-x64-msvc": { - "version": "4.24.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.24.3.tgz", - "integrity": "sha512-HGZgRFFYrMrP3TJlq58nR1xy8zHKId25vhmm5S9jETEfDf6xybPxsavFTJaufe2zgOGYJBskGlj49CwtEuFhWQ==", + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.24.4.tgz", + "integrity": "sha512-LTw1Dfd0mBIEqUVCxbvTE/LLo+9ZxVC9k99v1v4ahg9Aak6FpqOfNu5kRkeTAn0wphoC4JU7No1/rL+bBCEwhg==", "dev": true, "optional": true }, @@ -11217,7 +11217,7 @@ "jasmine": "^5.4.0", "minimist": "^1.2.8", "parse-address": "^1.1.2", - "rollup": "^4.24.3", + "rollup": "^4.24.4", "rollup-plugin-import-css": "^3.5.6", "rollup-plugin-svg-import": "^3.0.0", "seedrandom": "^3.0.5", @@ -12551,29 +12551,29 @@ } }, "rollup": { - "version": "4.24.3", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.24.3.tgz", - "integrity": "sha512-HBW896xR5HGmoksbi3JBDtmVzWiPAYqp7wip50hjQ67JbDz61nyoMPdqu1DvVW9asYb2M65Z20ZHsyJCMqMyDg==", - "dev": true, - "requires": { - "@rollup/rollup-android-arm-eabi": "4.24.3", - "@rollup/rollup-android-arm64": "4.24.3", - "@rollup/rollup-darwin-arm64": "4.24.3", - "@rollup/rollup-darwin-x64": "4.24.3", - "@rollup/rollup-freebsd-arm64": "4.24.3", - "@rollup/rollup-freebsd-x64": "4.24.3", - "@rollup/rollup-linux-arm-gnueabihf": "4.24.3", - "@rollup/rollup-linux-arm-musleabihf": "4.24.3", - "@rollup/rollup-linux-arm64-gnu": "4.24.3", - "@rollup/rollup-linux-arm64-musl": "4.24.3", - "@rollup/rollup-linux-powerpc64le-gnu": "4.24.3", - "@rollup/rollup-linux-riscv64-gnu": "4.24.3", - "@rollup/rollup-linux-s390x-gnu": "4.24.3", - "@rollup/rollup-linux-x64-gnu": "4.24.3", - "@rollup/rollup-linux-x64-musl": "4.24.3", - "@rollup/rollup-win32-arm64-msvc": "4.24.3", - "@rollup/rollup-win32-ia32-msvc": "4.24.3", - "@rollup/rollup-win32-x64-msvc": "4.24.3", + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.24.4.tgz", + "integrity": "sha512-vGorVWIsWfX3xbcyAS+I047kFKapHYivmkaT63Smj77XwvLSJos6M1xGqZnBPFQFBRZDOcG1QnYEIxAvTr/HjA==", + "dev": true, + "requires": { + "@rollup/rollup-android-arm-eabi": "4.24.4", + "@rollup/rollup-android-arm64": "4.24.4", + "@rollup/rollup-darwin-arm64": "4.24.4", + "@rollup/rollup-darwin-x64": "4.24.4", + "@rollup/rollup-freebsd-arm64": "4.24.4", + "@rollup/rollup-freebsd-x64": "4.24.4", + "@rollup/rollup-linux-arm-gnueabihf": "4.24.4", + "@rollup/rollup-linux-arm-musleabihf": "4.24.4", + "@rollup/rollup-linux-arm64-gnu": "4.24.4", + "@rollup/rollup-linux-arm64-musl": "4.24.4", + "@rollup/rollup-linux-powerpc64le-gnu": "4.24.4", + "@rollup/rollup-linux-riscv64-gnu": "4.24.4", + "@rollup/rollup-linux-s390x-gnu": "4.24.4", + "@rollup/rollup-linux-x64-gnu": "4.24.4", + "@rollup/rollup-linux-x64-musl": "4.24.4", + "@rollup/rollup-win32-arm64-msvc": "4.24.4", + "@rollup/rollup-win32-ia32-msvc": "4.24.4", + "@rollup/rollup-win32-x64-msvc": "4.24.4", "@types/estree": "1.0.6", "fsevents": "~2.3.2" } From 015f788b62b14bd5902e03fda9f8918c58b69315 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Nov 2024 18:43:25 +0000 Subject: [PATCH 5/5] Bump the typescript group with 3 updates (#1195) Bumps the typescript group with 3 updates: [typedoc](https://github.com/TypeStrong/TypeDoc), [@types/chrome](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chrome) and [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node). Updates `typedoc` from 0.26.10 to 0.26.11 - [Release notes](https://github.com/TypeStrong/TypeDoc/releases) - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md) - [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.26.10...v0.26.11) Updates `@types/chrome` from 0.0.279 to 0.0.280 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chrome) Updates `@types/node` from 22.8.6 to 22.8.7 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: typedoc dependency-type: direct:development update-type: version-update:semver-patch dependency-group: typescript - dependency-name: "@types/chrome" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: typescript - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: typescript ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- injected/package.json | 4 ++-- package-lock.json | 47 +++++++++++++++++++++---------------------- package.json | 2 +- 3 files changed, 26 insertions(+), 27 deletions(-) diff --git a/injected/package.json b/injected/package.json index 008db67a6..384e0ec12 100644 --- a/injected/package.json +++ b/injected/package.json @@ -42,9 +42,9 @@ "@rollup/plugin-commonjs": "^28.0.1", "@rollup/plugin-node-resolve": "^15.3.0", "@rollup/plugin-replace": "^6.0.1", - "@types/chrome": "^0.0.279", + "@types/chrome": "^0.0.280", "@types/jasmine": "^5.1.4", - "@types/node": "^22.8.6", + "@types/node": "^22.8.7", "@typescript-eslint/eslint-plugin": "^6.9.1", "config-builder": "github:duckduckgo/privacy-configuration#1729260354597", "fast-check": "^3.23.1", diff --git a/package-lock.json b/package-lock.json index 309a9066c..9514ffe62 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,7 +22,7 @@ "stylelint": "^15.11.0", "stylelint-config-standard": "^34.0.0", "stylelint-csstree-validator": "^3.0.0", - "typedoc": "^0.26.10", + "typedoc": "^0.26.11", "typescript": "^5.6.3", "typescript-eslint": "^8.12.2" } @@ -41,9 +41,9 @@ "@rollup/plugin-commonjs": "^28.0.1", "@rollup/plugin-node-resolve": "^15.3.0", "@rollup/plugin-replace": "^6.0.1", - "@types/chrome": "^0.0.279", + "@types/chrome": "^0.0.280", "@types/jasmine": "^5.1.4", - "@types/node": "^22.8.6", + "@types/node": "^22.8.7", "@typescript-eslint/eslint-plugin": "^6.9.1", "config-builder": "git+ssh://git@github.com/duckduckgo/privacy-configuration.git#207bcafcd8d67d0530569f7efcf84463194b999b", "fast-check": "^3.23.1", @@ -1679,9 +1679,9 @@ "license": "MIT" }, "node_modules/@types/chrome": { - "version": "0.0.279", - "resolved": "https://registry.npmjs.org/@types/chrome/-/chrome-0.0.279.tgz", - "integrity": "sha512-wl0IxQ2OQiMazPZM5LimHQ7Jwd72/O8UvvzyptplXT2S4eUqXH5C0n8S+v8PtKhyX89p0igCPpNy3Bwksyk57g==", + "version": "0.0.280", + "resolved": "https://registry.npmjs.org/@types/chrome/-/chrome-0.0.280.tgz", + "integrity": "sha512-AotSmZrL9bcZDDmSI1D9dE7PGbhOur5L0cKxXd7IqbVizQWCY4gcvupPUVsQ4FfDj3V2tt/iOpomT9EY0s+w1g==", "dev": true, "dependencies": { "@types/filesystem": "*", @@ -1789,9 +1789,9 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "22.8.6", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.8.6.tgz", - "integrity": "sha512-tosuJYKrIqjQIlVCM4PEGxOmyg3FCPa/fViuJChnGeEIhjA46oy8FMVoF9su1/v8PNs2a8Q0iFNyOx0uOF91nw==", + "version": "22.8.7", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.8.7.tgz", + "integrity": "sha512-LidcG+2UeYIWcMuMUpBKOnryBWG/rnmOHQR5apjn8myTQcx3rinFRn7DcIFhMnS0PPFSC6OafdIKEad0lj6U0Q==", "dev": true, "dependencies": { "undici-types": "~6.19.8" @@ -7652,11 +7652,10 @@ } }, "node_modules/typedoc": { - "version": "0.26.10", - "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.26.10.tgz", - "integrity": "sha512-xLmVKJ8S21t+JeuQLNueebEuTVphx6IrP06CdV7+0WVflUSW3SPmR+h1fnWVdAR/FQePEgsSWCUHXqKKjzuUAw==", + "version": "0.26.11", + "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.26.11.tgz", + "integrity": "sha512-sFEgRRtrcDl2FxVP58Ze++ZK2UQAEvtvvH8rRlig1Ja3o7dDaMHmaBfvJmdGnNEFaLTpQsN8dpvZaTqJSu/Ugw==", "dev": true, - "license": "Apache-2.0", "dependencies": { "lunr": "^2.3.9", "markdown-it": "^14.1.0", @@ -9015,9 +9014,9 @@ "dev": true }, "@types/chrome": { - "version": "0.0.279", - "resolved": "https://registry.npmjs.org/@types/chrome/-/chrome-0.0.279.tgz", - "integrity": "sha512-wl0IxQ2OQiMazPZM5LimHQ7Jwd72/O8UvvzyptplXT2S4eUqXH5C0n8S+v8PtKhyX89p0igCPpNy3Bwksyk57g==", + "version": "0.0.280", + "resolved": "https://registry.npmjs.org/@types/chrome/-/chrome-0.0.280.tgz", + "integrity": "sha512-AotSmZrL9bcZDDmSI1D9dE7PGbhOur5L0cKxXd7IqbVizQWCY4gcvupPUVsQ4FfDj3V2tt/iOpomT9EY0s+w1g==", "dev": true, "requires": { "@types/filesystem": "*", @@ -9119,9 +9118,9 @@ "dev": true }, "@types/node": { - "version": "22.8.6", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.8.6.tgz", - "integrity": "sha512-tosuJYKrIqjQIlVCM4PEGxOmyg3FCPa/fViuJChnGeEIhjA46oy8FMVoF9su1/v8PNs2a8Q0iFNyOx0uOF91nw==", + "version": "22.8.7", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.8.7.tgz", + "integrity": "sha512-LidcG+2UeYIWcMuMUpBKOnryBWG/rnmOHQR5apjn8myTQcx3rinFRn7DcIFhMnS0PPFSC6OafdIKEad0lj6U0Q==", "dev": true, "requires": { "undici-types": "~6.19.8" @@ -11207,9 +11206,9 @@ "@rollup/plugin-commonjs": "^28.0.1", "@rollup/plugin-node-resolve": "^15.3.0", "@rollup/plugin-replace": "^6.0.1", - "@types/chrome": "^0.0.279", + "@types/chrome": "^0.0.280", "@types/jasmine": "^5.1.4", - "@types/node": "^22.8.6", + "@types/node": "^22.8.7", "@typescript-eslint/eslint-plugin": "^6.9.1", "config-builder": "git+ssh://git@github.com/duckduckgo/privacy-configuration.git#207bcafcd8d67d0530569f7efcf84463194b999b", "fast-check": "^3.23.1", @@ -13222,9 +13221,9 @@ } }, "typedoc": { - "version": "0.26.10", - "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.26.10.tgz", - "integrity": "sha512-xLmVKJ8S21t+JeuQLNueebEuTVphx6IrP06CdV7+0WVflUSW3SPmR+h1fnWVdAR/FQePEgsSWCUHXqKKjzuUAw==", + "version": "0.26.11", + "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.26.11.tgz", + "integrity": "sha512-sFEgRRtrcDl2FxVP58Ze++ZK2UQAEvtvvH8rRlig1Ja3o7dDaMHmaBfvJmdGnNEFaLTpQsN8dpvZaTqJSu/Ugw==", "dev": true, "requires": { "lunr": "^2.3.9", diff --git a/package.json b/package.json index e8d99d22a..117c7b8fc 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "stylelint": "^15.11.0", "stylelint-config-standard": "^34.0.0", "stylelint-csstree-validator": "^3.0.0", - "typedoc": "^0.26.10", + "typedoc": "^0.26.11", "typescript": "^5.6.3", "typescript-eslint": "^8.12.2", "@playwright/test": "^1.48.2"