Skip to content

chore(deps): bump undici, @release-it/conventional-changelog and release-it - #71

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/multi-23177d5d9d
Closed

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/multi-23177d5d9d

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 15, 2025 •

Copy link
Copy Markdown
Contributor

Bumps undici to 6.21.2 and updates ancestor dependencies undici, @release-it/conventional-changelog and release-it. These dependencies need to be updated together.

Updates undici from 6.21.1 to 6.21.2

Release notes

Sourced from undici's releases.

v6.21.2

What's Changed

New Contributors

Full Changelog: nodejs/undici@v6.21.1...v6.21.2

Commits

Updates @release-it/conventional-changelog from 10.0.0 to 10.0.1

Release notes

Sourced from @​release-it/conventional-changelog's releases.

Release 10.0.1

  • Add dummy config file in test (3e9f528)
  • Support release-it v19 (a2f5059)
  • Add note about conventional-changelog-conventionalcommits override (#110) (587be05)
  • docs: Show that whatBump accepts a function for recommending the new version (#109) (bf27526)
Commits
  • f91e44f Release 10.0.1
  • 3e9f528 Add dummy config file in test
  • a2f5059 Support release v19
  • 587be05 Add note about conventional-changelog-conventionalcommits override (#110)
  • bf27526 docs: Show that whatBump accepts a function for recommending the new version ...
  • See full diff in compare view

Updates release-it from 18.1.2 to 19.0.2

Release notes

Sourced from release-it's releases.

Release 19.0.2

  • Bump engines.node from 20.9 → 20.12 (resolves #1219) (a012da6a2ac442a6000a2908d6418e25720525fc)
  • Update dependencies (ebfc5a2a5fc518480910bb628ad7f34f065842b4)

Release 19.0.1

  • Don't throw if no config file is found (2cb4a7e414b1ae593d6ea4cb24e508b4e2970826)

Release 19.0.0

  • Update dependencies (cbe2fa6a5be2d61533b309b0069a2589c34ca77e)
  • v18 → v19 (6f8150a740d5bb4e4d24b1c78f61f244da8afb0d)
  • Housekeeping (41dfaaeabc720bf683e4c8daf527db9786a6adfe)

Release 19.0.0-next.5

  • feat: use c12 to replace cosmiconfig (#1212) (23272f88f6fc81628f3649f42d96bb9148c65ef7) - thanks @​aa900031!
  • Fix lint issues (d585942666d543f956c3c78b88ac35e3374e017b)
  • Remove update-notifier (032c993bd288eb82c1fcdf2251820af06defc639)
  • globby → tinygobby (048b2f8664b136d49c6cf2a088fc5f241b694ed0)
  • execa → tinyexec (27fa5b0853a0cb6bd9b299edaee4f7871b1031a0)

Release 19.0.0-next.4

  • fix(json-schema): change addUntrackedFiles to boolean (#1214) (1c5af4012eecf4bcc8a5a6f1857ff02f03125a18) - thanks @​KyleRoss!
  • Add double dash to separate paths from git command (resolves #1210) (06bccd79bedc5959adb755b1e2c6db4b100888d5)
  • fix: parse boolean values from command line (#1215) (d87fd39a68ea8a789916ae1ba2fe3557c3dd658e) - thanks @​mdvorak!
  • Update dependencies (ea3a19356da20acb1e5fb5b181e22d5105018674)

Release 19.0.0-next.3

  • Minor refactors (c4ef03b71ad9ce35b6560ce3efc12a3579f331c9)
  • Update links in gitlab docs (0750f08b3108d4516841eb43476552168fd8f701)
  • Use request.formData (c774a007ea703bc45dbf0386253790651b56e6f4)
  • Add mockFetch for more concise mentoss API (ec1065f4294436befe8a63a3c232fc812cc50934)
  • Fix up GitLab urls (11dd73d59e9ee1171eabeda7de12ab0bc2c60330)
  • chalk → styleText (cab8f969c3598da7694513d4b04b8266cf51a469)
  • Single line in release notes (commit.message → commit.subject) (c709d5c6e3e8aec234e623aefa17553eeb066232)
  • Update dependencies (83a8d828fb3e2be6a832273d0fa9def623b19764)
  • Remove prettier from eslint config (473b2ee2b16b77ec7bae06133de4a7bb92bb3763)
  • Fix lint issue (f1865038ccb3f291a127ec33ea0d818802011f4d)

Release 19.0.0-next.2

  • feat: add gitlab.certificateAuthorityFileRef configuration (#1208) (0dee377d5fee849778c741c74d99fe41a6c0419f) - thanks @​mdvorak!
  • feat: add capability to add extends configuration to release-it (#1181) (09122b664600ba9e9cc127061d992dd3600335f6) - thanks @​juancarlosjr97!
  • Use default test file locations, helper files seem to be ignored (977dbffcb7e978f3b0db01a69eff2cd51894fa1e)
  • fix: don't use stdout for all logs (#1207) (5913ae2a4f4020f426ab5dee4be0c22a97b9cd2c) - thanks @​mdvorak!
  • Get rid of deprecation warning in octokit issue search (09398e65de4ca1686a82510ac58fce7242ea6456)
  • Get rid of npm publish error in dry run (955aa682aaa53fcc42732c692e9afc79c3fc5fa7)
  • Fix repo project/host in issue comment url (fd5e9e65022767e2753c43c61c0eac8ec0c50c95)
  • Remove unused var (036c72008503c8e9c443758935af8c2ece841645)
  • Update dependencies (ee3e74d0c4ee68818ea2f1d7c339fd0ea9daed2e)
  • Work around linter parsing error (0128904e63cb41235f819c057d566394ebb8a8ed)

Release 19.0.0-next.1

... (truncated)

Changelog

Sourced from release-it's changelog.

Changelog

This document lists breaking changes for each major release.

See the GitHub Releases page for detailed changelogs: https://github.com/release-it/release-it/releases

v19 (2025-04-18)

  • No breaking changes (dependency party)

v18 (2025-01-06)

  • Removed support for Node.js v18.

v17 (2023-11-11)

  • Removed support for Node.js v16.

v16 (2023-07-05)

  • Removed support for Node.js v14.

v15 (2022-04-30)

  • Removed support for Node.js v10 and v12.
  • Removed support for GitLab v12.4 and lower.
  • Removed anonymous metrics (and the option to disable it).
  • Programmatic usage and plugins only through ES Module syntax (import)

Use release-it v14 in legacy environments.

v14 (2020-09-03)

  • Removed global property from plugins. Use this.config[key] instead.
  • Removed deprecated npm.access option. Set this in package.json instead.

v13 (2020-03-07)

  • Dropped support for Node v8
  • Dropped support for GitLab v11.6 and lower.
  • Deprecated scripts are removed (in favor of hooks).
  • Removed deprecated --non-interactive (-n) argument. Use --ci instead.
  • Removed old %s and [REV_RANGE] syntax in command substitutions. Use ${version} and ${latestTag} instead.

v12 (2019-05-03)

  • The --follow-tags argument for git push has been moved to the default configuration. This is only a breaking change if git.pushArgs was not empty (it was empty by default).

... (truncated)

Commits

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 15, 2025
@dependabot
dependabot Bot requested a review from a team as a code owner May 15, 2025 15:30
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 15, 2025
…ase-it

Bumps [undici](https://github.com/nodejs/undici) to 6.21.2 and updates ancestor dependencies [undici](https://github.com/nodejs/undici), [@release-it/conventional-changelog](https://github.com/release-it/conventional-changelog) and [release-it](https://github.com/release-it/release-it). These dependencies need to be updated together.


Updates `undici` from 6.21.1 to 6.21.2
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](nodejs/undici@v6.21.1...v6.21.2)

Updates `@release-it/conventional-changelog` from 10.0.0 to 10.0.1
- [Release notes](https://github.com/release-it/conventional-changelog/releases)
- [Commits](release-it/conventional-changelog@10.0.0...10.0.1)

Updates `release-it` from 18.1.2 to 19.0.2
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/main/CHANGELOG.md)
- [Commits](release-it/release-it@18.1.2...19.0.2)

---
updated-dependencies:
- dependency-name: undici
  dependency-version: 6.21.2
  dependency-type: indirect
- dependency-name: "@release-it/conventional-changelog"
  dependency-version: 10.0.1
  dependency-type: direct:development
- dependency-name: release-it
  dependency-version: 19.0.2
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/multi-23177d5d9d branch from 00a80b7 to 3a965b0 Compare May 22, 2025 10:15
@sonarqubecloud

Copy link
Copy Markdown

@dependabot @github

dependabot Bot commented on behalf of github Oct 22, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #108.

@dependabot dependabot Bot closed this Oct 22, 2026
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/multi-23177d5d9d branch October 22, 2026 08:30
HendrikThePendric added a commit that referenced this pull request Oct 22, 2026
…98)

* fix: open apps outside the global shell and log in via the auth API

Since DHIS2 2.42 the legacy app paths the scrape instructions point to
(dhis-web-data-visualizer, dhis-web-maps, api/apps/line-listing,
dhis-web-event-visualizer, dhis-web-event-reports) are redirected to
/apps/<name>, where the global shell loads the app in an iframe. The
scraper only searches the top-level document, so every item timed out
(E2201) and no dashboard could be converted on 2.42+. Every goto step
now opens <app>/index.html with redirect=false, the bypass the global
shell itself uses for its iframe (GlobalShellFilter in dhis2-core). On
2.41 there is no shell and the parameter is ignored.

The admin login clicked the login button and returned immediately,
while the login app's POST /api/auth/login was still in flight. Work
that arrived in that window (right after a service start, a worker
replacement or a re-login) failed impersonation with a 401 (E2301).
The worker now posts to /api/auth/login itself and only continues once
loginStatus is SUCCESS. This endpoint exists since 2.41.0 and no longer
depends on the login app's markup.

Verified with a local Docker stack per version (2.41.10, 2.42.6, 2.43.2
and master) using the Sierra Leone e2e dump.

AI Assisted

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* refactor: resolve SonarCloud findings in the scraper and authenticator

Run scrape steps through a promise chain instead of awaiting inside a
loop, mark fields that are only set in the constructor as readonly,
return the empty result directly from the async convert method, and
use node: imports and Number.parseInt. No behaviour change.

AI Assisted

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: request translated dashboard names with translate=true

The dashboard details are fetched as the service account with the
recipient's locale as a query parameter. Since DHIS2 2.42 the locale
parameter only takes effect together with translate=true
(UserContextInterceptor, introduced with DHIS2-18061 / DHIS2-18044),
while 2.41 translated by default. Without it the dashboard title and item
headings were rendered in the service account's language instead of the
recipient's.

Verified on 2.42.6 (nb recipient now gets the Norwegian dashboard and
item names) and on 2.41.10 (unchanged).

AI Assisted

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* refactor: mark RequestHandler fields that are only set in the constructor as readonly

Resolves the SonarCloud finding on the file touched by the translate fix.
No behaviour change.

AI Assisted

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* refactor: restore the step loop and explain the same-origin page in the login

Address review feedback: go back to the sequential for...of loop for the
scrape steps (the reduce-based version only existed to satisfy SonarCloud
S9382, the steps must run in order) and explain why the login first opens
/api/ping on the DHIS2 origin.

AI Assisted

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* refactor: run the scrape steps as a promise chain

Go back to the reduce-based sequential promise chain for the scrape
steps. SonarCloud S9382 flags awaits inside a for...of loop, but the
steps must run strictly in order, which a promise chain expresses
without the per-iteration awaits. Agreed in review as the preferred
shape over accepting the findings.

AI Assisted

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* refactor: set redirect=false inline instead of in a helper

Address review feedback: the global shell filter skips the redirect for
both directory-root and index.html paths when redirect=false is in the
query string, so rewriting the path to index.html is unnecessary. That
leaves two lines, which now live inline in the goto step, and removes
the toStandaloneAppUrl helper and its tests.

AI Assisted

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: click scrape step targets through the DOM

Puppeteer's page.click dispatches a mouse event at the element's centre
coordinates and leaves the mouse there. On the next conversion a worker
could load a pivot table with its Period chip under that stale mouse
position, so the chip's tooltip opened on top of the "HTML (.html)" menu
item. The click then landed on the tooltip, no download tab opened and
waitForTarget timed out after 30s (E2201). Calling element.click() in
the page clicks the intended element regardless of overlays and never
moves the mouse.

AI Assisted

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore: run the e2e suite across DHIS2 versions and fix setup decay (#92)

* chore: run the e2e suite across DHIS2 versions and fix setup decay

The nightly e2e run has failed since January 2026: analytics tables were
only generated for the last year, and the dump's data ends in 2025, so no
analytics table was created and the generation script still reported
success. The dump also cannot be upgraded past 2.41, the DHIS2 health
check relies on curl which the 2.44 image no longer ships, and two cluster
integration tests count a worker message that can arrive after the
response.

- Generate analytics from ANALYTICS_FIRST_YEAR (default 2025) onwards and
  fail when DHIS2 reports an error
- Replace the DHIS2 container health check with a wait script in the
  post-install container
- Run the nightly suite for core-dev 2.41, 2.42, 2.43 and master, building
  the service image from the checked out code
- Wait for trailing worker messages in the single and parallel request
  integration tests, as the worker exit test already does
- Document the corrected dump in DB.md (limited service account, fixed
  periods, receivers group, null org unit cleanup)

AI Assisted

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore: resolve SonarCloud findings in the nightly workflow and setup scripts

Pin the third-party actions in the nightly workflow to full commit SHAs
and use [[ ]] for the retry checks in the setup scripts.

AI Assisted

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore: add a script that creates the e2e database dump

Address review feedback that producing a new dump was manual, finicky
work. scripts/create-e2e-db-dump.sh starts DHIS2 on the stock Sierra
Leone database and applies every change the e2e suite relies on: the
service account, test users and their user groups, the "One of
everything" dashboard, Norwegian translations and locale, fixed periods
in DATA_YEAR, email and push analytics settings, no HTTP caching, and
the push analytics jobs. It then dumps the database without analytics
tables. DB.md documents the script and what it changes.

The new dump is published on the 1.0.4 release as
dump-2.41-2025.sql.gz and .env.e2e points at it. ANALYTICS_FIRST_YEAR
moves into .env.e2e so it stays in step with the dump's data year.

The fixtures are regenerated from this dump for dhis2/core:2.41 and for
core-dev 2.41, 2.42, 2.43 and master.

AI Assisted

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore: take the push analytics URL template from the e2e environment

Resolve SonarCloud S5332 (clear-text protocol) in the dump script: the
URL template is now built in docker/e2e-db/docker-compose.yml from HOST
and PORT in .env.e2e instead of being a literal in the script. The
resulting system setting is unchanged.

AI Assisted

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

* fix: reload the app page after a user switch or a failed conversion

A worker kept the previously loaded app document when it switched the
impersonated user or when a conversion failed, because subsequent goto
steps only change the hash. A stuck app then failed every later item on
that worker. Navigating to about:blank first forces a full page load;
the codebase had no existing helper for forcing a document reload.

AI Assisted

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: retry a failed app conversion once

When several workers open Data Visualizer for the same new user at the
same time, each one tries to create the user's analytics userDataStore
keys. All but one get a 409, DV throws an uncaught error and the item
times out. A single retry starts from a full page load, by which time
the keys exist, so the app loads normally. The codebase has no shared
retry helper, so the retry stays local to the scraper.

AI Assisted

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: log the underlying error when the admin login fails

The login path now throws an AuthenticationError carrying the DHIS2
loginStatus, but establishNonExpiringAdminSession caught it and rethrew
a generic message, so the actual cause never reached the logs. Log the
caught error first. Carried over from #90, whose form-login change no
longer applies now that login goes through /api/auth/login.

AI Assisted

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test: let each integration test cluster listen on a free port

All integration test files bound the mock cluster to port 1337, and
node --test runs files in parallel, so three of the four binds failed.
supertest 7.1 masked this by silently re-listening the failed server on
a random port; supertest 7.3 records the late EADDRINUSE and fails the
request with it. Listening on port 0 gives every file its own port.

AI Assisted

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore(deps): update dependencies within their current major versions

Brings every dependency to its latest release within the current major,
plus the dev-only majors nock 15 and globals 17, and refreshes the
lockfile with npm update and npm audit fix (84 -> 48 audit findings).
Supersedes dependabot PRs #69, #76, #82, #83, #84, #85, #87, #88, #89.

Puppeteer now types the pageerror payload as Error | unknown, so
logPageEvents reads the message only from an Error instance.

Kept out as larger changes: release-it 19+ (#71), puppeteer 25,
typescript 7, eslint 10, commitlint 21, lint-staged 17, dotenv 18 and
@types/node 26.

AI Assisted

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Hendrik de Graaf <HendrikThePendric@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants