diff options
-rw-r--r-- | .gitlab-ci.yml | 2 | ||||
-rw-r--r-- | .gitlab/ci/rules.gitlab-ci.yml | 28 | ||||
-rw-r--r-- | .gitlab/ci/test.gitlab-ci.yml | 2 | ||||
-rw-r--r-- | Gemfile | 2 | ||||
-rw-r--r-- | Gemfile.lock | 6 | ||||
-rw-r--r-- | content/_data/navigation.yaml | 90 | ||||
-rw-r--r-- | layouts/head.html | 1 | ||||
-rw-r--r-- | lib/tasks/build_site.rake | 11 | ||||
-rw-r--r-- | lib/tasks/task_helpers.rb | 31 | ||||
-rw-r--r-- | package.json | 16 | ||||
-rw-r--r-- | rollup.config.js | 4 | ||||
-rw-r--r-- | scripts/lunr/preindex.js | 20 | ||||
-rw-r--r-- | yarn.lock | 352 |
13 files changed, 294 insertions, 271 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cb324826..42a4d328 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -53,6 +53,8 @@ workflow: variables: DOCS_PROJECT_PIPELINE_TYPE: "Hourly site deployment pipeline" - if: '$CI_PIPELINE_SOURCE == "pipeline"' + variables: + DOCS_PROJECT_PIPELINE_TYPE: "Pipeline source = pipeline" - if: '$CI_PIPELINE_SOURCE == "trigger"' variables: DOCS_PROJECT_PIPELINE_TYPE: "Review app pipeline" diff --git a/.gitlab/ci/rules.gitlab-ci.yml b/.gitlab/ci/rules.gitlab-ci.yml index c754074e..a19fd98c 100644 --- a/.gitlab/ci/rules.gitlab-ci.yml +++ b/.gitlab/ci/rules.gitlab-ci.yml @@ -61,23 +61,6 @@ default: # # Rules to determine which pipelines jobs will run in. # -.rules_scheduled: - rules: - - if: $CHORES_PIPELINE == "true" - when: never - - if: '$CI_PIPELINE_SOURCE != "schedule"' - when: never - - if: '$PIPELINE_SCHEDULE_TIMING == "weekly"' - - if: '$PIPELINE_SCHEDULE_TIMING == "hourly"' - when: manual - allow_failure: true - - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' - when: manual - allow_failure: true - - if: '$CI_COMMIT_BRANCH == "main"' - when: manual - allow_failure: true - .rules_scheduled_manual: rules: - if: $CHORES_PIPELINE == "true" @@ -104,17 +87,6 @@ default: - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' - if: '$CI_COMMIT_BRANCH =~ /^\d{1,2}\.\d{1,2}$/' -.rules_global_nav_test: - rules: - - if: $CHORES_PIPELINE == "true" - when: never - - if: '$CI_PIPELINE_SOURCE == "pipeline" || $CI_PIPELINE_SOURCE == "trigger"' - when: never - - if: '$CI_PIPELINE_SOURCE == "schedule"' - - if: '$CI_MERGE_REQUEST_ID' - - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' - - if: '$CI_COMMIT_BRANCH =~ /^\d{1,2}\.\d{1,2}$/' - .rules_prod: rules: - if: $CHORES_PIPELINE == "true" diff --git a/.gitlab/ci/test.gitlab-ci.yml b/.gitlab/ci/test.gitlab-ci.yml index d52eee30..1bed0ec1 100644 --- a/.gitlab/ci/test.gitlab-ci.yml +++ b/.gitlab/ci/test.gitlab-ci.yml @@ -8,7 +8,7 @@ test_global_nav_links: image: registry.gitlab.com/gitlab-org/gitlab-docs/lint-html:alpine-3.16-ruby-3.0.5-2a7e4d1c extends: - - .rules_global_nav_test + - .rules_site_tests - .bundle stage: test script: @@ -31,5 +31,5 @@ group :test, :development do end group :development, :danger do - gem 'gitlab-dangerfiles', '~> 3.7.0', require: false + gem 'gitlab-dangerfiles', '~> 3.8.0', require: false end diff --git a/Gemfile.lock b/Gemfile.lock index 0eb1cf16..c657de7c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -68,13 +68,13 @@ GEM faraday (>= 0.8) faraday-net_http (3.0.2) ffi (1.15.5) - git (1.13.2) + git (1.16.0) addressable (~> 2.8) rchardet (~> 1.8) gitlab (4.19.0) httparty (~> 0.20) terminal-table (>= 1.5.1) - gitlab-dangerfiles (3.7.0) + gitlab-dangerfiles (3.8.0) danger (>= 8.4.5) danger-gitlab (>= 8.0.0) rake @@ -285,7 +285,7 @@ PLATFORMS DEPENDENCIES builder (~> 3.2.4) - gitlab-dangerfiles (~> 3.7.0) + gitlab-dangerfiles (~> 3.8.0) gitlab-styles (~> 10.0.0) gitlab_kramdown (~> 0.25.0) highline (~> 2.1.0) diff --git a/content/_data/navigation.yaml b/content/_data/navigation.yaml index 1f3081cd..4c39576c 100644 --- a/content/_data/navigation.yaml +++ b/content/_data/navigation.yaml @@ -1104,7 +1104,7 @@ sections: - doc_title: Search doc_url: 'ee/user/search/' docs: - - doc_title: Advanced Search + - doc_title: Advanced search doc_url: 'ee/user/search/advanced_search.html' - doc_title: Exact code search doc_url: 'ee/user/search/exact_code_search.html' @@ -1700,33 +1700,33 @@ sections: - doc_title: GitLab Pages doc_url: 'ee/user/project/pages/' docs: - - doc_title: 'Tutorial: Create a GitLab Pages website' + - doc_title: 'Tutorial: Create website from scratch' doc_url: 'ee/user/project/pages/getting_started/pages_from_scratch.html' - - doc_title: Create by using a CI/CD template + - doc_title: Create website from CI/CD template doc_url: 'ee/user/project/pages/getting_started/pages_ci_cd_template.html' - - doc_title: Create by using a forked sample project + - doc_title: Create website from forked sample project doc_url: 'ee/user/project/pages/getting_started/pages_forked_sample_project.html' - - doc_title: Create by using a project template + - doc_title: Create website from project template doc_url: 'ee/user/project/pages/getting_started/pages_new_project_template.html' - - doc_title: 'Create a Pages deployment for your static site' + - doc_title: Create deployment for static site doc_url: 'ee/user/project/pages/getting_started/pages_ui.html' - - doc_title: Public folder configuration + - doc_title: Public folder doc_url: 'ee/user/project/pages/public_folder.html' - - doc_title: Default domains, URLs, and baseurls + - doc_title: Default domain names and URLs doc_url: 'ee/user/project/pages/getting_started_part_one.html' - - doc_title: Custom domains and SSL/TLS certificates + - doc_title: Custom domains doc_url: 'ee/user/project/pages/custom_domains_ssl_tls_certification/' - - doc_title: DNS concepts + - doc_title: DNS records doc_url: 'ee/user/project/pages/custom_domains_ssl_tls_certification/dns_concepts.html' - - doc_title: SSL/TLS concepts + - doc_title: SSL/TLS certificates doc_url: 'ee/user/project/pages/custom_domains_ssl_tls_certification/ssl_tls_concepts.html' - - doc_title: Let's Encrypt integration + - doc_title: Let's Encrypt certificates doc_url: 'ee/user/project/pages/custom_domains_ssl_tls_certification/lets_encrypt_integration.html' - doc_title: Access control doc_url: 'ee/user/project/pages/pages_access_control.html' - doc_title: Redirects doc_url: 'ee/user/project/pages/redirects.html' - - doc_title: Exploring GitLab Pages + - doc_title: Settings doc_url: 'ee/user/project/pages/introduction.html' - doc_title: Packages & Registries doc_url: 'ee/user/packages/' @@ -2043,6 +2043,8 @@ sections: docs: - doc_title: Flux doc_url: 'ee/user/clusters/agent/gitops/flux.html' + - doc_title: "Tutorial: Set up Flux for GitOps" + doc_url: 'ee/user/clusters/agent/gitops/flux_tutorial.html' - doc_title: Use Helm charts doc_url: 'ee/user/clusters/agent/gitops/helm.html' - doc_title: Manage Kubernetes secrets @@ -2711,6 +2713,8 @@ sections: doc_url: 'ee/development/policies.html' - doc_title: Issues workflow doc_url: 'ee/development/contributing/issue_workflow.html' + - doc_title: Labels + doc_url: 'ee/development/labels/' - doc_title: Merge request concepts doc_url: 'ee/development/merge_request_concepts/' docs: @@ -2799,28 +2803,30 @@ sections: - doc_title: Development style guides doc_url: 'ee/development/contributing/style_guides.html' docs: - - doc_title: Frontend style guides - doc_url: 'ee/development/fe_guide/style/' + - doc_title: Advanced search migration style guide + doc_url: 'ee/development/search/advanced_search_migration_styleguide.html' - doc_title: API style guide doc_url: 'ee/development/api_styleguide.html' + - doc_title: Frontend style guides + doc_url: 'ee/development/fe_guide/style/' + - doc_title: Gemfile guidelines + doc_url: 'ee/development/gemfile.html' - doc_title: Go standards and style guidelines doc_url: 'ee/development/go_guide/' - doc_title: GraphQL API style guide doc_url: 'ee/development/api_graphql_styleguide.html' - - doc_title: Guidelines for shell commands + - doc_title: Shell command guidelines doc_url: 'ee/development/shell_commands.html' - doc_title: HTML style guide doc_url: 'ee/development/fe_guide/style/html.html' - doc_title: JavaScript style guide doc_url: 'ee/development/fe_guide/style/javascript.html' - - doc_title: Python development guidelines + - doc_title: Python guidelines doc_url: 'ee/development/python_guide/' - - doc_title: RuboCop rule development guide + - doc_title: RuboCop rule guidelines doc_url: 'ee/development/rubocop_development_guide.html' - doc_title: Ruby style guide doc_url: 'ee/development/backend/ruby_style_guide.html' - - doc_title: 'Gemfile guidelines' - doc_url: 'ee/development/gemfile.html' - doc_title: SCSS style guide doc_url: 'ee/development/fe_guide/style/scss.html' - doc_title: Secure coding guidelines @@ -2832,15 +2838,17 @@ sections: - doc_title: Feature development doc_url: 'ee/development/feature_development.html' docs: - - doc_title: Approval rules development + - doc_title: Advanced search + doc_url: 'ee/development/advanced_search.html' + - doc_title: Approval rules doc_url: 'ee/development/merge_request_concepts/approval_rules.html' - - doc_title: Audit Event development + - doc_title: Audit events doc_url: 'ee/development/audit_event_guide/' - - doc_title: Auto DevOps development + - doc_title: Auto DevOps doc_url: 'ee/development/auto_devops.html' - doc_title: Built-in project templates doc_url: 'ee/development/project_templates.html' - - doc_title: CI/CD development + - doc_title: CI/CD doc_url: 'ee/development/cicd/' docs: - doc_title: Documenting keywords @@ -2853,14 +2861,14 @@ sections: doc_url: 'ee/development/cicd/pipeline_wizard.html' - doc_title: Code intelligence doc_url: 'ee/development/code_intelligence/' - - doc_title: Create - Source Code backend + - doc_title: 'Create: Source Code backend' doc_url: 'ee/development/backend/create_source_code_be/' docs: - doc_title: Gitaly touch points doc_url: 'ee/development/backend/create_source_code_be/gitaly_touch_points.html' - doc_title: Source Code REST endpoints doc_url: 'ee/development/backend/create_source_code_be/rest_endpoints.html' - - doc_title: Database development + - doc_title: Database doc_url: 'ee/development/database/' docs: - doc_title: Adding database indexes @@ -2884,8 +2892,12 @@ sections: docs: - doc_title: GitLab activity data in ClickHouse doc_url: 'ee/development/database/clickhouse/gitlab_activity_data.html' + - doc_title: Merge request analytics with ClickHouse + doc_url: 'ee/development/database/clickhouse/merge_request_analytics.html' - doc_title: Optimizing query execution doc_url: 'ee/development/database/clickhouse/optimization.html' + - doc_title: Tiered storages in ClickHouse + doc_url: 'ee/development/database/clickhouse/tiered_storage.html' - doc_title: Database Dictionary doc_url: 'ee/development/database/database_dictionary.html' - doc_title: Database Lab and Postgres.ai @@ -2944,8 +2956,6 @@ sections: doc_url: 'ee/development/database/understanding_explain_plans.html' - doc_title: Design and UI doc_url: 'ee/development/contributing/design.html' - - doc_title: Developer guide to logging - doc_url: 'ee/development/logging.html' - doc_title: Distributed tracing doc_url: 'ee/development/distributed_tracing.html' - doc_title: Frontend development @@ -3014,7 +3024,7 @@ sections: doc_url: 'ee/development/fe_guide/vue3_migration.html' - doc_title: Widgets doc_url: 'ee/development/fe_guide/widgets.html' - - doc_title: Geo development + - doc_title: Geo doc_url: 'ee/development/geo.html' docs: - doc_title: Geo framework @@ -3025,9 +3035,9 @@ sections: doc_url: 'ee/development/lfs.html' - doc_title: Git object deduplication doc_url: 'ee/development/git_object_deduplication.html' - - doc_title: Gitaly development + - doc_title: Gitaly doc_url: 'ee/development/gitaly.html' - - doc_title: GitLab Flavored Markdown (GLFM) developer documentation + - doc_title: GitLab Flavored Markdown (GLFM) doc_url: 'ee/development/gitlab_flavored_markdown/' docs: - doc_title: GitLab Flavored Markdown (GLFM) specification guide @@ -3041,7 +3051,7 @@ sections: doc_url: 'ee/development/gitlab_shell/gitlab_sshd.html' - doc_title: Processes doc_url: 'ee/development/gitlab_shell/process.html' - - doc_title: GraphQL development + - doc_title: GraphQL doc_url: 'ee/development/graphql_guide/' docs: - doc_title: GraphQL authorization @@ -3081,6 +3091,8 @@ sections: doc_url: 'ee/development/json.html' - doc_title: Kubernetes integration doc_url: 'ee/development/kubernetes.html' + - doc_title: Logging + doc_url: 'ee/development/logging.html' - doc_title: Observability for stage groups doc_url: 'ee/development/stage_group_observability/' docs: @@ -3090,7 +3102,7 @@ sections: doc_url: 'ee/development/stage_group_observability/dashboards/stage_group_dashboard.html' - doc_title: Error budget detail doc_url: 'ee/development/stage_group_observability/dashboards/error_budget_detail.html' - - doc_title: Package development + - doc_title: Package doc_url: 'ee/development/packages/' docs: - doc_title: Package settings @@ -3107,15 +3119,15 @@ sections: doc_url: 'ee/development/packages/dependency_proxy.html' - doc_title: Permissions doc_url: 'ee/development/permissions.html' - - doc_title: Product Qualified Lead (PQL) guide + - doc_title: Product Qualified Lead (PQL) doc_url: 'ee/development/product_qualified_lead_guide/' - doc_title: Pry debugging doc_url: 'ee/development/pry_debugging.html' - doc_title: Real-time features doc_url: 'ee/development/real_time.html' - - doc_title: Redis guidelines + - doc_title: Redis doc_url: 'ee/development/redis.html' - - doc_title: Sec section development + - doc_title: Sec section doc_url: 'ee/development/sec/' docs: - doc_title: Analyzer development guide @@ -3124,7 +3136,7 @@ sections: doc_url: 'ee/development/sec/security_report_ingestion_overview.html' - doc_title: Token Revocation API doc_url: 'ee/development/sec/token_revocation_api.html' - - doc_title: Service Ping guide + - doc_title: Service Ping doc_url: 'ee/development/service_ping/' docs: - doc_title: Metrics lifecycle @@ -3144,7 +3156,7 @@ sections: doc_url: 'ee/development/service_ping/review_guidelines.html' - doc_title: Troubleshooting doc_url: 'ee/development/service_ping/troubleshooting.html' - - doc_title: Sidekiq development + - doc_title: Sidekiq doc_url: 'ee/development/sidekiq/' docs: - doc_title: Compatibility across updates @@ -3195,7 +3207,7 @@ sections: doc_url: 'ee/development/uploads/working_with_uploads.html' - doc_title: Value Stream Analytics doc_url: 'ee/development/value_stream_analytics.html' - - doc_title: Verify stage development + - doc_title: Verify stage doc_url: 'ee/development/contributing/verify/' - doc_title: Wikis doc_url: 'ee/development/wikis.html' diff --git a/layouts/head.html b/layouts/head.html index 619a2942..99284d35 100644 --- a/layouts/head.html +++ b/layouts/head.html @@ -82,6 +82,7 @@ <meta name="google-site-verification" content="BCEBC2LC7A1NzO9Com1oBrWK88tV_QXfUL0i9mwXPL0" /> <!-- Phillip Wells --> <meta name="google-site-verification" content="a2lNcHMorfS43aoISjZt5_BBPo-H1UaTKMQdBgZO9iY" /> <!-- Lorena Ciutacu --> <meta name="google-site-verification" content="0s16pP9MelY6wDHRf-izXb5pwLU01IogP-Uc_e8f3GU" /> <!-- Jon Glassman --> + <meta name="google-site-verification" content="PN9hZMOe52YQmA2MPTKhctmOcnCkbpewDQPQg46r-_s" /> <!-- Catherine Pope --> <% end %> <!-- you don't need to keep this, but it's cool for stats! --> diff --git a/lib/tasks/build_site.rake b/lib/tasks/build_site.rake index 7b1fdadf..f9e1b807 100644 --- a/lib/tasks/build_site.rake +++ b/lib/tasks/build_site.rake @@ -9,7 +9,7 @@ task_helpers = TaskHelpers.new desc 'Clone Git repositories of documentation projects, keeping only the most recent commit' task :clone_repositories do task_helpers.products.each_value do |product| - branch = task_helpers.retrieve_branch(product['slug']) + branch, refspec = task_helpers.retrieve_branch(product['slug']) # Limit the pipeline to pull only the repo where the MR is, not all 4, to save time/space. # First we check if the branch on the docs repo is other than the default branch and @@ -41,7 +41,14 @@ task :clone_repositories do end end - `git clone --branch #{branch} --single-branch #{product['repo']} --depth 1 #{product['project_dir']}` + Dir.mkdir(product['project_dir']) + + Dir.chdir(product['project_dir']) do + `git -c init.defaultBranch=#{branch} init` + `git remote add origin #{product['repo']}` + `git fetch --depth 1 origin #{refspec}` + `git -c advice.detachedHead=false checkout FETCH_HEAD` + end latest_commit = `git -C #{product['project_dir']} log --oneline -n 1` diff --git a/lib/tasks/task_helpers.rb b/lib/tasks/task_helpers.rb index 460fdc39..52445d2f 100644 --- a/lib/tasks/task_helpers.rb +++ b/lib/tasks/task_helpers.rb @@ -19,11 +19,9 @@ class TaskHelpers end def products - @products ||= begin - # Pull products data from the config. - PRODUCTS.each_with_object({}) do |key, result| - result[key] = config['products'][key] - end + # Pull products data from the config. + @products ||= PRODUCTS.each_with_object({}) do |key, result| + result[key] = config['products'][key] end end @@ -32,12 +30,19 @@ class TaskHelpers # If we're NOT on a gitlab-docs stable branch, fetch the BRANCH_* environment # variable, and if not assigned, set to the default branch. # - return ENV.fetch("BRANCH_#{slug.upcase}", default_branch(products[slug].fetch('repo'))) if stable_branch_name.nil? + if stable_branch_name.nil? + merge_request_iid = ENV["MERGE_REQUEST_IID_#{slug.upcase}"] + branch_name = ENV.fetch("BRANCH_#{slug.upcase}", default_branch(products[slug].fetch('repo'))) + + return branch_name, "heads/#{branch_name}" if merge_request_iid.nil? + + return branch_name, "merge-requests/#{merge_request_iid}/head" + end # # Check the project slug to determine the branch name # - case slug + stable_branch = case slug when 'ee' "#{stable_branch_name}-ee" @@ -55,6 +60,8 @@ class TaskHelpers else default_branch(products[slug].fetch('repo')) end + + return stable_branch, "heads/#{stable_branch}" end def git_workdir_dirty? @@ -79,10 +86,12 @@ class TaskHelpers def stable_branch_name @stable_branch_name ||= begin ref_name = ENV["CI_COMMIT_REF_NAME"]&.match(VERSION_FORMAT) - return "#{ref_name[:major]}-#{ref_name[:minor]}-stable" if ref_name - - mr_name = ENV["CI_MERGE_REQUEST_TARGET_BRANCH_NAME"]&.match(VERSION_FORMAT) - "#{mr_name[:major]}-#{mr_name[:minor]}-stable" if mr_name + if ref_name + "#{ref_name[:major]}-#{ref_name[:minor]}-stable" + else + mr_name = ENV["CI_MERGE_REQUEST_TARGET_BRANCH_NAME"]&.match(VERSION_FORMAT) + "#{mr_name[:major]}-#{mr_name[:minor]}-stable" if mr_name + end end end diff --git a/package.json b/package.json index 792cbc0d..e8a6ed19 100644 --- a/package.json +++ b/package.json @@ -14,8 +14,8 @@ "@babel/core": "^7.21.0", "@babel/eslint-parser": "^7.19.1", "@babel/preset-env": "^7.20.2", - "@evilmartians/lefthook": "^1.3.1", - "@gitlab/eslint-plugin": "^18.1.0", + "@evilmartians/lefthook": "^1.3.3", + "@gitlab/eslint-plugin": "^18.2.0", "@gitlab/stylelint-config": "^4.1.0", "@rollup/plugin-babel": "^6.0.3", "@rollup/plugin-commonjs": "^24.0.1", @@ -37,7 +37,7 @@ "markdownlint-cli2": "^0.6.0", "postcss": "^8.4.21", "prettier": "^2.8.4", - "rollup": "^3.17.3", + "rollup": "^3.18.0", "rollup-plugin-import-resolver": "^1.2.1", "rollup-plugin-terser": "^7.0.2", "rollup-plugin-vue": "^5.1.9", @@ -48,26 +48,26 @@ "@docsearch/css": "^3.3.3", "@docsearch/js": "3", "@gitlab/fonts": "^1.2.0", - "@gitlab/svgs": "^3.21.0", + "@gitlab/svgs": "^3.22.0", "@gitlab/ui": "^56.2.0", "@popperjs/core": "^2.11.6", - "algoliasearch": "^4.14.3", + "algoliasearch": "^4.15.0", "bootstrap": "^4.6.1", "cheerio": "^1.0.0-rc.12", "clipboard": "^2.0.11", "compare-versions": "^5.0.3", "eslint-plugin-filenames": "^1.3.2", "front-matter": "^4.0.2", - "glob": "^8.1.0", + "glob": "^9.2.1", "instantsearch.css": "^8.0.0", "instantsearch.js": "^4.51.1", "jquery": "^3.6.3", "js-yaml": "^4.1.0", "lodash.isequal": "^4.5.0", "lunr": "^2.3.9", - "mermaid": "^9.4.0", + "mermaid": "^10.0.2", "pikaday": "^1.8.2", - "rollup-plugin-import-css": "^3.1.0", + "rollup-plugin-import-css": "^3.2.1", "vue": "^2.7.0", "vue-instantsearch": "^4.4.0" } diff --git a/rollup.config.js b/rollup.config.js index 8a67c8f7..d84f6f61 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -2,7 +2,7 @@ const inject = require('@rollup/plugin-inject'); const json = require('@rollup/plugin-json'); const { nodeResolve } = require('@rollup/plugin-node-resolve'); const replace = require('@rollup/plugin-replace'); -const glob = require('glob'); +const { globSync } = require('glob'); const commonjs = require('@rollup/plugin-commonjs'); const { babel } = require('@rollup/plugin-babel'); const importResolver = require('rollup-plugin-import-resolver'); @@ -15,7 +15,7 @@ function mapDirectory(file) { return file.replace('content/', 'public/'); } -module.exports = glob.sync('content/frontend/**/*.js').map((file) => ({ +module.exports = globSync('content/frontend/**/*.js').map((file) => ({ input: file, output: { file: mapDirectory(file), diff --git a/scripts/lunr/preindex.js b/scripts/lunr/preindex.js index b883d9a0..088fd35c 100644 --- a/scripts/lunr/preindex.js +++ b/scripts/lunr/preindex.js @@ -16,20 +16,12 @@ const fs = require('fs'); const lunr = require('lunr'); const cheerio = require('cheerio'); -const glob = require('glob'); +const { glob } = require('glob'); const htmlSrc = 'public/'; const outputDir = `${htmlSrc}assets/javascripts`; -/** - * Find all HTML files within a given path, - * then execute a callback function to build the index. - */ -const buildIndex = (path, callback) => { - glob(`${path}/**/*.html`, callback); -}; - -/** +/* * Extracts text from a given HTML element. * * @param {cheerio} $ @@ -53,10 +45,8 @@ const getText = ($, element) => { /** * Build the index and output files. */ -buildIndex(htmlSrc, (err, filenames) => { - if (err) { - console.error(err); - } +(async () => { + const filenames = await glob(`${htmlSrc}/**/*.html`); // Create an array of objects containing each page's text content. const pages = []; @@ -103,4 +93,4 @@ buildIndex(htmlSrc, (err, filenames) => { console.error(fsErr); } }); -}); +})(); @@ -21,114 +21,114 @@ resolved "https://registry.yarnpkg.com/@algolia/autocomplete-shared/-/autocomplete-shared-1.7.1.tgz#95c3a0b4b78858fed730cf9c755b7d1cd0c82c74" integrity sha512-eTmGVqY3GeyBTT8IWiB2K5EuURAqhnumfktAEoHxfDY2o7vg2rSnO16ZtIG0fMgt3py28Vwgq42/bVEuaQV7pg== -"@algolia/cache-browser-local-storage@4.14.3": - version "4.14.3" - resolved "https://registry.yarnpkg.com/@algolia/cache-browser-local-storage/-/cache-browser-local-storage-4.14.3.tgz#b9e0da012b2f124f785134a4d468ee0841b2399d" - integrity sha512-hWH1yCxgG3+R/xZIscmUrWAIBnmBFHH5j30fY/+aPkEZWt90wYILfAHIOZ1/Wxhho5SkPfwFmT7ooX2d9JeQBw== - dependencies: - "@algolia/cache-common" "4.14.3" - -"@algolia/cache-common@4.14.3": - version "4.14.3" - resolved "https://registry.yarnpkg.com/@algolia/cache-common/-/cache-common-4.14.3.tgz#a78e9faee3dfec018eab7b0996e918e06b476ac7" - integrity sha512-oZJofOoD9FQOwiGTzyRnmzvh3ZP8WVTNPBLH5xU5JNF7drDbRT0ocVT0h/xB2rPHYzOeXRrLaQQBwRT/CKom0Q== - -"@algolia/cache-in-memory@4.14.3": - version "4.14.3" - resolved "https://registry.yarnpkg.com/@algolia/cache-in-memory/-/cache-in-memory-4.14.3.tgz#96cefb942aeb80e51e6a7e29f25f4f7f3439b736" - integrity sha512-ES0hHQnzWjeioLQf5Nq+x1AWdZJ50znNPSH3puB/Y4Xsg4Av1bvLmTJe7SY2uqONaeMTvL0OaVcoVtQgJVw0vg== - dependencies: - "@algolia/cache-common" "4.14.3" - -"@algolia/client-account@4.14.3": - version "4.14.3" - resolved "https://registry.yarnpkg.com/@algolia/client-account/-/client-account-4.14.3.tgz#6d7d032a65c600339ce066505c77013d9a9e4966" - integrity sha512-PBcPb0+f5Xbh5UfLZNx2Ow589OdP8WYjB4CnvupfYBrl9JyC1sdH4jcq/ri8osO/mCZYjZrQsKAPIqW/gQmizQ== - dependencies: - "@algolia/client-common" "4.14.3" - "@algolia/client-search" "4.14.3" - "@algolia/transporter" "4.14.3" - -"@algolia/client-analytics@4.14.3": - version "4.14.3" - resolved "https://registry.yarnpkg.com/@algolia/client-analytics/-/client-analytics-4.14.3.tgz#ca409d00a8fff98fdcc215dc96731039900055dc" - integrity sha512-eAwQq0Hb/aauv9NhCH5Dp3Nm29oFx28sayFN2fdOWemwSeJHIl7TmcsxVlRsO50fsD8CtPcDhtGeD3AIFLNvqw== - dependencies: - "@algolia/client-common" "4.14.3" - "@algolia/client-search" "4.14.3" - "@algolia/requester-common" "4.14.3" - "@algolia/transporter" "4.14.3" - -"@algolia/client-common@4.14.3": - version "4.14.3" - resolved "https://registry.yarnpkg.com/@algolia/client-common/-/client-common-4.14.3.tgz#c44e48652b2121a20d7a40cfd68d095ebb4191a8" - integrity sha512-jkPPDZdi63IK64Yg4WccdCsAP4pHxSkr4usplkUZM5C1l1oEpZXsy2c579LQ0rvwCs5JFmwfNG4ahOszidfWPw== - dependencies: - "@algolia/requester-common" "4.14.3" - "@algolia/transporter" "4.14.3" - -"@algolia/client-personalization@4.14.3": - version "4.14.3" - resolved "https://registry.yarnpkg.com/@algolia/client-personalization/-/client-personalization-4.14.3.tgz#8f71325035aa2a5fa7d1d567575235cf1d6c654f" - integrity sha512-UCX1MtkVNgaOL9f0e22x6tC9e2H3unZQlSUdnVaSKpZ+hdSChXGaRjp2UIT7pxmPqNCyv51F597KEX5WT60jNg== - dependencies: - "@algolia/client-common" "4.14.3" - "@algolia/requester-common" "4.14.3" - "@algolia/transporter" "4.14.3" - -"@algolia/client-search@4.14.3": - version "4.14.3" - resolved "https://registry.yarnpkg.com/@algolia/client-search/-/client-search-4.14.3.tgz#cf1e77549f5c3e73408ffe6441ede985fde69da0" - integrity sha512-I2U7xBx5OPFdPLA8AXKUPPxGY3HDxZ4r7+mlZ8ZpLbI8/ri6fnu6B4z3wcL7sgHhDYMwnAE8Xr0AB0h3Hnkp4A== - dependencies: - "@algolia/client-common" "4.14.3" - "@algolia/requester-common" "4.14.3" - "@algolia/transporter" "4.14.3" +"@algolia/cache-browser-local-storage@4.15.0": + version "4.15.0" + resolved "https://registry.yarnpkg.com/@algolia/cache-browser-local-storage/-/cache-browser-local-storage-4.15.0.tgz#84f12aec6b6aa69542a3bfd3a4ba458ed2cc8230" + integrity sha512-uxxFhTWh4JJDb2+FFSmNMfEQ8p9o2vjSpU7iW007QX3OvqljPPN68lk3bpZVaG8pwr5MU1DqpkZ71FcQdVTjgQ== + dependencies: + "@algolia/cache-common" "4.15.0" + +"@algolia/cache-common@4.15.0": + version "4.15.0" + resolved "https://registry.yarnpkg.com/@algolia/cache-common/-/cache-common-4.15.0.tgz#a198098c4b8fa6ef661879ec22d2a2d1ad77d2bb" + integrity sha512-Me3PbI4QurAM+3D+htIE0l1xt6+bl/18SG6Wc7bPQEZAtN7DTGz22HqhKNyLF2lR/cOfpaH7umXZlZEhIHf7gQ== + +"@algolia/cache-in-memory@4.15.0": + version "4.15.0" + resolved "https://registry.yarnpkg.com/@algolia/cache-in-memory/-/cache-in-memory-4.15.0.tgz#77cac4db36a0aa0837f7a7ceb760188191e35268" + integrity sha512-B9mg1wd7CKMfpkbiTQ8KlcKkH6ut/goVaI6XmDCUczOOqeuZlV34tuEi7o3Xo1j66KWr/d9pMjjGYcoVPCVeOA== + dependencies: + "@algolia/cache-common" "4.15.0" + +"@algolia/client-account@4.15.0": + version "4.15.0" + resolved "https://registry.yarnpkg.com/@algolia/client-account/-/client-account-4.15.0.tgz#8e0723052169665b4449dc2f8bcf3075feb6a424" + integrity sha512-8wqI33HRZy5ydfFt6F5vMhtkOiAUhVfSCYXx4U3Go5RALqWLgVUp6wzOo0mr1z08POCkHDpbQMQvyayb1CZ/kw== + dependencies: + "@algolia/client-common" "4.15.0" + "@algolia/client-search" "4.15.0" + "@algolia/transporter" "4.15.0" + +"@algolia/client-analytics@4.15.0": + version "4.15.0" + resolved "https://registry.yarnpkg.com/@algolia/client-analytics/-/client-analytics-4.15.0.tgz#6b8fe450e1bba114b0d0598cbf9acac482798a36" + integrity sha512-jrPjEeNEIIQKeA1XCZXx3f3aybtwF7wjYlnfHbLARuZ9AuHzimOKjX0ZwqvMmvTsHivpcZ2rqY+j1E8HoH1ELA== + dependencies: + "@algolia/client-common" "4.15.0" + "@algolia/client-search" "4.15.0" + "@algolia/requester-common" "4.15.0" + "@algolia/transporter" "4.15.0" + +"@algolia/client-common@4.15.0": + version "4.15.0" + resolved "https://registry.yarnpkg.com/@algolia/client-common/-/client-common-4.15.0.tgz#27dd9441aedf481736696d519e55ea8e2f5a4432" + integrity sha512-PlsJMObZuYw4JlG5EhYv1PHDOv7n5mD5PzqFyoNfSOYaEPRZepa3W579ya29yOu3FZ0VGMNJmB7Q5v/+/fwvIw== + dependencies: + "@algolia/requester-common" "4.15.0" + "@algolia/transporter" "4.15.0" + +"@algolia/client-personalization@4.15.0": + version "4.15.0" + resolved "https://registry.yarnpkg.com/@algolia/client-personalization/-/client-personalization-4.15.0.tgz#6f10eda827d2607ab6c2341464cd35107bf8cf99" + integrity sha512-Bf0bhRAiNL9LWurzyHRH8UBi4fDt3VbCNkInxVngKQT1uCZWXecwoPWGhcSSpdanBqFJA/1WBt+BWx7a50Bhlg== + dependencies: + "@algolia/client-common" "4.15.0" + "@algolia/requester-common" "4.15.0" + "@algolia/transporter" "4.15.0" + +"@algolia/client-search@4.15.0": + version "4.15.0" + resolved "https://registry.yarnpkg.com/@algolia/client-search/-/client-search-4.15.0.tgz#2d849faae7943fcc983ac923eac767666a9e6a9a" + integrity sha512-dTwZD4u53WdmexnMcoO2Qd/+YCP3ESXKOtD2MryQ1a9dHwB2Y3Qob0kyS1PG82idwM3enbznvscI9Sf4o9PUWQ== + dependencies: + "@algolia/client-common" "4.15.0" + "@algolia/requester-common" "4.15.0" + "@algolia/transporter" "4.15.0" "@algolia/events@^4.0.1": version "4.0.1" resolved "https://registry.yarnpkg.com/@algolia/events/-/events-4.0.1.tgz#fd39e7477e7bc703d7f893b556f676c032af3950" integrity sha512-FQzvOCgoFXAbf5Y6mYozw2aj5KCJoA3m4heImceldzPSMbdyS4atVjJzXKMsfX3wnZTFYwkkt8/z8UesLHlSBQ== -"@algolia/logger-common@4.14.3": - version "4.14.3" - resolved "https://registry.yarnpkg.com/@algolia/logger-common/-/logger-common-4.14.3.tgz#87d4725e7f56ea5a39b605771b7149fff62032a7" - integrity sha512-kUEAZaBt/J3RjYi8MEBT2QEexJR2kAE2mtLmezsmqMQZTV502TkHCxYzTwY2dE7OKcUTxi4OFlMuS4GId9CWPw== +"@algolia/logger-common@4.15.0": + version "4.15.0" + resolved "https://registry.yarnpkg.com/@algolia/logger-common/-/logger-common-4.15.0.tgz#a2cf3d3abbdd00594006164302600ba46d75059f" + integrity sha512-D8OFwn/HpvQz66goIcjxOKsYBMuxiruxJ3cA/bnc0EiDvSA2P2z6bNQWgS5gbstuTZIJmbhr+53NyOxFkmMNAA== -"@algolia/logger-console@4.14.3": - version "4.14.3" - resolved "https://registry.yarnpkg.com/@algolia/logger-console/-/logger-console-4.14.3.tgz#1f19f8f0a5ef11f01d1f9545290eb6a89b71fb8a" - integrity sha512-ZWqAlUITktiMN2EiFpQIFCJS10N96A++yrexqC2Z+3hgF/JcKrOxOdT4nSCQoEPvU4Ki9QKbpzbebRDemZt/hw== +"@algolia/logger-console@4.15.0": + version "4.15.0" + resolved "https://registry.yarnpkg.com/@algolia/logger-console/-/logger-console-4.15.0.tgz#8a0948b0c16ad546af9dd14b9021f21f42737c97" + integrity sha512-pQOvVaRSEJQJRXKTnxEA6nN1hipSQadJJ4einw0nIlfMOGZh/kps1ybh8vRUlUGyfEuN/3dyFs0W3Ac7hIItlg== dependencies: - "@algolia/logger-common" "4.14.3" + "@algolia/logger-common" "4.15.0" -"@algolia/requester-browser-xhr@4.14.3": - version "4.14.3" - resolved "https://registry.yarnpkg.com/@algolia/requester-browser-xhr/-/requester-browser-xhr-4.14.3.tgz#bcf55cba20f58fd9bc95ee55793b5219f3ce8888" - integrity sha512-AZeg2T08WLUPvDncl2XLX2O67W5wIO8MNaT7z5ii5LgBTuk/rU4CikTjCe2xsUleIZeFl++QrPAi4Bdxws6r/Q== +"@algolia/requester-browser-xhr@4.15.0": + version "4.15.0" + resolved "https://registry.yarnpkg.com/@algolia/requester-browser-xhr/-/requester-browser-xhr-4.15.0.tgz#38b5956d01408ad4291d89915df921ff8534cca6" + integrity sha512-va186EfALF+6msYZXaoBSxcnFCg3SoWJ+uv1yMyhQRJRe7cZSHWSVT3s40vmar90gxlBu80KMVwVlsvJhJv6ew== dependencies: - "@algolia/requester-common" "4.14.3" + "@algolia/requester-common" "4.15.0" -"@algolia/requester-common@4.14.3": - version "4.14.3" - resolved "https://registry.yarnpkg.com/@algolia/requester-common/-/requester-common-4.14.3.tgz#2d02fbe01afb7ae5651ae8dfe62d6c089f103714" - integrity sha512-RrRzqNyKFDP7IkTuV3XvYGF9cDPn9h6qEDl595lXva3YUk9YSS8+MGZnnkOMHvjkrSCKfoLeLbm/T4tmoIeclw== +"@algolia/requester-common@4.15.0": + version "4.15.0" + resolved "https://registry.yarnpkg.com/@algolia/requester-common/-/requester-common-4.15.0.tgz#c68ad3dccc1de71b5be9b08a07e2baf58ec49d82" + integrity sha512-w0UUzxElbo4hrKg4QP/jiXDNbIJuAthxdlkos9nS8KAPK2XI3R9BlUjLz/ZVs4F9TDGI0mhjrNHhZ12KXcoyhg== -"@algolia/requester-node-http@4.14.3": - version "4.14.3" - resolved "https://registry.yarnpkg.com/@algolia/requester-node-http/-/requester-node-http-4.14.3.tgz#72389e1c2e5d964702451e75e368eefe85a09d8f" - integrity sha512-O5wnPxtDRPuW2U0EaOz9rMMWdlhwP0J0eSL1Z7TtXF8xnUeeUyNJrdhV5uy2CAp6RbhM1VuC3sOJcIR6Av+vbA== +"@algolia/requester-node-http@4.15.0": + version "4.15.0" + resolved "https://registry.yarnpkg.com/@algolia/requester-node-http/-/requester-node-http-4.15.0.tgz#02f841586e620c7b4e4e555f315cd52dd815f330" + integrity sha512-eeEOhFtgwKcgAlKAZpgBRZJ0ILSEBCXxZ9uwfVWPD24W1b6z08gVoTJ6J7lCeCnJmudg+tMElDnGzHkjup9CJA== dependencies: - "@algolia/requester-common" "4.14.3" + "@algolia/requester-common" "4.15.0" -"@algolia/transporter@4.14.3": - version "4.14.3" - resolved "https://registry.yarnpkg.com/@algolia/transporter/-/transporter-4.14.3.tgz#5593036bd9cf2adfd077fdc3e81d2e6118660a7a" - integrity sha512-2qlKlKsnGJ008exFRb5RTeTOqhLZj0bkMCMVskxoqWejs2Q2QtWmsiH98hDfpw0fmnyhzHEt0Z7lqxBYp8bW2w== +"@algolia/transporter@4.15.0": + version "4.15.0" + resolved "https://registry.yarnpkg.com/@algolia/transporter/-/transporter-4.15.0.tgz#c65c512206c66aadc2897337220ae5454001967e" + integrity sha512-JoWR+ixG3EmA0UPntQFN/FV5TasYcYu93d5+oKzHFeZ6Z7rtW5Im9iy/Oh/ggk1AAN5fTdqKewtbBpdaYDbKsQ== dependencies: - "@algolia/cache-common" "4.14.3" - "@algolia/logger-common" "4.14.3" - "@algolia/requester-common" "4.14.3" + "@algolia/cache-common" "4.15.0" + "@algolia/logger-common" "4.15.0" + "@algolia/requester-common" "4.15.0" "@algolia/ui-components-highlight-vdom@^1.2.1": version "1.2.1" @@ -1165,10 +1165,10 @@ resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.35.0.tgz#b7569632b0b788a0ca0e438235154e45d42813a7" integrity sha512-JXdzbRiWclLVoD8sNUjR443VVlYqiYmDVT6rGUEIEHU5YJW0gaVZwV2xgM7D4arkvASqD0IlLUVjHiFuxaftRw== -"@evilmartians/lefthook@^1.3.1": - version "1.3.1" - resolved "https://registry.yarnpkg.com/@evilmartians/lefthook/-/lefthook-1.3.1.tgz#44af286468f461bd24844799e08e872d1d16eaf6" - integrity sha512-GnFgUmBaqfbPdV/YfERxlkOUkg1lADL2i6NovYtzTz8Q1lQm7eCXntJID9nff0M3WAwv0GKheAFwzOrCoGmqEw== +"@evilmartians/lefthook@^1.3.3": + version "1.3.3" + resolved "https://registry.yarnpkg.com/@evilmartians/lefthook/-/lefthook-1.3.3.tgz#806089acbb08df086f1cd2ab84b2a7b2a8bcd3fe" + integrity sha512-tahgDgzXWSHKRu0Oet0fMa54Cj8PJz0Muno4425vsuWENNTHRmEPPb0j5uUttZZcb9oIjdTa0QSnZnbMYf0ovw== "@fast-csv/format@4.3.5": version "4.3.5" @@ -1195,10 +1195,10 @@ lodash.isundefined "^3.0.1" lodash.uniq "^4.5.0" -"@gitlab/eslint-plugin@^18.1.0": - version "18.1.0" - resolved "https://registry.yarnpkg.com/@gitlab/eslint-plugin/-/eslint-plugin-18.1.0.tgz#8300cc938f50114b3e74d97660721486c13caea5" - integrity sha512-O803ResZfPpbSk8USzYwT79OXKSyuR4z4qbjOae/NIhzobxrlEHm4LbauVuaFpHurF5gYceNtHltczwK8e+mOg== +"@gitlab/eslint-plugin@^18.2.0": + version "18.2.0" + resolved "https://registry.yarnpkg.com/@gitlab/eslint-plugin/-/eslint-plugin-18.2.0.tgz#82810648a2273acfa5fd04fec9bf5dfa0f736c63" + integrity sha512-ynj2KyRkNykvZKqNDYInh5hZZRYxzZdOB6VUFOAjxW/nu2LDXquepqa+BDF956LDAhWMG0BGFqhqa8GRjxdi2w== dependencies: "@babel/core" "^7.17.0" "@babel/eslint-parser" "^7.17.0" @@ -1227,10 +1227,10 @@ stylelint-declaration-strict-value "1.8.0" stylelint-scss "4.2.0" -"@gitlab/svgs@^3.21.0": - version "3.21.0" - resolved "https://registry.yarnpkg.com/@gitlab/svgs/-/svgs-3.21.0.tgz#a939b7ee4f766d793643ddcab7722fc549fa0e20" - integrity sha512-sWQOGhprA0RDEATHqo4ReHaGHKrpsswBvFMyM9ghd6OF6JbRdOwbLqFKg0qGHRkaPTg8uWLC7i2XfN7xlZAKfQ== +"@gitlab/svgs@^3.22.0": + version "3.22.0" + resolved "https://registry.yarnpkg.com/@gitlab/svgs/-/svgs-3.22.0.tgz#29e6789efd03b21c8e028063ff40b1272924bae8" + integrity sha512-To1MOwAvstlX1sZ9rB5SWxhkd0+rba1pzrHPgDdc6Ye15EPHHHUbJTZ4WPNAjWrxcqCkGNw+5NFyWx5y1GHuOQ== "@gitlab/ui@^56.2.0": version "56.2.0" @@ -2006,25 +2006,25 @@ algoliasearch-helper@^3.11.3: dependencies: "@algolia/events" "^4.0.1" -algoliasearch@^4.0.0, algoliasearch@^4.14.3: - version "4.14.3" - resolved "https://registry.yarnpkg.com/algoliasearch/-/algoliasearch-4.14.3.tgz#f02a77a4db17de2f676018938847494b692035e7" - integrity sha512-GZTEuxzfWbP/vr7ZJfGzIl8fOsoxN916Z6FY2Egc9q2TmZ6hvq5KfAxY89pPW01oW/2HDEKA8d30f9iAH9eXYg== - dependencies: - "@algolia/cache-browser-local-storage" "4.14.3" - "@algolia/cache-common" "4.14.3" - "@algolia/cache-in-memory" "4.14.3" - "@algolia/client-account" "4.14.3" - "@algolia/client-analytics" "4.14.3" - "@algolia/client-common" "4.14.3" - "@algolia/client-personalization" "4.14.3" - "@algolia/client-search" "4.14.3" - "@algolia/logger-common" "4.14.3" - "@algolia/logger-console" "4.14.3" - "@algolia/requester-browser-xhr" "4.14.3" - "@algolia/requester-common" "4.14.3" - "@algolia/requester-node-http" "4.14.3" - "@algolia/transporter" "4.14.3" +algoliasearch@^4.0.0, algoliasearch@^4.15.0: + version "4.15.0" + resolved "https://registry.yarnpkg.com/algoliasearch/-/algoliasearch-4.15.0.tgz#8279576f06667a1d0705e8c22a17daa8e707b469" + integrity sha512-+vgKQF5944dYsz9zhKk07JbOYeNdKisoD5GeG0woBL3nLzbn2a+nGwki60DXg7CXvaFXBcTXyJG4C+VaBVd44g== + dependencies: + "@algolia/cache-browser-local-storage" "4.15.0" + "@algolia/cache-common" "4.15.0" + "@algolia/cache-in-memory" "4.15.0" + "@algolia/client-account" "4.15.0" + "@algolia/client-analytics" "4.15.0" + "@algolia/client-common" "4.15.0" + "@algolia/client-personalization" "4.15.0" + "@algolia/client-search" "4.15.0" + "@algolia/logger-common" "4.15.0" + "@algolia/logger-console" "4.15.0" + "@algolia/requester-browser-xhr" "4.15.0" + "@algolia/requester-common" "4.15.0" + "@algolia/requester-node-http" "4.15.0" + "@algolia/transporter" "4.15.0" ansi-escapes@^4.2.1: version "4.3.2" @@ -3000,7 +3000,7 @@ d3-zoom@3: d3-selection "2 - 3" d3-transition "2 - 3" -d3@^7.0.0, d3@^7.8.2: +d3@^7.4.0, d3@^7.8.2: version "7.8.2" resolved "https://registry.yarnpkg.com/d3/-/d3-7.8.2.tgz#2bdb3c178d095ae03b107a18837ae049838e372d" integrity sha512-WXty7qOGSHb7HR7CfOzwN1Gw04MUOzN8qh9ZUsvwycIMb4DYMpY9xczZ6jUorGtO6bR9BPMPaueIKwiDxu9uiQ== @@ -3036,10 +3036,10 @@ d3@^7.0.0, d3@^7.8.2: d3-transition "3" d3-zoom "3" -dagre-d3-es@7.0.8: - version "7.0.8" - resolved "https://registry.yarnpkg.com/dagre-d3-es/-/dagre-d3-es-7.0.8.tgz#14c309c3c08ba8329a7cf51000bd56a369c513d1" - integrity sha512-eykdoYQ4FwCJinEYS0gPL2f2w+BPbSLvnQSJ3Ye1vAoPjdkq6xIMKBv+UkICd3qZE26wBKIn3p+6n0QC7R1LyA== +dagre-d3-es@7.0.9: + version "7.0.9" + resolved "https://registry.yarnpkg.com/dagre-d3-es/-/dagre-d3-es-7.0.9.tgz#aca12fccd9d09955a4430029ba72ee6934542a8d" + integrity sha512-rYR4QfVmy+sR44IBDvVtcAmOReGBvRCWDpO2QjYwqgh9yijw6eSHBqaPG/LIOEy7aBsniLvtMW6pg19qJhq60w== dependencies: d3 "^7.8.2" lodash-es "^4.17.21" @@ -3053,6 +3053,11 @@ data-urls@^3.0.2: whatwg-mimetype "^3.0.0" whatwg-url "^11.0.0" +dayjs@^1.11.7: + version "1.11.7" + resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.11.7.tgz#4b296922642f70999544d1144a2c25730fce63e2" + integrity sha512-+Yw9U6YO5TQohxLcIkrXBeY73WP3ejHWVvx8XCk3gxvQDCTEmS48ZrSZCKciI7Bhl/uCMyxYtE9UqRILmFphkQ== + de-indent@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/de-indent/-/de-indent-1.0.2.tgz#b2038e846dc33baa5796128d0804b455b8c1e21d" @@ -3924,18 +3929,7 @@ glob@^7.1.3, glob@^7.1.4, glob@^7.1.6: once "^1.3.0" path-is-absolute "^1.0.0" -glob@^8.0.3, glob@^8.1.0: - version "8.1.0" - resolved "https://registry.yarnpkg.com/glob/-/glob-8.1.0.tgz#d388f656593ef708ee3e34640fdfb99a9fd1c33e" - integrity sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^5.0.1" - once "^1.3.0" - -glob@~8.0.3: +glob@^8.0.3, glob@~8.0.3: version "8.0.3" resolved "https://registry.yarnpkg.com/glob/-/glob-8.0.3.tgz#415c6eb2deed9e502c68fa44a272e6da6eeca42e" integrity sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ== @@ -3946,6 +3940,16 @@ glob@~8.0.3: minimatch "^5.0.1" once "^1.3.0" +glob@^9.2.1: + version "9.2.1" + resolved "https://registry.yarnpkg.com/glob/-/glob-9.2.1.tgz#f47e34e1119e7d4f93a546e75851ba1f1e68de50" + integrity sha512-Pxxgq3W0HyA3XUvSXcFhRSs+43Jsx0ddxcFrbjxNGkL2Ak5BAUBxLqI5G6ADDeCHLfzzXFhe0b1yYcctGmytMA== + dependencies: + fs.realpath "^1.0.0" + minimatch "^7.4.1" + minipass "^4.2.4" + path-scurry "^1.6.1" + global-modules@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/global-modules/-/global-modules-2.0.0.tgz#997605ad2345f27f51539bea26574421215c7780" @@ -5294,6 +5298,11 @@ lru-cache@^6.0.0: dependencies: yallist "^4.0.0" +lru-cache@^7.14.1: + version "7.17.0" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-7.17.0.tgz#00c7ba5919e5ea7c69ff94ddabbf32cb09ab805c" + integrity sha512-zSxlVVwOabhVyTi6E8gYv2cr6bXK+8ifYz5/uyJb9feXX6NACVDwY4p5Ut3WC3Ivo/QhpARHU3iujx2xGAYHbQ== + lunr@^2.3.9: version "2.3.9" resolved "https://registry.yarnpkg.com/lunr/-/lunr-2.3.9.tgz#18b123142832337dd6e964df1a5a7707b25d35e1" @@ -5445,26 +5454,27 @@ 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== -mermaid@^9.4.0: - version "9.4.0" - resolved "https://registry.yarnpkg.com/mermaid/-/mermaid-9.4.0.tgz#ff9afcac9f565a358fa8fc39135dec2c842c3b8f" - integrity sha512-4PWbOND7CNRbjHrdG3WUUGBreKAFVnMhdlPjttuUkeHbCQmAHkwzSh5dGwbrKmXGRaR4uTvfFVYzUcg++h0DkA== +mermaid@^10.0.2: + version "10.0.2" + resolved "https://registry.yarnpkg.com/mermaid/-/mermaid-10.0.2.tgz#8e294ea4890fe86ca7f5a4cd3c10362ec8d3ed98" + integrity sha512-slwoB9WdNUT+/W9VhxLYRLZ0Ey12fIE+cAZjm3FmHTD+0F1uoJETfsNbVS1POnvQZhFYzfT6/z6hJZXgecqVBA== dependencies: "@braintree/sanitize-url" "^6.0.0" cytoscape "^3.23.0" cytoscape-cose-bilkent "^4.1.0" cytoscape-fcose "^2.1.0" - d3 "^7.0.0" - dagre-d3-es "7.0.8" + d3 "^7.4.0" + dagre-d3-es "7.0.9" + dayjs "^1.11.7" dompurify "2.4.3" elkjs "^0.8.2" khroma "^2.0.0" lodash-es "^4.17.21" - moment "^2.29.4" non-layered-tidy-tree-layout "^2.0.2" stylis "^4.1.2" ts-dedent "^2.2.0" uuid "^9.0.0" + web-worker "^1.2.0" micromatch@4.0.5, micromatch@^4.0.4, micromatch@^4.0.5: version "4.0.5" @@ -5520,6 +5530,13 @@ minimatch@^5.0.1, minimatch@~5.1.2: dependencies: brace-expansion "^2.0.1" +minimatch@^7.4.1: + version "7.4.2" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-7.4.2.tgz#157e847d79ca671054253b840656720cb733f10f" + integrity sha512-xy4q7wou3vUoC9k1xGTXc+awNdGaGVHtFUaey8tiX4H1QRc04DZ/rmDFwNm2EBsuYEhAZ6SgMmYf3InGY6OauA== + dependencies: + brace-expansion "^2.0.1" + minimist-options@4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/minimist-options/-/minimist-options-4.1.0.tgz#c0655713c53a8a2ebd77ffa247d342c40f010619" @@ -5534,6 +5551,11 @@ minimist@^1.2.0, minimist@^1.2.6: resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.6.tgz#8637a5b759ea0d6e98702cfb3a9283323c93af44" integrity sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q== +minipass@^4.0.2, minipass@^4.2.4: + version "4.2.4" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-4.2.4.tgz#7d0d97434b6a19f59c5c3221698b48bbf3b2cd06" + integrity sha512-lwycX3cBMTvcejsHITUgYj6Gy6A7Nh4Q6h9NP4sTHY1ccJlC7yKzDmiShEHsJ16Jf1nKGDEaiHxiltsJEvk0nQ== + mitt@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/mitt/-/mitt-2.1.0.tgz#f740577c23176c6205b121b2973514eade1b2230" @@ -5549,11 +5571,6 @@ mkdirp@~1.0.4: resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== -moment@^2.29.4: - version "2.29.4" - resolved "https://registry.yarnpkg.com/moment/-/moment-2.29.4.tgz#3dbe052889fe7c1b2ed966fcb3a77328964ef108" - integrity sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w== - ms@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" @@ -5849,6 +5866,14 @@ path-parse@^1.0.7: resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== +path-scurry@^1.6.1: + version "1.6.1" + resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-1.6.1.tgz#dab45f7bb1d3f45a0e271ab258999f4ab7e23132" + integrity sha512-OW+5s+7cw6253Q4E+8qQ/u1fVvcJQCJo/VFD8pje+dbJCF1n5ZRMV2AEHbGp+5Q7jxQIYJxkHopnj6nzdGeZLA== + dependencies: + lru-cache "^7.14.1" + minipass "^4.0.2" + path-type@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" @@ -6385,10 +6410,10 @@ robust-predicates@^3.0.0: resolved "https://registry.yarnpkg.com/robust-predicates/-/robust-predicates-3.0.1.tgz#ecde075044f7f30118682bd9fb3f123109577f9a" integrity sha512-ndEIpszUHiG4HtDsQLeIuMvRsDnn8c8rYStabochtUeCvfuvNptb5TUbVD68LRAILPX7p9nqQGh4xJgn3EHS/g== -rollup-plugin-import-css@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/rollup-plugin-import-css/-/rollup-plugin-import-css-3.1.0.tgz#7982d85a1c762c730ff75a58bf4403c8c81dfd60" - integrity sha512-+azurUk2QrUNWs1V5EzpuvV9bRQDEjG+aQDadM6ZEc5LbU6VvFiR3+MPIBnqKrg/miBNag/9H1TWhEUv4TH+jQ== +rollup-plugin-import-css@^3.2.1: + version "3.2.1" + resolved "https://registry.yarnpkg.com/rollup-plugin-import-css/-/rollup-plugin-import-css-3.2.1.tgz#d58537a68bbd72c8d31f8998e1d53d6da23179e6" + integrity sha512-svr1JrBknT5ndEUM8nPaemTx/uF/5Tf4FAMQxvAYx2K9Sx7hL+JwB/rPuB1ZmUE1rjCnQHnz/fgik+noYM5+0w== dependencies: "@rollup/pluginutils" "^5.0.2" @@ -6429,10 +6454,10 @@ rollup-pluginutils@^2.8.2: dependencies: estree-walker "^0.6.1" -rollup@^3.17.3: - version "3.17.3" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-3.17.3.tgz#ee7c4e1a262da55c491a4788b632fa123315f6ef" - integrity sha512-p5LaCXiiOL/wrOkj8djsIDFmyU9ysUxcyW+EKRLHb6TKldJzXpImjcRSR+vgo09DBdofGcOoLOsRyxxG2n5/qQ== +rollup@^3.18.0: + version "3.18.0" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-3.18.0.tgz#2354ba63ba66d6a09c652c3ea0dbcd9dad72bbde" + integrity sha512-J8C6VfEBjkvYPESMQYxKHxNOh4A5a3FlP+0BETGo34HEcE4eTlgCrO2+eWzlu2a/sHs2QUkZco+wscH7jhhgWg== optionalDependencies: fsevents "~2.3.2" @@ -7257,6 +7282,11 @@ walker@^1.0.8: dependencies: makeerror "1.0.12" +web-worker@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/web-worker/-/web-worker-1.2.0.tgz#5d85a04a7fbc1e7db58f66595d7a3ac7c9c180da" + integrity sha512-PgF341avzqyx60neE9DD+XS26MMNMoUQRz9NOZwW32nPQrF6p77f1htcnjBSEV8BGMKZ16choqUG4hyI0Hx7mA== + webidl-conversions@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" |