Skip to content

Bump consola from 2.15.3 to 3.4.2#1179

Open
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/npm_and_yarn/consola-3.4.2
Open

Bump consola from 2.15.3 to 3.4.2#1179
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/npm_and_yarn/consola-3.4.2

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 10, 2025

Bumps consola from 2.15.3 to 3.4.2.

Release notes

Sourced from consola's releases.

v3.4.2

compare changes

🩹 Fixes

  • Fix issues with CJS types (#358)
  • Export tree utils (#349)
  • Calculate box width with the title width (#362)

❤️ Contributors

v3.4.1

compare changes

🩹 Fixes

  • Remove all message lines from stack (#356)

❤️ Contributors

v3.4.0

compare changes

🚀 Enhancements

  • Use upstream @clack/prompts (#332)

🩹 Fixes

  • Calculate box width without escape sequence chars (#336)

📦 Build

  • Update exports for node16 typescript resolution (#331)

❤️ Contributors

v3.3.3

compare changes

... (truncated)

Changelog

Sourced from consola's changelog.

v3.4.2

compare changes

🩹 Fixes

  • Export tree utils (#349)
  • Calculate box width with the title width (#362)

🏡 Chore

❤️ Contributors

v3.4.1

compare changes

🩹 Fixes

  • Remove all message lines from stack (#356)

🏡 Chore

❤️ Contributors

v3.4.0

compare changes

🚀 Enhancements

  • Use upstream @clack/prompts (#332)

🩹 Fixes

  • Calculate box width without escape sequence chars (#336)

... (truncated)

Commits

Dependabot compatibility score

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)

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

Bumps [consola](https://github.com/unjs/consola) from 2.15.3 to 3.4.2.
- [Release notes](https://github.com/unjs/consola/releases)
- [Changelog](https://github.com/unjs/consola/blob/main/CHANGELOG.md)
- [Commits](unjs/consola@v2.15.3...v3.4.2)

---
updated-dependencies:
- dependency-name: consola
  dependency-version: 3.4.2
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript labels Dec 10, 2025
@learning-equality-bot
Copy link

Season’s greetings! 👋

We’d like to thank everyone for another year of fruitful collaborations, engaging discussions, and for the continued support of our work. Learning Equality will be on holidays from December 22 to January 5. We look forward to much more in the new year and wish you a very happy holiday season!

Are you preparing for Google Summer of Code? See our GSoC guidelines.

@learning-equality-bot
Copy link

👋 Thanks for contributing!

We will assign a reviewer within the next two weeks. In the meantime, please ensure that:

  • You ran pre-commit locally
  • All issue requirements are satisfied
  • The contribution is aligned with our Contributing guidelines. Pay extra attention to Using generative AI. Pull requests that don't follow the guidelines will be closed.

We'll be in touch! 😊

Copy link
Contributor

@rtibblesbot rtibblesbot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dependency Update Review

Package: consola 2.15.3 → 3.4.2
Semver risk: Major (v2 → v3)
Dependency type: devDependency
CI status: Failing — lint errors, Netlify deploy failure

Changelog Analysis

Sources consulted:

Breaking changes (v3):

  • Named exports are now recommended: const { consola } = require("consola") instead of const consola = require("consola")
  • Removed json and winston reporters
  • Type changes: LogTypeLiteral and logtype merged to LogType
  • Switched from chalk to colorette, removed dayjs dependency
  • Full TypeScript rewrite with ESM-first distribution

Security fixes: None noted.

Compatibility Assessment

  • Project uses affected APIs: The project uses require('consola') as a default import in 5 utility scripts. Consola v3 claims backward compatibility for the main interface, but the default export path has changed.
  • Lint breakage: Consola v3's dist files use modern JS syntax (numeric separators) that the project's ESLint parser (vue-eslint-parser) cannot parse. This causes eslint-plugin-import to fail when resolving consola imports in DocsPageSection.vue and DocsPageTemplate/index.vue. This is the root cause of the CI lint failures.
  • Code changes required: Yes — at minimum, the ESLint configuration needs updating to handle consola v3's modern syntax (e.g., parser upgrade or ignoring consola in import resolution). The require('consola') calls may also need migration to destructured imports.
  • Netlify deploy failure: Cascading from the lint failure. Lint passes on recent merged PRs (#1209), confirming this is caused by the consola upgrade.

Recommendation

REQUEST_CHANGES — This major version bump causes lint CI failures due to consola v3's ESM-first distribution using modern JS syntax that the project's ESLint parser cannot handle. The PR needs code changes (ESLint config and/or parser upgrade) to accompany the dependency bump. A bare dependency update is insufficient for this major version jump.


@rtibblesbot's comments are generated by an LLM, and should be evaluated accordingly

How was this generated?

Reviewed the pull request diff checking for:

  • Correctness: bugs, edge cases, undocumented behavior, resource leaks, hardcoded values
  • Design: unnecessary complexity, naming, readability, comment accuracy, redundant state
  • Architecture: duplicated concerns, minimal interfaces, composition over inheritance
  • Testing: behavior-based assertions, mocks only at hard boundaries, accurate coverage
  • Completeness: missing dependencies, unupdated usages, i18n, accessibility, security
  • Principles: DRY (same reason to change), SRP, Rule of Three (no premature abstraction)
  • Checked CI status and linked issue acceptance criteria
  • For UI changes: inspected screenshots for layout, visual completeness, and consistency

"chokidar-cli": "^3.0.0",
"concurrently": "^9.1.0",
"consola": "^2.15.3",
"consola": "^3.4.2",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

blocking: This major version bump (v2 → v3) breaks CI. Consola v3's dist files use modern JS syntax (numeric separators) that the project's vue-eslint-parser cannot parse, causing eslint-plugin-import failures in DocsPageSection.vue and DocsPageTemplate/index.vue:

Parse errors in imported module 'consola': Identifier directly after number (461:22)  import/namespace

This dependency-only PR needs accompanying changes — either an ESLint parser/config update to handle modern syntax in dependencies, or an upgrade to a version of eslint-plugin-import that tolerates it. Additionally, the 5 utility scripts using require('consola') as a default import may need migration to const { consola } = require('consola') per the v3 migration guide.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant