From bb0adbedf6f5081a49c6d089aa63fe63f52feb06 Mon Sep 17 00:00:00 2001 From: Alex Skrypnyk Date: Thu, 15 Jan 2026 09:04:12 +1100 Subject: [PATCH] Replace prettier plugin for jsdoc. --- .prettierrc.json | 3 +- .../_baseline/.prettierrc.json | 3 +- .../handler_process/_baseline/package.json | 2 +- .../web/modules/custom/sw_base/js/sw_base.js | 16 +- .../themes/custom/star_wars/.prettierignore | 2 + .../themes/custom/star_wars/.prettierrc.json | 18 + .../themes/custom/star_wars/js/star_wars.js | 6 +- .../web/themes/custom/star_wars/package.json | 2 +- .../modules/custom/sw_base/js/sw_base.js | 16 +- .../themes/custom/star_wars/.prettierignore | 2 + .../themes/custom/star_wars/.prettierrc.json | 18 + .../themes/custom/star_wars/js/star_wars.js | 6 +- .../themes/custom/star_wars/package.json | 2 +- .../themes/custom/star_wars/-.prettierignore | 0 .../themes/custom/star_wars/-.prettierrc.json | 0 .../modules/custom/sw_base/js/sw_base.js | 16 +- .../themes/custom/star_wars/.prettierignore | 2 + .../themes/custom/star_wars/.prettierrc.json | 18 + .../themes/custom/star_wars/js/star_wars.js | 6 +- .../themes/custom/star_wars/package.json | 2 +- .../themes/custom/star_wars/-.prettierignore | 0 .../themes/custom/star_wars/-.prettierrc.json | 0 .../the_force_base/js/the_force_base.js | 16 +- .../themes/custom/lightsaber/.prettierignore | 2 + .../themes/custom/lightsaber/.prettierrc.json | 18 + .../themes/custom/lightsaber/js/lightsaber.js | 6 +- .../web/themes/custom/lightsaber/package.json | 2 +- .../themes/custom/star_wars/-.prettierignore | 0 .../themes/custom/star_wars/-.prettierrc.json | 0 .../themes/custom/star_wars/-.prettierignore | 0 .../themes/custom/star_wars/-.prettierrc.json | 0 .../themes/custom/light_saber/.prettierignore | 2 + .../custom/light_saber/.prettierrc.json | 18 + .../custom/light_saber/js/light_saber.js | 6 +- .../themes/custom/light_saber/package.json | 2 +- .../themes/custom/star_wars/-.prettierignore | 0 .../themes/custom/star_wars/-.prettierrc.json | 0 .../themes/custom/star_wars/-.prettierignore | 0 .../themes/custom/star_wars/-.prettierrc.json | 0 .../themes/custom/star_wars/-.prettierignore | 0 .../themes/custom/star_wars/-.prettierrc.json | 0 package.json | 2 +- web/modules/custom/ys_base/js/ys_base.js | 16 +- .../custom/your_site_theme/.prettierignore | 2 + .../custom/your_site_theme/.prettierrc.json | 18 + .../your_site_theme/js/your_site_theme.js | 6 +- .../custom/your_site_theme/package.json | 2 +- web/themes/custom/your_site_theme/yarn.lock | 305 +---------------- yarn.lock | 307 +----------------- 49 files changed, 246 insertions(+), 624 deletions(-) create mode 100644 .vortex/installer/tests/Fixtures/handler_process/_baseline/web/themes/custom/star_wars/.prettierignore create mode 100644 .vortex/installer/tests/Fixtures/handler_process/_baseline/web/themes/custom/star_wars/.prettierrc.json create mode 100644 .vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/themes/custom/star_wars/.prettierignore create mode 100644 .vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/themes/custom/star_wars/.prettierrc.json create mode 100644 .vortex/installer/tests/Fixtures/handler_process/hosting_acquia/web/themes/custom/star_wars/-.prettierignore create mode 100644 .vortex/installer/tests/Fixtures/handler_process/hosting_acquia/web/themes/custom/star_wars/-.prettierrc.json create mode 100644 .vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/themes/custom/star_wars/.prettierignore create mode 100644 .vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/themes/custom/star_wars/.prettierrc.json create mode 100644 .vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/web/themes/custom/star_wars/-.prettierignore create mode 100644 .vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/web/themes/custom/star_wars/-.prettierrc.json create mode 100644 .vortex/installer/tests/Fixtures/handler_process/names/web/themes/custom/lightsaber/.prettierignore create mode 100644 .vortex/installer/tests/Fixtures/handler_process/names/web/themes/custom/lightsaber/.prettierrc.json create mode 100644 .vortex/installer/tests/Fixtures/handler_process/names/web/themes/custom/star_wars/-.prettierignore create mode 100644 .vortex/installer/tests/Fixtures/handler_process/names/web/themes/custom/star_wars/-.prettierrc.json create mode 100644 .vortex/installer/tests/Fixtures/handler_process/theme_claro/web/themes/custom/star_wars/-.prettierignore create mode 100644 .vortex/installer/tests/Fixtures/handler_process/theme_claro/web/themes/custom/star_wars/-.prettierrc.json create mode 100644 .vortex/installer/tests/Fixtures/handler_process/theme_custom/web/themes/custom/light_saber/.prettierignore create mode 100644 .vortex/installer/tests/Fixtures/handler_process/theme_custom/web/themes/custom/light_saber/.prettierrc.json create mode 100644 .vortex/installer/tests/Fixtures/handler_process/theme_custom/web/themes/custom/star_wars/-.prettierignore create mode 100644 .vortex/installer/tests/Fixtures/handler_process/theme_custom/web/themes/custom/star_wars/-.prettierrc.json create mode 100644 .vortex/installer/tests/Fixtures/handler_process/theme_olivero/web/themes/custom/star_wars/-.prettierignore create mode 100644 .vortex/installer/tests/Fixtures/handler_process/theme_olivero/web/themes/custom/star_wars/-.prettierrc.json create mode 100644 .vortex/installer/tests/Fixtures/handler_process/theme_stark/web/themes/custom/star_wars/-.prettierignore create mode 100644 .vortex/installer/tests/Fixtures/handler_process/theme_stark/web/themes/custom/star_wars/-.prettierrc.json create mode 100644 web/themes/custom/your_site_theme/.prettierignore create mode 100644 web/themes/custom/your_site_theme/.prettierrc.json diff --git a/.prettierrc.json b/.prettierrc.json index 760845204..b5ed52786 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -3,7 +3,8 @@ "semi": true, "singleQuote": true, "trailingComma": "all", - "plugins": ["prettier-plugin-jsdoc"], + "plugins": ["@homer0/prettier-plugin-jsdoc"], + "jsdocReplaceTagsSynonyms": false, "overrides": [ { "files": ["*.css"], diff --git a/.vortex/installer/tests/Fixtures/handler_process/_baseline/.prettierrc.json b/.vortex/installer/tests/Fixtures/handler_process/_baseline/.prettierrc.json index 760845204..b5ed52786 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/_baseline/.prettierrc.json +++ b/.vortex/installer/tests/Fixtures/handler_process/_baseline/.prettierrc.json @@ -3,7 +3,8 @@ "semi": true, "singleQuote": true, "trailingComma": "all", - "plugins": ["prettier-plugin-jsdoc"], + "plugins": ["@homer0/prettier-plugin-jsdoc"], + "jsdocReplaceTagsSynonyms": false, "overrides": [ { "files": ["*.css"], diff --git a/.vortex/installer/tests/Fixtures/handler_process/_baseline/package.json b/.vortex/installer/tests/Fixtures/handler_process/_baseline/package.json index 600429557..364440532 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/_baseline/package.json +++ b/.vortex/installer/tests/Fixtures/handler_process/_baseline/package.json @@ -16,6 +16,7 @@ "lint-fix": "yarn run lint-fix-js && yarn run lint-fix-css" }, "devDependencies": { + "@homer0/prettier-plugin-jsdoc": "__VERSION__", "eslint": "__VERSION__", "eslint-config-airbnb-base": "__VERSION__", "eslint-config-prettier": "__VERSION__", @@ -25,7 +26,6 @@ "eslint-plugin-prettier": "__VERSION__", "eslint-plugin-yml": "__VERSION__", "prettier": "__VERSION__", - "prettier-plugin-jsdoc": "__VERSION__", "stylelint": "__VERSION__", "stylelint-config-standard": "__VERSION__", "stylelint-order": "__VERSION__" diff --git a/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/modules/custom/sw_base/js/sw_base.js b/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/modules/custom/sw_base/js/sw_base.js index 039713ba4..6185bebdf 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/modules/custom/sw_base/js/sw_base.js +++ b/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/modules/custom/sw_base/js/sw_base.js @@ -11,8 +11,8 @@ /** * Counter block functionality. * - * @param {HTMLElement} context Context element to search for counter - * blocks. + * @param {HTMLElement} context Context element to search for counter + * blocks. */ initCounterBlock(context) { const counterBlocks = context.querySelectorAll('[data-sw-base-counter]'); @@ -74,12 +74,22 @@ /** * Remove updated class after a delay for visual feedback. * - * @param {HTMLElement} element The element to remove the class from. + * @param {HTMLElement} element The element to remove the class from. */ removeUpdatedClassAfterDelay(element) { setTimeout(function removeUpdatedClass() { element.classList.remove('updated'); }, 300); }, + + /** + * Get the current counter value from localStorage. + * + * @return {number} The current counter value, or 0 if not set. + */ + getCounterValue() { + const storageKey = 'ys_counter_value'; + return parseInt(localStorage.getItem(storageKey), 10) || 0; + }, }; })(Drupal); diff --git a/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/themes/custom/star_wars/.prettierignore b/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/themes/custom/star_wars/.prettierignore new file mode 100644 index 000000000..ad774406e --- /dev/null +++ b/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/themes/custom/star_wars/.prettierignore @@ -0,0 +1,2 @@ +node_modules/**/* +*.yml diff --git a/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/themes/custom/star_wars/.prettierrc.json b/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/themes/custom/star_wars/.prettierrc.json new file mode 100644 index 000000000..b5ed52786 --- /dev/null +++ b/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/themes/custom/star_wars/.prettierrc.json @@ -0,0 +1,18 @@ +{ + "printWidth": 80, + "semi": true, + "singleQuote": true, + "trailingComma": "all", + "plugins": ["@homer0/prettier-plugin-jsdoc"], + "jsdocReplaceTagsSynonyms": false, + "overrides": [ + { + "files": ["*.css"], + "options": { + "parser": "css", + "printWidth": 10000, + "singleQuote": false + } + } + ] +} diff --git a/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/themes/custom/star_wars/js/star_wars.js b/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/themes/custom/star_wars/js/star_wars.js index 7947d217e..d81db5a8e 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/themes/custom/star_wars/js/star_wars.js +++ b/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/themes/custom/star_wars/js/star_wars.js @@ -2,14 +2,14 @@ * @file Global theme behaviors. * @param $ * @param Drupal - * @global Drupal, jQuery + * @global Drupal, JQuery. */ /** * Global theme behaviors. * - * @param {jQuery} $ The jQuery object. - * @param {Drupal} Drupal The Drupal object. + * @param {jQuery} $ The jQuery object. + * @param {Drupal} Drupal The Drupal object. */ (function StarWarsBehaviors($, Drupal) { Drupal.behaviors.star_wars = { diff --git a/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/themes/custom/star_wars/package.json b/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/themes/custom/star_wars/package.json index 4419e73f8..c5919a9ad 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/themes/custom/star_wars/package.json +++ b/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/themes/custom/star_wars/package.json @@ -4,6 +4,7 @@ "private": true, "description": "NodeJS dependencies for star wars project", "devDependencies": { + "@homer0/prettier-plugin-jsdoc": "__VERSION__", "autoprefixer": "__VERSION__", "chokidar-cli": "__VERSION__", "eslint": "__VERSION__", @@ -18,7 +19,6 @@ "postcss": "__VERSION__", "postcss-cli": "__VERSION__", "prettier": "__VERSION__", - "prettier-plugin-jsdoc": "__VERSION__", "sass": "__VERSION__", "stylelint": "__VERSION__", "stylelint-config-standard": "__VERSION__", diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/modules/custom/sw_base/js/sw_base.js b/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/modules/custom/sw_base/js/sw_base.js index 039713ba4..6185bebdf 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/modules/custom/sw_base/js/sw_base.js +++ b/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/modules/custom/sw_base/js/sw_base.js @@ -11,8 +11,8 @@ /** * Counter block functionality. * - * @param {HTMLElement} context Context element to search for counter - * blocks. + * @param {HTMLElement} context Context element to search for counter + * blocks. */ initCounterBlock(context) { const counterBlocks = context.querySelectorAll('[data-sw-base-counter]'); @@ -74,12 +74,22 @@ /** * Remove updated class after a delay for visual feedback. * - * @param {HTMLElement} element The element to remove the class from. + * @param {HTMLElement} element The element to remove the class from. */ removeUpdatedClassAfterDelay(element) { setTimeout(function removeUpdatedClass() { element.classList.remove('updated'); }, 300); }, + + /** + * Get the current counter value from localStorage. + * + * @return {number} The current counter value, or 0 if not set. + */ + getCounterValue() { + const storageKey = 'ys_counter_value'; + return parseInt(localStorage.getItem(storageKey), 10) || 0; + }, }; })(Drupal); diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/themes/custom/star_wars/.prettierignore b/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/themes/custom/star_wars/.prettierignore new file mode 100644 index 000000000..ad774406e --- /dev/null +++ b/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/themes/custom/star_wars/.prettierignore @@ -0,0 +1,2 @@ +node_modules/**/* +*.yml diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/themes/custom/star_wars/.prettierrc.json b/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/themes/custom/star_wars/.prettierrc.json new file mode 100644 index 000000000..b5ed52786 --- /dev/null +++ b/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/themes/custom/star_wars/.prettierrc.json @@ -0,0 +1,18 @@ +{ + "printWidth": 80, + "semi": true, + "singleQuote": true, + "trailingComma": "all", + "plugins": ["@homer0/prettier-plugin-jsdoc"], + "jsdocReplaceTagsSynonyms": false, + "overrides": [ + { + "files": ["*.css"], + "options": { + "parser": "css", + "printWidth": 10000, + "singleQuote": false + } + } + ] +} diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/themes/custom/star_wars/js/star_wars.js b/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/themes/custom/star_wars/js/star_wars.js index 7947d217e..d81db5a8e 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/themes/custom/star_wars/js/star_wars.js +++ b/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/themes/custom/star_wars/js/star_wars.js @@ -2,14 +2,14 @@ * @file Global theme behaviors. * @param $ * @param Drupal - * @global Drupal, jQuery + * @global Drupal, JQuery. */ /** * Global theme behaviors. * - * @param {jQuery} $ The jQuery object. - * @param {Drupal} Drupal The Drupal object. + * @param {jQuery} $ The jQuery object. + * @param {Drupal} Drupal The Drupal object. */ (function StarWarsBehaviors($, Drupal) { Drupal.behaviors.star_wars = { diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/themes/custom/star_wars/package.json b/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/themes/custom/star_wars/package.json index 4419e73f8..c5919a9ad 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/themes/custom/star_wars/package.json +++ b/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/themes/custom/star_wars/package.json @@ -4,6 +4,7 @@ "private": true, "description": "NodeJS dependencies for star wars project", "devDependencies": { + "@homer0/prettier-plugin-jsdoc": "__VERSION__", "autoprefixer": "__VERSION__", "chokidar-cli": "__VERSION__", "eslint": "__VERSION__", @@ -18,7 +19,6 @@ "postcss": "__VERSION__", "postcss-cli": "__VERSION__", "prettier": "__VERSION__", - "prettier-plugin-jsdoc": "__VERSION__", "sass": "__VERSION__", "stylelint": "__VERSION__", "stylelint-config-standard": "__VERSION__", diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/web/themes/custom/star_wars/-.prettierignore b/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/web/themes/custom/star_wars/-.prettierignore new file mode 100644 index 000000000..e69de29bb diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/web/themes/custom/star_wars/-.prettierrc.json b/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/web/themes/custom/star_wars/-.prettierrc.json new file mode 100644 index 000000000..e69de29bb diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/modules/custom/sw_base/js/sw_base.js b/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/modules/custom/sw_base/js/sw_base.js index 039713ba4..6185bebdf 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/modules/custom/sw_base/js/sw_base.js +++ b/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/modules/custom/sw_base/js/sw_base.js @@ -11,8 +11,8 @@ /** * Counter block functionality. * - * @param {HTMLElement} context Context element to search for counter - * blocks. + * @param {HTMLElement} context Context element to search for counter + * blocks. */ initCounterBlock(context) { const counterBlocks = context.querySelectorAll('[data-sw-base-counter]'); @@ -74,12 +74,22 @@ /** * Remove updated class after a delay for visual feedback. * - * @param {HTMLElement} element The element to remove the class from. + * @param {HTMLElement} element The element to remove the class from. */ removeUpdatedClassAfterDelay(element) { setTimeout(function removeUpdatedClass() { element.classList.remove('updated'); }, 300); }, + + /** + * Get the current counter value from localStorage. + * + * @return {number} The current counter value, or 0 if not set. + */ + getCounterValue() { + const storageKey = 'ys_counter_value'; + return parseInt(localStorage.getItem(storageKey), 10) || 0; + }, }; })(Drupal); diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/themes/custom/star_wars/.prettierignore b/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/themes/custom/star_wars/.prettierignore new file mode 100644 index 000000000..ad774406e --- /dev/null +++ b/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/themes/custom/star_wars/.prettierignore @@ -0,0 +1,2 @@ +node_modules/**/* +*.yml diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/themes/custom/star_wars/.prettierrc.json b/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/themes/custom/star_wars/.prettierrc.json new file mode 100644 index 000000000..b5ed52786 --- /dev/null +++ b/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/themes/custom/star_wars/.prettierrc.json @@ -0,0 +1,18 @@ +{ + "printWidth": 80, + "semi": true, + "singleQuote": true, + "trailingComma": "all", + "plugins": ["@homer0/prettier-plugin-jsdoc"], + "jsdocReplaceTagsSynonyms": false, + "overrides": [ + { + "files": ["*.css"], + "options": { + "parser": "css", + "printWidth": 10000, + "singleQuote": false + } + } + ] +} diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/themes/custom/star_wars/js/star_wars.js b/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/themes/custom/star_wars/js/star_wars.js index 7947d217e..d81db5a8e 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/themes/custom/star_wars/js/star_wars.js +++ b/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/themes/custom/star_wars/js/star_wars.js @@ -2,14 +2,14 @@ * @file Global theme behaviors. * @param $ * @param Drupal - * @global Drupal, jQuery + * @global Drupal, JQuery. */ /** * Global theme behaviors. * - * @param {jQuery} $ The jQuery object. - * @param {Drupal} Drupal The Drupal object. + * @param {jQuery} $ The jQuery object. + * @param {Drupal} Drupal The Drupal object. */ (function StarWarsBehaviors($, Drupal) { Drupal.behaviors.star_wars = { diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/themes/custom/star_wars/package.json b/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/themes/custom/star_wars/package.json index 4419e73f8..c5919a9ad 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/themes/custom/star_wars/package.json +++ b/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/themes/custom/star_wars/package.json @@ -4,6 +4,7 @@ "private": true, "description": "NodeJS dependencies for star wars project", "devDependencies": { + "@homer0/prettier-plugin-jsdoc": "__VERSION__", "autoprefixer": "__VERSION__", "chokidar-cli": "__VERSION__", "eslint": "__VERSION__", @@ -18,7 +19,6 @@ "postcss": "__VERSION__", "postcss-cli": "__VERSION__", "prettier": "__VERSION__", - "prettier-plugin-jsdoc": "__VERSION__", "sass": "__VERSION__", "stylelint": "__VERSION__", "stylelint-config-standard": "__VERSION__", diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/web/themes/custom/star_wars/-.prettierignore b/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/web/themes/custom/star_wars/-.prettierignore new file mode 100644 index 000000000..e69de29bb diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/web/themes/custom/star_wars/-.prettierrc.json b/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/web/themes/custom/star_wars/-.prettierrc.json new file mode 100644 index 000000000..e69de29bb diff --git a/.vortex/installer/tests/Fixtures/handler_process/names/web/modules/custom/the_force_base/js/the_force_base.js b/.vortex/installer/tests/Fixtures/handler_process/names/web/modules/custom/the_force_base/js/the_force_base.js index c7c5717d2..81fb158e8 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/names/web/modules/custom/the_force_base/js/the_force_base.js +++ b/.vortex/installer/tests/Fixtures/handler_process/names/web/modules/custom/the_force_base/js/the_force_base.js @@ -11,8 +11,8 @@ /** * Counter block functionality. * - * @param {HTMLElement} context Context element to search for counter - * blocks. + * @param {HTMLElement} context Context element to search for counter + * blocks. */ initCounterBlock(context) { const counterBlocks = context.querySelectorAll('[data-the-force-base-counter]'); @@ -74,12 +74,22 @@ /** * Remove updated class after a delay for visual feedback. * - * @param {HTMLElement} element The element to remove the class from. + * @param {HTMLElement} element The element to remove the class from. */ removeUpdatedClassAfterDelay(element) { setTimeout(function removeUpdatedClass() { element.classList.remove('updated'); }, 300); }, + + /** + * Get the current counter value from localStorage. + * + * @return {number} The current counter value, or 0 if not set. + */ + getCounterValue() { + const storageKey = 'ys_counter_value'; + return parseInt(localStorage.getItem(storageKey), 10) || 0; + }, }; })(Drupal); diff --git a/.vortex/installer/tests/Fixtures/handler_process/names/web/themes/custom/lightsaber/.prettierignore b/.vortex/installer/tests/Fixtures/handler_process/names/web/themes/custom/lightsaber/.prettierignore new file mode 100644 index 000000000..ad774406e --- /dev/null +++ b/.vortex/installer/tests/Fixtures/handler_process/names/web/themes/custom/lightsaber/.prettierignore @@ -0,0 +1,2 @@ +node_modules/**/* +*.yml diff --git a/.vortex/installer/tests/Fixtures/handler_process/names/web/themes/custom/lightsaber/.prettierrc.json b/.vortex/installer/tests/Fixtures/handler_process/names/web/themes/custom/lightsaber/.prettierrc.json new file mode 100644 index 000000000..b5ed52786 --- /dev/null +++ b/.vortex/installer/tests/Fixtures/handler_process/names/web/themes/custom/lightsaber/.prettierrc.json @@ -0,0 +1,18 @@ +{ + "printWidth": 80, + "semi": true, + "singleQuote": true, + "trailingComma": "all", + "plugins": ["@homer0/prettier-plugin-jsdoc"], + "jsdocReplaceTagsSynonyms": false, + "overrides": [ + { + "files": ["*.css"], + "options": { + "parser": "css", + "printWidth": 10000, + "singleQuote": false + } + } + ] +} diff --git a/.vortex/installer/tests/Fixtures/handler_process/names/web/themes/custom/lightsaber/js/lightsaber.js b/.vortex/installer/tests/Fixtures/handler_process/names/web/themes/custom/lightsaber/js/lightsaber.js index 320a39562..130be67c6 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/names/web/themes/custom/lightsaber/js/lightsaber.js +++ b/.vortex/installer/tests/Fixtures/handler_process/names/web/themes/custom/lightsaber/js/lightsaber.js @@ -2,14 +2,14 @@ * @file Global theme behaviors. * @param $ * @param Drupal - * @global Drupal, jQuery + * @global Drupal, JQuery. */ /** * Global theme behaviors. * - * @param {jQuery} $ The jQuery object. - * @param {Drupal} Drupal The Drupal object. + * @param {jQuery} $ The jQuery object. + * @param {Drupal} Drupal The Drupal object. */ (function LightsaberBehaviors($, Drupal) { Drupal.behaviors.lightsaber = { diff --git a/.vortex/installer/tests/Fixtures/handler_process/names/web/themes/custom/lightsaber/package.json b/.vortex/installer/tests/Fixtures/handler_process/names/web/themes/custom/lightsaber/package.json index 4046e796d..efaa8dd2c 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/names/web/themes/custom/lightsaber/package.json +++ b/.vortex/installer/tests/Fixtures/handler_process/names/web/themes/custom/lightsaber/package.json @@ -4,6 +4,7 @@ "private": true, "description": "NodeJS dependencies for New hope project", "devDependencies": { + "@homer0/prettier-plugin-jsdoc": "__VERSION__", "autoprefixer": "__VERSION__", "chokidar-cli": "__VERSION__", "eslint": "__VERSION__", @@ -18,7 +19,6 @@ "postcss": "__VERSION__", "postcss-cli": "__VERSION__", "prettier": "__VERSION__", - "prettier-plugin-jsdoc": "__VERSION__", "sass": "__VERSION__", "stylelint": "__VERSION__", "stylelint-config-standard": "__VERSION__", diff --git a/.vortex/installer/tests/Fixtures/handler_process/names/web/themes/custom/star_wars/-.prettierignore b/.vortex/installer/tests/Fixtures/handler_process/names/web/themes/custom/star_wars/-.prettierignore new file mode 100644 index 000000000..e69de29bb diff --git a/.vortex/installer/tests/Fixtures/handler_process/names/web/themes/custom/star_wars/-.prettierrc.json b/.vortex/installer/tests/Fixtures/handler_process/names/web/themes/custom/star_wars/-.prettierrc.json new file mode 100644 index 000000000..e69de29bb diff --git a/.vortex/installer/tests/Fixtures/handler_process/theme_claro/web/themes/custom/star_wars/-.prettierignore b/.vortex/installer/tests/Fixtures/handler_process/theme_claro/web/themes/custom/star_wars/-.prettierignore new file mode 100644 index 000000000..e69de29bb diff --git a/.vortex/installer/tests/Fixtures/handler_process/theme_claro/web/themes/custom/star_wars/-.prettierrc.json b/.vortex/installer/tests/Fixtures/handler_process/theme_claro/web/themes/custom/star_wars/-.prettierrc.json new file mode 100644 index 000000000..e69de29bb diff --git a/.vortex/installer/tests/Fixtures/handler_process/theme_custom/web/themes/custom/light_saber/.prettierignore b/.vortex/installer/tests/Fixtures/handler_process/theme_custom/web/themes/custom/light_saber/.prettierignore new file mode 100644 index 000000000..ad774406e --- /dev/null +++ b/.vortex/installer/tests/Fixtures/handler_process/theme_custom/web/themes/custom/light_saber/.prettierignore @@ -0,0 +1,2 @@ +node_modules/**/* +*.yml diff --git a/.vortex/installer/tests/Fixtures/handler_process/theme_custom/web/themes/custom/light_saber/.prettierrc.json b/.vortex/installer/tests/Fixtures/handler_process/theme_custom/web/themes/custom/light_saber/.prettierrc.json new file mode 100644 index 000000000..b5ed52786 --- /dev/null +++ b/.vortex/installer/tests/Fixtures/handler_process/theme_custom/web/themes/custom/light_saber/.prettierrc.json @@ -0,0 +1,18 @@ +{ + "printWidth": 80, + "semi": true, + "singleQuote": true, + "trailingComma": "all", + "plugins": ["@homer0/prettier-plugin-jsdoc"], + "jsdocReplaceTagsSynonyms": false, + "overrides": [ + { + "files": ["*.css"], + "options": { + "parser": "css", + "printWidth": 10000, + "singleQuote": false + } + } + ] +} diff --git a/.vortex/installer/tests/Fixtures/handler_process/theme_custom/web/themes/custom/light_saber/js/light_saber.js b/.vortex/installer/tests/Fixtures/handler_process/theme_custom/web/themes/custom/light_saber/js/light_saber.js index 32f6ac1c3..c8c2ebfa6 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/theme_custom/web/themes/custom/light_saber/js/light_saber.js +++ b/.vortex/installer/tests/Fixtures/handler_process/theme_custom/web/themes/custom/light_saber/js/light_saber.js @@ -2,14 +2,14 @@ * @file Global theme behaviors. * @param $ * @param Drupal - * @global Drupal, jQuery + * @global Drupal, JQuery. */ /** * Global theme behaviors. * - * @param {jQuery} $ The jQuery object. - * @param {Drupal} Drupal The Drupal object. + * @param {jQuery} $ The jQuery object. + * @param {Drupal} Drupal The Drupal object. */ (function LightSaberBehaviors($, Drupal) { Drupal.behaviors.light_saber = { diff --git a/.vortex/installer/tests/Fixtures/handler_process/theme_custom/web/themes/custom/light_saber/package.json b/.vortex/installer/tests/Fixtures/handler_process/theme_custom/web/themes/custom/light_saber/package.json index c97524d35..26c447c60 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/theme_custom/web/themes/custom/light_saber/package.json +++ b/.vortex/installer/tests/Fixtures/handler_process/theme_custom/web/themes/custom/light_saber/package.json @@ -4,6 +4,7 @@ "private": true, "description": "NodeJS dependencies for star wars project", "devDependencies": { + "@homer0/prettier-plugin-jsdoc": "__VERSION__", "autoprefixer": "__VERSION__", "chokidar-cli": "__VERSION__", "eslint": "__VERSION__", @@ -18,7 +19,6 @@ "postcss": "__VERSION__", "postcss-cli": "__VERSION__", "prettier": "__VERSION__", - "prettier-plugin-jsdoc": "__VERSION__", "sass": "__VERSION__", "stylelint": "__VERSION__", "stylelint-config-standard": "__VERSION__", diff --git a/.vortex/installer/tests/Fixtures/handler_process/theme_custom/web/themes/custom/star_wars/-.prettierignore b/.vortex/installer/tests/Fixtures/handler_process/theme_custom/web/themes/custom/star_wars/-.prettierignore new file mode 100644 index 000000000..e69de29bb diff --git a/.vortex/installer/tests/Fixtures/handler_process/theme_custom/web/themes/custom/star_wars/-.prettierrc.json b/.vortex/installer/tests/Fixtures/handler_process/theme_custom/web/themes/custom/star_wars/-.prettierrc.json new file mode 100644 index 000000000..e69de29bb diff --git a/.vortex/installer/tests/Fixtures/handler_process/theme_olivero/web/themes/custom/star_wars/-.prettierignore b/.vortex/installer/tests/Fixtures/handler_process/theme_olivero/web/themes/custom/star_wars/-.prettierignore new file mode 100644 index 000000000..e69de29bb diff --git a/.vortex/installer/tests/Fixtures/handler_process/theme_olivero/web/themes/custom/star_wars/-.prettierrc.json b/.vortex/installer/tests/Fixtures/handler_process/theme_olivero/web/themes/custom/star_wars/-.prettierrc.json new file mode 100644 index 000000000..e69de29bb diff --git a/.vortex/installer/tests/Fixtures/handler_process/theme_stark/web/themes/custom/star_wars/-.prettierignore b/.vortex/installer/tests/Fixtures/handler_process/theme_stark/web/themes/custom/star_wars/-.prettierignore new file mode 100644 index 000000000..e69de29bb diff --git a/.vortex/installer/tests/Fixtures/handler_process/theme_stark/web/themes/custom/star_wars/-.prettierrc.json b/.vortex/installer/tests/Fixtures/handler_process/theme_stark/web/themes/custom/star_wars/-.prettierrc.json new file mode 100644 index 000000000..e69de29bb diff --git a/package.json b/package.json index 927861324..fc11f6212 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "lint-fix": "yarn run lint-fix-js && yarn run lint-fix-css" }, "devDependencies": { + "@homer0/prettier-plugin-jsdoc": "^11.0.1", "eslint": "^8.57.1", "eslint-config-airbnb-base": "^15.0.0", "eslint-config-prettier": "^10.1.8", @@ -25,7 +26,6 @@ "eslint-plugin-prettier": "^5.5.4", "eslint-plugin-yml": "^1.19.0", "prettier": "^3.7.4", - "prettier-plugin-jsdoc": "^1.7.0", "stylelint": "^16.26.1", "stylelint-config-standard": "^36.0.1", "stylelint-order": "^6.0.4" diff --git a/web/modules/custom/ys_base/js/ys_base.js b/web/modules/custom/ys_base/js/ys_base.js index 0c2ecf6da..9b48598c4 100644 --- a/web/modules/custom/ys_base/js/ys_base.js +++ b/web/modules/custom/ys_base/js/ys_base.js @@ -11,8 +11,8 @@ /** * Counter block functionality. * - * @param {HTMLElement} context Context element to search for counter - * blocks. + * @param {HTMLElement} context Context element to search for counter + * blocks. */ initCounterBlock(context) { const counterBlocks = context.querySelectorAll('[data-ys-base-counter]'); @@ -74,12 +74,22 @@ /** * Remove updated class after a delay for visual feedback. * - * @param {HTMLElement} element The element to remove the class from. + * @param {HTMLElement} element The element to remove the class from. */ removeUpdatedClassAfterDelay(element) { setTimeout(function removeUpdatedClass() { element.classList.remove('updated'); }, 300); }, + + /** + * Get the current counter value from localStorage. + * + * @return {number} The current counter value, or 0 if not set. + */ + getCounterValue() { + const storageKey = 'ys_counter_value'; + return parseInt(localStorage.getItem(storageKey), 10) || 0; + }, }; })(Drupal); diff --git a/web/themes/custom/your_site_theme/.prettierignore b/web/themes/custom/your_site_theme/.prettierignore new file mode 100644 index 000000000..ad774406e --- /dev/null +++ b/web/themes/custom/your_site_theme/.prettierignore @@ -0,0 +1,2 @@ +node_modules/**/* +*.yml diff --git a/web/themes/custom/your_site_theme/.prettierrc.json b/web/themes/custom/your_site_theme/.prettierrc.json new file mode 100644 index 000000000..b5ed52786 --- /dev/null +++ b/web/themes/custom/your_site_theme/.prettierrc.json @@ -0,0 +1,18 @@ +{ + "printWidth": 80, + "semi": true, + "singleQuote": true, + "trailingComma": "all", + "plugins": ["@homer0/prettier-plugin-jsdoc"], + "jsdocReplaceTagsSynonyms": false, + "overrides": [ + { + "files": ["*.css"], + "options": { + "parser": "css", + "printWidth": 10000, + "singleQuote": false + } + } + ] +} diff --git a/web/themes/custom/your_site_theme/js/your_site_theme.js b/web/themes/custom/your_site_theme/js/your_site_theme.js index 547edc393..9832640b6 100644 --- a/web/themes/custom/your_site_theme/js/your_site_theme.js +++ b/web/themes/custom/your_site_theme/js/your_site_theme.js @@ -2,14 +2,14 @@ * @file Global theme behaviors. * @param $ * @param Drupal - * @global Drupal, jQuery + * @global Drupal, JQuery. */ /** * Global theme behaviors. * - * @param {jQuery} $ The jQuery object. - * @param {Drupal} Drupal The Drupal object. + * @param {jQuery} $ The jQuery object. + * @param {Drupal} Drupal The Drupal object. */ (function YourSiteThemeBehaviors($, Drupal) { Drupal.behaviors.your_site_theme = { diff --git a/web/themes/custom/your_site_theme/package.json b/web/themes/custom/your_site_theme/package.json index 86e1ef274..63fd7954c 100644 --- a/web/themes/custom/your_site_theme/package.json +++ b/web/themes/custom/your_site_theme/package.json @@ -4,6 +4,7 @@ "private": true, "description": "NodeJS dependencies for YOURSITE project", "devDependencies": { + "@homer0/prettier-plugin-jsdoc": "^11.0.1", "autoprefixer": "^10.4.22", "chokidar-cli": "^3.0.0", "eslint": "^8.57.1", @@ -18,7 +19,6 @@ "postcss": "^8.5.6", "postcss-cli": "^11.0.1", "prettier": "^3.7.4", - "prettier-plugin-jsdoc": "^1.8.0", "sass": "^1.94.2", "stylelint": "^16.26.1", "stylelint-config-standard": "^36.0.1", diff --git a/web/themes/custom/your_site_theme/yarn.lock b/web/themes/custom/your_site_theme/yarn.lock index 1965bc6c6..ba6a2921c 100644 --- a/web/themes/custom/your_site_theme/yarn.lock +++ b/web/themes/custom/your_site_theme/yarn.lock @@ -112,6 +112,14 @@ resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.57.1.tgz#de633db3ec2ef6a3c89e2f19038063e8a122e2c2" integrity sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q== +"@homer0/prettier-plugin-jsdoc@^11.0.1": + version "11.0.1" + resolved "https://registry.yarnpkg.com/@homer0/prettier-plugin-jsdoc/-/prettier-plugin-jsdoc-11.0.1.tgz#89734d74f5b5fac55d8036a116ea0907bc42b936" + integrity sha512-NpN8oJrNkZvEDlmXu9zzKYG6h96RybSbEYGIFYZZJs2EwL2CTaAn0Rd4rmXnKvQGS0f9i8l4UN2SNQAIhuCSzw== + dependencies: + comment-parser "^1.4.1" + ramda "0.32.0" + "@humanwhocodes/config-array@^0.13.0": version "0.13.0" resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.13.0.tgz#fb907624df3256d04b9aa2df50d7aa97ec648748" @@ -303,13 +311,6 @@ resolved "https://registry.yarnpkg.com/@sindresorhus/base62/-/base62-1.0.0.tgz#c47c42410e5212e4fa4657670e118ddfba39acd6" integrity sha512-TeheYy0ILzBEI/CO55CP6zJCSdSWeRtGnHy8U8dWSUH4I68iqTsy7HkMktR4xakThc9jotkPQUXT4ITdbV7cHA== -"@types/debug@^4.0.0": - version "4.1.12" - resolved "https://registry.yarnpkg.com/@types/debug/-/debug-4.1.12.tgz#a155f21690871953410df4b6b6f53187f0500917" - integrity sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ== - dependencies: - "@types/ms" "*" - "@types/estree@^1.0.8": version "1.0.8" resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.8.tgz#958b91c991b1867ced318bedea0e215ee050726e" @@ -320,23 +321,6 @@ resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" integrity sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ== -"@types/mdast@^4.0.0": - version "4.0.4" - resolved "https://registry.yarnpkg.com/@types/mdast/-/mdast-4.0.4.tgz#7ccf72edd2f1aa7dd3437e180c64373585804dd6" - integrity sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA== - dependencies: - "@types/unist" "*" - -"@types/ms@*": - version "2.1.0" - resolved "https://registry.yarnpkg.com/@types/ms/-/ms-2.1.0.tgz#052aa67a48eccc4309d7f0191b7e41434b90bb78" - integrity sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA== - -"@types/unist@*", "@types/unist@^3.0.0": - version "3.0.3" - resolved "https://registry.yarnpkg.com/@types/unist/-/unist-3.0.3.tgz#acaab0f919ce69cce629c2d4ed2eb4adc1b6c20c" - integrity sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q== - "@typescript-eslint/types@^8.46.0": version "8.51.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-8.51.0.tgz#6996e59d49e92fb893531bdc249f0d92a7bebdbb" @@ -550,11 +534,6 @@ binary-extensions@^2.0.0: resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.3.0.tgz#f6e14a97858d327252200242d4ccfe522c445522" integrity sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw== -binary-searching@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/binary-searching/-/binary-searching-2.0.5.tgz#ab6d08d51cd1b58878ae208ab61988f885b22dd3" - integrity sha512-v4N2l3RxL+m4zDxyxz3Ne2aTmiPn8ZUpKFpdPtO+ItW1NcTCXA7JeHG5GMBSvoKSkQZ9ycS+EouDVxYB9ufKWA== - brace-expansion@^1.1.7: version "1.1.12" resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.12.tgz#ab9b454466e5a8cc3a187beaad580412a9c5b843" @@ -646,11 +625,6 @@ chalk@^4.0.0, chalk@^4.1.2: ansi-styles "^4.1.0" supports-color "^7.1.0" -character-entities@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/character-entities/-/character-entities-2.0.2.tgz#2d09c2e72cd9523076ccb21157dff66ad43fcc22" - integrity sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ== - chokidar-cli@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/chokidar-cli/-/chokidar-cli-3.0.0.tgz#29283666063b9e167559d30f247ff8fc48794eb7" @@ -740,7 +714,7 @@ commander@^2.20.0: resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== -comment-parser@1.4.1, comment-parser@^1.4.0: +comment-parser@1.4.1, comment-parser@^1.4.1: version "1.4.1" resolved "https://registry.yarnpkg.com/comment-parser/-/comment-parser-1.4.1.tgz#bdafead37961ac079be11eb7ec65c4d021eaf9cc" integrity sha512-buhp5kePrmda3vhc5B9t7pUQXAb2Tnd0qgpkIhPhkHXxJpiPJ11H0ZEU0oBpJ2QztSbzG/ZxMj/CHsYJqRHmyg== @@ -837,7 +811,7 @@ debug@^3.2.7: dependencies: ms "^2.1.1" -debug@^4.0.0, debug@^4.3.1, debug@^4.3.2, debug@^4.4.3: +debug@^4.3.1, debug@^4.3.2, debug@^4.4.3: version "4.4.3" resolved "https://registry.yarnpkg.com/debug/-/debug-4.4.3.tgz#c6ae432d9bd9662582fce08709b038c58e9e3d6a" integrity sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA== @@ -849,13 +823,6 @@ decamelize@^1.2.0: resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" integrity sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA== -decode-named-character-reference@^1.0.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/decode-named-character-reference/-/decode-named-character-reference-1.2.0.tgz#25c32ae6dd5e21889549d40f676030e9514cc0ed" - integrity sha512-c6fcElNV6ShtZXmsgNgFFV5tVX2PaV4g+MOAkb8eXHvn6sryJBrZa9r0zV6+dtTyoCKxtDy5tyQ5ZwQuidtd+Q== - dependencies: - character-entities "^2.0.0" - deep-is@^0.1.3: version "0.1.4" resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831" @@ -884,23 +851,11 @@ dependency-graph@^1.0.0: resolved "https://registry.yarnpkg.com/dependency-graph/-/dependency-graph-1.0.0.tgz#bb5e85aec1310bc13b22dbd76e3196c4ee4c10d2" integrity sha512-cW3gggJ28HZ/LExwxP2B++aiKxhJXMSIt9K48FOXQkm+vuG5gyatXnLsONRJdzO/7VfjDIiaOOa/bs4l464Lwg== -dequal@^2.0.0: - version "2.0.3" - resolved "https://registry.yarnpkg.com/dequal/-/dequal-2.0.3.tgz#2644214f1997d39ed0ee0ece72335490a7ac67be" - integrity sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA== - detect-libc@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b" integrity sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg== -devlop@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/devlop/-/devlop-1.1.0.tgz#4db7c2ca4dc6e0e834c30be70c94bbc976dc7018" - integrity sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA== - dependencies: - dequal "^2.0.0" - diff-sequences@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-27.5.1.tgz#eaecc0d327fd68c8d9672a1e64ab8dccb2ef5327" @@ -2118,31 +2073,6 @@ mathml-tag-names@^2.1.3: resolved "https://registry.yarnpkg.com/mathml-tag-names/-/mathml-tag-names-2.1.3.tgz#4ddadd67308e780cf16a47685878ee27b736a0a3" integrity sha512-APMBEanjybaPzUrfqU0IMU5I0AswKMH7k8OTLs0vvV4KZpExkTkY87nR/zpbuTPj+gARop7aGUbl11pnDfW6xg== -mdast-util-from-markdown@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/mdast-util-from-markdown/-/mdast-util-from-markdown-2.0.2.tgz#4850390ca7cf17413a9b9a0fbefcd1bc0eb4160a" - integrity sha512-uZhTV/8NBuw0WHkPTrCqDOl0zVe1BIng5ZtHoDk49ME1qqcjYmmLmOf0gELgcRMxN4w2iuIeVso5/6QymSrgmA== - dependencies: - "@types/mdast" "^4.0.0" - "@types/unist" "^3.0.0" - decode-named-character-reference "^1.0.0" - devlop "^1.0.0" - mdast-util-to-string "^4.0.0" - micromark "^4.0.0" - micromark-util-decode-numeric-character-reference "^2.0.0" - micromark-util-decode-string "^2.0.0" - micromark-util-normalize-identifier "^2.0.0" - micromark-util-symbol "^2.0.0" - micromark-util-types "^2.0.0" - unist-util-stringify-position "^4.0.0" - -mdast-util-to-string@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/mdast-util-to-string/-/mdast-util-to-string-4.0.0.tgz#7a5121475556a04e7eddeb67b264aae79d312814" - integrity sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg== - dependencies: - "@types/mdast" "^4.0.0" - mdn-data@2.12.2: version "2.12.2" resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.12.2.tgz#9ae6c41a9e65adf61318b32bff7b64fbfb13f8cf" @@ -2163,200 +2093,6 @@ merge2@^1.3.0, merge2@^1.4.1: resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== -micromark-core-commonmark@^2.0.0: - version "2.0.3" - resolved "https://registry.yarnpkg.com/micromark-core-commonmark/-/micromark-core-commonmark-2.0.3.tgz#c691630e485021a68cf28dbc2b2ca27ebf678cd4" - integrity sha512-RDBrHEMSxVFLg6xvnXmb1Ayr2WzLAWjeSATAoxwKYJV94TeNavgoIdA0a9ytzDSVzBy2YKFK+emCPOEibLeCrg== - dependencies: - decode-named-character-reference "^1.0.0" - devlop "^1.0.0" - micromark-factory-destination "^2.0.0" - micromark-factory-label "^2.0.0" - micromark-factory-space "^2.0.0" - micromark-factory-title "^2.0.0" - micromark-factory-whitespace "^2.0.0" - micromark-util-character "^2.0.0" - micromark-util-chunked "^2.0.0" - micromark-util-classify-character "^2.0.0" - micromark-util-html-tag-name "^2.0.0" - micromark-util-normalize-identifier "^2.0.0" - micromark-util-resolve-all "^2.0.0" - micromark-util-subtokenize "^2.0.0" - micromark-util-symbol "^2.0.0" - micromark-util-types "^2.0.0" - -micromark-factory-destination@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/micromark-factory-destination/-/micromark-factory-destination-2.0.1.tgz#8fef8e0f7081f0474fbdd92deb50c990a0264639" - integrity sha512-Xe6rDdJlkmbFRExpTOmRj9N3MaWmbAgdpSrBQvCFqhezUn4AHqJHbaEnfbVYYiexVSs//tqOdY/DxhjdCiJnIA== - dependencies: - micromark-util-character "^2.0.0" - micromark-util-symbol "^2.0.0" - micromark-util-types "^2.0.0" - -micromark-factory-label@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/micromark-factory-label/-/micromark-factory-label-2.0.1.tgz#5267efa97f1e5254efc7f20b459a38cb21058ba1" - integrity sha512-VFMekyQExqIW7xIChcXn4ok29YE3rnuyveW3wZQWWqF4Nv9Wk5rgJ99KzPvHjkmPXF93FXIbBp6YdW3t71/7Vg== - dependencies: - devlop "^1.0.0" - micromark-util-character "^2.0.0" - micromark-util-symbol "^2.0.0" - micromark-util-types "^2.0.0" - -micromark-factory-space@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/micromark-factory-space/-/micromark-factory-space-2.0.1.tgz#36d0212e962b2b3121f8525fc7a3c7c029f334fc" - integrity sha512-zRkxjtBxxLd2Sc0d+fbnEunsTj46SWXgXciZmHq0kDYGnck/ZSGj9/wULTV95uoeYiK5hRXP2mJ98Uo4cq/LQg== - dependencies: - micromark-util-character "^2.0.0" - micromark-util-types "^2.0.0" - -micromark-factory-title@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/micromark-factory-title/-/micromark-factory-title-2.0.1.tgz#237e4aa5d58a95863f01032d9ee9b090f1de6e94" - integrity sha512-5bZ+3CjhAd9eChYTHsjy6TGxpOFSKgKKJPJxr293jTbfry2KDoWkhBb6TcPVB4NmzaPhMs1Frm9AZH7OD4Cjzw== - dependencies: - micromark-factory-space "^2.0.0" - micromark-util-character "^2.0.0" - micromark-util-symbol "^2.0.0" - micromark-util-types "^2.0.0" - -micromark-factory-whitespace@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/micromark-factory-whitespace/-/micromark-factory-whitespace-2.0.1.tgz#06b26b2983c4d27bfcc657b33e25134d4868b0b1" - integrity sha512-Ob0nuZ3PKt/n0hORHyvoD9uZhr+Za8sFoP+OnMcnWK5lngSzALgQYKMr9RJVOWLqQYuyn6ulqGWSXdwf6F80lQ== - dependencies: - micromark-factory-space "^2.0.0" - micromark-util-character "^2.0.0" - micromark-util-symbol "^2.0.0" - micromark-util-types "^2.0.0" - -micromark-util-character@^2.0.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/micromark-util-character/-/micromark-util-character-2.1.1.tgz#2f987831a40d4c510ac261e89852c4e9703ccda6" - integrity sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q== - dependencies: - micromark-util-symbol "^2.0.0" - micromark-util-types "^2.0.0" - -micromark-util-chunked@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/micromark-util-chunked/-/micromark-util-chunked-2.0.1.tgz#47fbcd93471a3fccab86cff03847fc3552db1051" - integrity sha512-QUNFEOPELfmvv+4xiNg2sRYeS/P84pTW0TCgP5zc9FpXetHY0ab7SxKyAQCNCc1eK0459uoLI1y5oO5Vc1dbhA== - dependencies: - micromark-util-symbol "^2.0.0" - -micromark-util-classify-character@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/micromark-util-classify-character/-/micromark-util-classify-character-2.0.1.tgz#d399faf9c45ca14c8b4be98b1ea481bced87b629" - integrity sha512-K0kHzM6afW/MbeWYWLjoHQv1sgg2Q9EccHEDzSkxiP/EaagNzCm7T/WMKZ3rjMbvIpvBiZgwR3dKMygtA4mG1Q== - dependencies: - micromark-util-character "^2.0.0" - micromark-util-symbol "^2.0.0" - micromark-util-types "^2.0.0" - -micromark-util-combine-extensions@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/micromark-util-combine-extensions/-/micromark-util-combine-extensions-2.0.1.tgz#2a0f490ab08bff5cc2fd5eec6dd0ca04f89b30a9" - integrity sha512-OnAnH8Ujmy59JcyZw8JSbK9cGpdVY44NKgSM7E9Eh7DiLS2E9RNQf0dONaGDzEG9yjEl5hcqeIsj4hfRkLH/Bg== - dependencies: - micromark-util-chunked "^2.0.0" - micromark-util-types "^2.0.0" - -micromark-util-decode-numeric-character-reference@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-2.0.2.tgz#fcf15b660979388e6f118cdb6bf7d79d73d26fe5" - integrity sha512-ccUbYk6CwVdkmCQMyr64dXz42EfHGkPQlBj5p7YVGzq8I7CtjXZJrubAYezf7Rp+bjPseiROqe7G6foFd+lEuw== - dependencies: - micromark-util-symbol "^2.0.0" - -micromark-util-decode-string@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/micromark-util-decode-string/-/micromark-util-decode-string-2.0.1.tgz#6cb99582e5d271e84efca8e61a807994d7161eb2" - integrity sha512-nDV/77Fj6eH1ynwscYTOsbK7rR//Uj0bZXBwJZRfaLEJ1iGBR6kIfNmlNqaqJf649EP0F3NWNdeJi03elllNUQ== - dependencies: - decode-named-character-reference "^1.0.0" - micromark-util-character "^2.0.0" - micromark-util-decode-numeric-character-reference "^2.0.0" - micromark-util-symbol "^2.0.0" - -micromark-util-encode@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/micromark-util-encode/-/micromark-util-encode-2.0.1.tgz#0d51d1c095551cfaac368326963cf55f15f540b8" - integrity sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw== - -micromark-util-html-tag-name@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/micromark-util-html-tag-name/-/micromark-util-html-tag-name-2.0.1.tgz#e40403096481986b41c106627f98f72d4d10b825" - integrity sha512-2cNEiYDhCWKI+Gs9T0Tiysk136SnR13hhO8yW6BGNyhOC4qYFnwF1nKfD3HFAIXA5c45RrIG1ub11GiXeYd1xA== - -micromark-util-normalize-identifier@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-2.0.1.tgz#c30d77b2e832acf6526f8bf1aa47bc9c9438c16d" - integrity sha512-sxPqmo70LyARJs0w2UclACPUUEqltCkJ6PhKdMIDuJ3gSf/Q+/GIe3WKl0Ijb/GyH9lOpUkRAO2wp0GVkLvS9Q== - dependencies: - micromark-util-symbol "^2.0.0" - -micromark-util-resolve-all@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/micromark-util-resolve-all/-/micromark-util-resolve-all-2.0.1.tgz#e1a2d62cdd237230a2ae11839027b19381e31e8b" - integrity sha512-VdQyxFWFT2/FGJgwQnJYbe1jjQoNTS4RjglmSjTUlpUMa95Htx9NHeYW4rGDJzbjvCsl9eLjMQwGeElsqmzcHg== - dependencies: - micromark-util-types "^2.0.0" - -micromark-util-sanitize-uri@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.1.tgz#ab89789b818a58752b73d6b55238621b7faa8fd7" - integrity sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ== - dependencies: - micromark-util-character "^2.0.0" - micromark-util-encode "^2.0.0" - micromark-util-symbol "^2.0.0" - -micromark-util-subtokenize@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/micromark-util-subtokenize/-/micromark-util-subtokenize-2.1.0.tgz#d8ade5ba0f3197a1cf6a2999fbbfe6357a1a19ee" - integrity sha512-XQLu552iSctvnEcgXw6+Sx75GflAPNED1qx7eBJ+wydBb2KCbRZe+NwvIEEMM83uml1+2WSXpBAcp9IUCgCYWA== - dependencies: - devlop "^1.0.0" - micromark-util-chunked "^2.0.0" - micromark-util-symbol "^2.0.0" - micromark-util-types "^2.0.0" - -micromark-util-symbol@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/micromark-util-symbol/-/micromark-util-symbol-2.0.1.tgz#e5da494e8eb2b071a0d08fb34f6cefec6c0a19b8" - integrity sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q== - -micromark-util-types@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/micromark-util-types/-/micromark-util-types-2.0.2.tgz#f00225f5f5a0ebc3254f96c36b6605c4b393908e" - integrity sha512-Yw0ECSpJoViF1qTU4DC6NwtC4aWGt1EkzaQB8KPPyCRR8z9TWeV0HbEFGTO+ZY1wB22zmxnJqhPyTpOVCpeHTA== - -micromark@^4.0.0: - version "4.0.2" - resolved "https://registry.yarnpkg.com/micromark/-/micromark-4.0.2.tgz#91395a3e1884a198e62116e33c9c568e39936fdb" - integrity sha512-zpe98Q6kvavpCr1NPVSCMebCKfD7CA2NqZ+rykeNhONIJBpc1tFKt9hucLGwha3jNTNI8lHpctWJWoimVF4PfA== - dependencies: - "@types/debug" "^4.0.0" - debug "^4.0.0" - decode-named-character-reference "^1.0.0" - devlop "^1.0.0" - micromark-core-commonmark "^2.0.0" - micromark-factory-space "^2.0.0" - micromark-util-character "^2.0.0" - micromark-util-chunked "^2.0.0" - micromark-util-combine-extensions "^2.0.0" - micromark-util-decode-numeric-character-reference "^2.0.0" - micromark-util-encode "^2.0.0" - micromark-util-normalize-identifier "^2.0.0" - micromark-util-resolve-all "^2.0.0" - micromark-util-sanitize-uri "^2.0.0" - micromark-util-subtokenize "^2.0.0" - micromark-util-symbol "^2.0.0" - micromark-util-types "^2.0.0" - micromatch@^4.0.2, micromatch@^4.0.5, micromatch@^4.0.8: version "4.0.8" resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.8.tgz#d66fa18f3a47076789320b9b1af32bd86d9fa202" @@ -2753,15 +2489,6 @@ prettier-linter-helpers@^1.0.0: dependencies: fast-diff "^1.1.2" -prettier-plugin-jsdoc@^1.8.0: - version "1.8.0" - resolved "https://registry.yarnpkg.com/prettier-plugin-jsdoc/-/prettier-plugin-jsdoc-1.8.0.tgz#0048c8b062cbdf4839c3230effd6f8dbc3c9021b" - integrity sha512-byW8EBZ1DSA3CPdDGBXfcdqqhh2eq0+HlIOPTGZ6rf9O2p/AwBmtS0e49ot5ZeOdcszj81FyzbyHr/VS0eYpCg== - dependencies: - binary-searching "^2.0.5" - comment-parser "^1.4.0" - mdast-util-from-markdown "^2.0.0" - prettier@^3.7.4: version "3.7.4" resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.7.4.tgz#d2f8335d4b1cec47e1c8098645411b0c9dff9c0f" @@ -2789,6 +2516,11 @@ queue-microtask@^1.2.2: resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== +ramda@0.32.0: + version "0.32.0" + resolved "https://registry.yarnpkg.com/ramda/-/ramda-0.32.0.tgz#b2116807b59b6b177af7a2ad19b14a3653570e96" + integrity sha512-GQWAHhxhxWBWA8oIBr1XahFVjQ9Fic6MK9ikijfd4TZHfE2+urfk+irVlR5VOn48uwMgM+loRRBJd6Yjsbc0zQ== + read-cache@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/read-cache/-/read-cache-1.0.0.tgz#e664ef31161166c9751cdbe8dbcf86b5fb58f774" @@ -3466,13 +3198,6 @@ unbox-primitive@^1.1.0: has-symbols "^1.1.0" which-boxed-primitive "^1.1.1" -unist-util-stringify-position@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/unist-util-stringify-position/-/unist-util-stringify-position-4.0.0.tgz#449c6e21a880e0855bf5aabadeb3a740314abac2" - integrity sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ== - dependencies: - "@types/unist" "^3.0.0" - universalify@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.1.tgz#168efc2180964e6386d061e094df61afe239b18d" diff --git a/yarn.lock b/yarn.lock index 44cca4b10..3058863e8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -112,6 +112,14 @@ resolved "https://registry.npmjs.org/@eslint/js/-/js-8.57.1.tgz" integrity sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q== +"@homer0/prettier-plugin-jsdoc@^11.0.1": + version "11.0.1" + resolved "https://registry.yarnpkg.com/@homer0/prettier-plugin-jsdoc/-/prettier-plugin-jsdoc-11.0.1.tgz#89734d74f5b5fac55d8036a116ea0907bc42b936" + integrity sha512-NpN8oJrNkZvEDlmXu9zzKYG6h96RybSbEYGIFYZZJs2EwL2CTaAn0Rd4rmXnKvQGS0f9i8l4UN2SNQAIhuCSzw== + dependencies: + comment-parser "^1.4.1" + ramda "0.32.0" + "@humanwhocodes/config-array@^0.13.0": version "0.13.0" resolved "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.13.0.tgz" @@ -180,13 +188,6 @@ resolved "https://registry.npmjs.org/@sindresorhus/base62/-/base62-1.0.0.tgz" integrity sha512-TeheYy0ILzBEI/CO55CP6zJCSdSWeRtGnHy8U8dWSUH4I68iqTsy7HkMktR4xakThc9jotkPQUXT4ITdbV7cHA== -"@types/debug@^4.0.0": - version "4.1.12" - resolved "https://registry.npmjs.org/@types/debug/-/debug-4.1.12.tgz" - integrity sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ== - dependencies: - "@types/ms" "*" - "@types/estree@^1.0.8": version "1.0.8" resolved "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz" @@ -197,23 +198,6 @@ resolved "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz" integrity sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ== -"@types/mdast@^4.0.0": - version "4.0.4" - resolved "https://registry.npmjs.org/@types/mdast/-/mdast-4.0.4.tgz" - integrity sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA== - dependencies: - "@types/unist" "*" - -"@types/ms@*": - version "2.1.0" - resolved "https://registry.npmjs.org/@types/ms/-/ms-2.1.0.tgz" - integrity sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA== - -"@types/unist@*", "@types/unist@^3.0.0": - version "3.0.3" - resolved "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz" - integrity sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q== - "@typescript-eslint/types@^8.46.0": version "8.51.0" resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.51.0.tgz" @@ -376,11 +360,6 @@ balanced-match@^2.0.0: resolved "https://registry.npmjs.org/balanced-match/-/balanced-match-2.0.0.tgz" integrity sha512-1ugUSr8BHXRnK23KfuYS+gVMC3LB8QGH9W1iGtDPsNWoQbgtXSExkBu2aDR4epiGWZOjZsj6lDl/N/AqqTC3UA== -binary-searching@^2.0.5: - version "2.0.5" - resolved "https://registry.npmjs.org/binary-searching/-/binary-searching-2.0.5.tgz" - integrity sha512-v4N2l3RxL+m4zDxyxz3Ne2aTmiPn8ZUpKFpdPtO+ItW1NcTCXA7JeHG5GMBSvoKSkQZ9ycS+EouDVxYB9ufKWA== - brace-expansion@^1.1.7: version "1.1.12" resolved "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz" @@ -446,11 +425,6 @@ chalk@^4.0.0: ansi-styles "^4.1.0" supports-color "^7.1.0" -character-entities@^2.0.0: - version "2.0.2" - resolved "https://registry.npmjs.org/character-entities/-/character-entities-2.0.2.tgz" - integrity sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ== - color-convert@^2.0.1: version "2.0.1" resolved "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz" @@ -468,9 +442,9 @@ colord@^2.9.3: resolved "https://registry.npmjs.org/colord/-/colord-2.9.3.tgz" integrity sha512-jeC1axXpnb0/2nn/Y1LPuLdgXBLH7aDcHu4KEKfqw3CUhX7ZpfBSlPKyqXE6btIgEzfWtrX3/tyBCaCvXvMkOw== -comment-parser@1.4.1, comment-parser@^1.4.0: +comment-parser@1.4.1, comment-parser@^1.4.1: version "1.4.1" - resolved "https://registry.npmjs.org/comment-parser/-/comment-parser-1.4.1.tgz" + resolved "https://registry.yarnpkg.com/comment-parser/-/comment-parser-1.4.1.tgz#bdafead37961ac079be11eb7ec65c4d021eaf9cc" integrity sha512-buhp5kePrmda3vhc5B9t7pUQXAb2Tnd0qgpkIhPhkHXxJpiPJ11H0ZEU0oBpJ2QztSbzG/ZxMj/CHsYJqRHmyg== concat-map@0.0.1: @@ -554,20 +528,13 @@ debug@^3.2.7: dependencies: ms "^2.1.1" -debug@^4.0.0, debug@^4.3.1, debug@^4.3.2, debug@^4.4.3: +debug@^4.3.1, debug@^4.3.2, debug@^4.4.3: version "4.4.3" resolved "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz" integrity sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA== dependencies: ms "^2.1.3" -decode-named-character-reference@^1.0.0: - version "1.2.0" - resolved "https://registry.npmjs.org/decode-named-character-reference/-/decode-named-character-reference-1.2.0.tgz" - integrity sha512-c6fcElNV6ShtZXmsgNgFFV5tVX2PaV4g+MOAkb8eXHvn6sryJBrZa9r0zV6+dtTyoCKxtDy5tyQ5ZwQuidtd+Q== - dependencies: - character-entities "^2.0.0" - deep-is@^0.1.3: version "0.1.4" resolved "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz" @@ -591,18 +558,6 @@ define-properties@^1.2.1: has-property-descriptors "^1.0.0" object-keys "^1.1.1" -dequal@^2.0.0: - version "2.0.3" - resolved "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz" - integrity sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA== - -devlop@^1.0.0: - version "1.1.0" - resolved "https://registry.npmjs.org/devlop/-/devlop-1.1.0.tgz" - integrity sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA== - dependencies: - dequal "^2.0.0" - diff-sequences@^27.5.1: version "27.5.1" resolved "https://registry.npmjs.org/diff-sequences/-/diff-sequences-27.5.1.tgz" @@ -1672,31 +1627,6 @@ mathml-tag-names@^2.1.3: resolved "https://registry.npmjs.org/mathml-tag-names/-/mathml-tag-names-2.1.3.tgz" integrity sha512-APMBEanjybaPzUrfqU0IMU5I0AswKMH7k8OTLs0vvV4KZpExkTkY87nR/zpbuTPj+gARop7aGUbl11pnDfW6xg== -mdast-util-from-markdown@^2.0.0: - version "2.0.2" - resolved "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-2.0.2.tgz" - integrity sha512-uZhTV/8NBuw0WHkPTrCqDOl0zVe1BIng5ZtHoDk49ME1qqcjYmmLmOf0gELgcRMxN4w2iuIeVso5/6QymSrgmA== - dependencies: - "@types/mdast" "^4.0.0" - "@types/unist" "^3.0.0" - decode-named-character-reference "^1.0.0" - devlop "^1.0.0" - mdast-util-to-string "^4.0.0" - micromark "^4.0.0" - micromark-util-decode-numeric-character-reference "^2.0.0" - micromark-util-decode-string "^2.0.0" - micromark-util-normalize-identifier "^2.0.0" - micromark-util-symbol "^2.0.0" - micromark-util-types "^2.0.0" - unist-util-stringify-position "^4.0.0" - -mdast-util-to-string@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/mdast-util-to-string/-/mdast-util-to-string-4.0.0.tgz" - integrity sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg== - dependencies: - "@types/mdast" "^4.0.0" - mdn-data@2.12.2: version "2.12.2" resolved "https://registry.npmjs.org/mdn-data/-/mdn-data-2.12.2.tgz" @@ -1712,200 +1642,6 @@ merge2@^1.3.0, merge2@^1.4.1: resolved "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz" integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== -micromark-core-commonmark@^2.0.0: - version "2.0.3" - resolved "https://registry.npmjs.org/micromark-core-commonmark/-/micromark-core-commonmark-2.0.3.tgz" - integrity sha512-RDBrHEMSxVFLg6xvnXmb1Ayr2WzLAWjeSATAoxwKYJV94TeNavgoIdA0a9ytzDSVzBy2YKFK+emCPOEibLeCrg== - dependencies: - decode-named-character-reference "^1.0.0" - devlop "^1.0.0" - micromark-factory-destination "^2.0.0" - micromark-factory-label "^2.0.0" - micromark-factory-space "^2.0.0" - micromark-factory-title "^2.0.0" - micromark-factory-whitespace "^2.0.0" - micromark-util-character "^2.0.0" - micromark-util-chunked "^2.0.0" - micromark-util-classify-character "^2.0.0" - micromark-util-html-tag-name "^2.0.0" - micromark-util-normalize-identifier "^2.0.0" - micromark-util-resolve-all "^2.0.0" - micromark-util-subtokenize "^2.0.0" - micromark-util-symbol "^2.0.0" - micromark-util-types "^2.0.0" - -micromark-factory-destination@^2.0.0: - version "2.0.1" - resolved "https://registry.npmjs.org/micromark-factory-destination/-/micromark-factory-destination-2.0.1.tgz" - integrity sha512-Xe6rDdJlkmbFRExpTOmRj9N3MaWmbAgdpSrBQvCFqhezUn4AHqJHbaEnfbVYYiexVSs//tqOdY/DxhjdCiJnIA== - dependencies: - micromark-util-character "^2.0.0" - micromark-util-symbol "^2.0.0" - micromark-util-types "^2.0.0" - -micromark-factory-label@^2.0.0: - version "2.0.1" - resolved "https://registry.npmjs.org/micromark-factory-label/-/micromark-factory-label-2.0.1.tgz" - integrity sha512-VFMekyQExqIW7xIChcXn4ok29YE3rnuyveW3wZQWWqF4Nv9Wk5rgJ99KzPvHjkmPXF93FXIbBp6YdW3t71/7Vg== - dependencies: - devlop "^1.0.0" - micromark-util-character "^2.0.0" - micromark-util-symbol "^2.0.0" - micromark-util-types "^2.0.0" - -micromark-factory-space@^2.0.0: - version "2.0.1" - resolved "https://registry.npmjs.org/micromark-factory-space/-/micromark-factory-space-2.0.1.tgz" - integrity sha512-zRkxjtBxxLd2Sc0d+fbnEunsTj46SWXgXciZmHq0kDYGnck/ZSGj9/wULTV95uoeYiK5hRXP2mJ98Uo4cq/LQg== - dependencies: - micromark-util-character "^2.0.0" - micromark-util-types "^2.0.0" - -micromark-factory-title@^2.0.0: - version "2.0.1" - resolved "https://registry.npmjs.org/micromark-factory-title/-/micromark-factory-title-2.0.1.tgz" - integrity sha512-5bZ+3CjhAd9eChYTHsjy6TGxpOFSKgKKJPJxr293jTbfry2KDoWkhBb6TcPVB4NmzaPhMs1Frm9AZH7OD4Cjzw== - dependencies: - micromark-factory-space "^2.0.0" - micromark-util-character "^2.0.0" - micromark-util-symbol "^2.0.0" - micromark-util-types "^2.0.0" - -micromark-factory-whitespace@^2.0.0: - version "2.0.1" - resolved "https://registry.npmjs.org/micromark-factory-whitespace/-/micromark-factory-whitespace-2.0.1.tgz" - integrity sha512-Ob0nuZ3PKt/n0hORHyvoD9uZhr+Za8sFoP+OnMcnWK5lngSzALgQYKMr9RJVOWLqQYuyn6ulqGWSXdwf6F80lQ== - dependencies: - micromark-factory-space "^2.0.0" - micromark-util-character "^2.0.0" - micromark-util-symbol "^2.0.0" - micromark-util-types "^2.0.0" - -micromark-util-character@^2.0.0: - version "2.1.1" - resolved "https://registry.npmjs.org/micromark-util-character/-/micromark-util-character-2.1.1.tgz" - integrity sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q== - dependencies: - micromark-util-symbol "^2.0.0" - micromark-util-types "^2.0.0" - -micromark-util-chunked@^2.0.0: - version "2.0.1" - resolved "https://registry.npmjs.org/micromark-util-chunked/-/micromark-util-chunked-2.0.1.tgz" - integrity sha512-QUNFEOPELfmvv+4xiNg2sRYeS/P84pTW0TCgP5zc9FpXetHY0ab7SxKyAQCNCc1eK0459uoLI1y5oO5Vc1dbhA== - dependencies: - micromark-util-symbol "^2.0.0" - -micromark-util-classify-character@^2.0.0: - version "2.0.1" - resolved "https://registry.npmjs.org/micromark-util-classify-character/-/micromark-util-classify-character-2.0.1.tgz" - integrity sha512-K0kHzM6afW/MbeWYWLjoHQv1sgg2Q9EccHEDzSkxiP/EaagNzCm7T/WMKZ3rjMbvIpvBiZgwR3dKMygtA4mG1Q== - dependencies: - micromark-util-character "^2.0.0" - micromark-util-symbol "^2.0.0" - micromark-util-types "^2.0.0" - -micromark-util-combine-extensions@^2.0.0: - version "2.0.1" - resolved "https://registry.npmjs.org/micromark-util-combine-extensions/-/micromark-util-combine-extensions-2.0.1.tgz" - integrity sha512-OnAnH8Ujmy59JcyZw8JSbK9cGpdVY44NKgSM7E9Eh7DiLS2E9RNQf0dONaGDzEG9yjEl5hcqeIsj4hfRkLH/Bg== - dependencies: - micromark-util-chunked "^2.0.0" - micromark-util-types "^2.0.0" - -micromark-util-decode-numeric-character-reference@^2.0.0: - version "2.0.2" - resolved "https://registry.npmjs.org/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-2.0.2.tgz" - integrity sha512-ccUbYk6CwVdkmCQMyr64dXz42EfHGkPQlBj5p7YVGzq8I7CtjXZJrubAYezf7Rp+bjPseiROqe7G6foFd+lEuw== - dependencies: - micromark-util-symbol "^2.0.0" - -micromark-util-decode-string@^2.0.0: - version "2.0.1" - resolved "https://registry.npmjs.org/micromark-util-decode-string/-/micromark-util-decode-string-2.0.1.tgz" - integrity sha512-nDV/77Fj6eH1ynwscYTOsbK7rR//Uj0bZXBwJZRfaLEJ1iGBR6kIfNmlNqaqJf649EP0F3NWNdeJi03elllNUQ== - dependencies: - decode-named-character-reference "^1.0.0" - micromark-util-character "^2.0.0" - micromark-util-decode-numeric-character-reference "^2.0.0" - micromark-util-symbol "^2.0.0" - -micromark-util-encode@^2.0.0: - version "2.0.1" - resolved "https://registry.npmjs.org/micromark-util-encode/-/micromark-util-encode-2.0.1.tgz" - integrity sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw== - -micromark-util-html-tag-name@^2.0.0: - version "2.0.1" - resolved "https://registry.npmjs.org/micromark-util-html-tag-name/-/micromark-util-html-tag-name-2.0.1.tgz" - integrity sha512-2cNEiYDhCWKI+Gs9T0Tiysk136SnR13hhO8yW6BGNyhOC4qYFnwF1nKfD3HFAIXA5c45RrIG1ub11GiXeYd1xA== - -micromark-util-normalize-identifier@^2.0.0: - version "2.0.1" - resolved "https://registry.npmjs.org/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-2.0.1.tgz" - integrity sha512-sxPqmo70LyARJs0w2UclACPUUEqltCkJ6PhKdMIDuJ3gSf/Q+/GIe3WKl0Ijb/GyH9lOpUkRAO2wp0GVkLvS9Q== - dependencies: - micromark-util-symbol "^2.0.0" - -micromark-util-resolve-all@^2.0.0: - version "2.0.1" - resolved "https://registry.npmjs.org/micromark-util-resolve-all/-/micromark-util-resolve-all-2.0.1.tgz" - integrity sha512-VdQyxFWFT2/FGJgwQnJYbe1jjQoNTS4RjglmSjTUlpUMa95Htx9NHeYW4rGDJzbjvCsl9eLjMQwGeElsqmzcHg== - dependencies: - micromark-util-types "^2.0.0" - -micromark-util-sanitize-uri@^2.0.0: - version "2.0.1" - resolved "https://registry.npmjs.org/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.1.tgz" - integrity sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ== - dependencies: - micromark-util-character "^2.0.0" - micromark-util-encode "^2.0.0" - micromark-util-symbol "^2.0.0" - -micromark-util-subtokenize@^2.0.0: - version "2.1.0" - resolved "https://registry.npmjs.org/micromark-util-subtokenize/-/micromark-util-subtokenize-2.1.0.tgz" - integrity sha512-XQLu552iSctvnEcgXw6+Sx75GflAPNED1qx7eBJ+wydBb2KCbRZe+NwvIEEMM83uml1+2WSXpBAcp9IUCgCYWA== - dependencies: - devlop "^1.0.0" - micromark-util-chunked "^2.0.0" - micromark-util-symbol "^2.0.0" - micromark-util-types "^2.0.0" - -micromark-util-symbol@^2.0.0: - version "2.0.1" - resolved "https://registry.npmjs.org/micromark-util-symbol/-/micromark-util-symbol-2.0.1.tgz" - integrity sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q== - -micromark-util-types@^2.0.0: - version "2.0.2" - resolved "https://registry.npmjs.org/micromark-util-types/-/micromark-util-types-2.0.2.tgz" - integrity sha512-Yw0ECSpJoViF1qTU4DC6NwtC4aWGt1EkzaQB8KPPyCRR8z9TWeV0HbEFGTO+ZY1wB22zmxnJqhPyTpOVCpeHTA== - -micromark@^4.0.0: - version "4.0.2" - resolved "https://registry.npmjs.org/micromark/-/micromark-4.0.2.tgz" - integrity sha512-zpe98Q6kvavpCr1NPVSCMebCKfD7CA2NqZ+rykeNhONIJBpc1tFKt9hucLGwha3jNTNI8lHpctWJWoimVF4PfA== - dependencies: - "@types/debug" "^4.0.0" - debug "^4.0.0" - decode-named-character-reference "^1.0.0" - devlop "^1.0.0" - micromark-core-commonmark "^2.0.0" - micromark-factory-space "^2.0.0" - micromark-util-character "^2.0.0" - micromark-util-chunked "^2.0.0" - micromark-util-combine-extensions "^2.0.0" - micromark-util-decode-numeric-character-reference "^2.0.0" - micromark-util-encode "^2.0.0" - micromark-util-normalize-identifier "^2.0.0" - micromark-util-resolve-all "^2.0.0" - micromark-util-sanitize-uri "^2.0.0" - micromark-util-subtokenize "^2.0.0" - micromark-util-symbol "^2.0.0" - micromark-util-types "^2.0.0" - micromatch@^4.0.8: version "4.0.8" resolved "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz" @@ -2172,15 +1908,6 @@ prettier-linter-helpers@^1.0.0: dependencies: fast-diff "^1.1.2" -prettier-plugin-jsdoc@^1.7.0: - version "1.8.0" - resolved "https://registry.npmjs.org/prettier-plugin-jsdoc/-/prettier-plugin-jsdoc-1.8.0.tgz" - integrity sha512-byW8EBZ1DSA3CPdDGBXfcdqqhh2eq0+HlIOPTGZ6rf9O2p/AwBmtS0e49ot5ZeOdcszj81FyzbyHr/VS0eYpCg== - dependencies: - binary-searching "^2.0.5" - comment-parser "^1.4.0" - mdast-util-from-markdown "^2.0.0" - prettier@^3.7.4: version "3.7.4" resolved "https://registry.npmjs.org/prettier/-/prettier-3.7.4.tgz" @@ -2203,6 +1930,11 @@ queue-microtask@^1.2.2: resolved "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz" integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== +ramda@0.32.0: + version "0.32.0" + resolved "https://registry.yarnpkg.com/ramda/-/ramda-0.32.0.tgz#b2116807b59b6b177af7a2ad19b14a3653570e96" + integrity sha512-GQWAHhxhxWBWA8oIBr1XahFVjQ9Fic6MK9ikijfd4TZHfE2+urfk+irVlR5VOn48uwMgM+loRRBJd6Yjsbc0zQ== + reflect.getprototypeof@^1.0.6, reflect.getprototypeof@^1.0.9: version "1.0.10" resolved "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.10.tgz" @@ -2711,13 +2443,6 @@ unbox-primitive@^1.1.0: has-symbols "^1.1.0" which-boxed-primitive "^1.1.1" -unist-util-stringify-position@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-4.0.0.tgz" - integrity sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ== - dependencies: - "@types/unist" "^3.0.0" - uri-js@^4.2.2: version "4.4.1" resolved "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz"