Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency consola to v3 #643

Closed
wants to merge 2 commits into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 4, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
consola ^2.15.3 -> ^3.2.3 age adoption passing confidence

Release Notes

unjs/consola (consola)

v3.2.3

Compare Source

compare changes

🩹 Fixes
  • types: Partial style options for box (#​210)
  • types: Add backward compatible declarations (e46733b)
🏡 Chore
❤️ Contributors

v3.2.2

Compare Source

compare changes

🩹 Fixes
  • fancy: Add node 14 compatibility (#​204)
📦 Build
  • pkg: Add supported engines field (#​179)
❤️ Contributors

v3.2.1

Compare Source

compare changes

🩹 Fixes
  • box: Fix preset naming for singleThick (#​201)
  • fancy: Style underscore with surrounding spaces (#​203)
❤️ Contributors

v3.2.0

Compare Source

compare changes

🚀 Enhancements
🩹 Fixes
  • Inherit mocks (#​183)
  • Correct and improve return types for single and multi select prompts (#​197)
  • Preserve tag casing (#​190)
🏡 Chore
❤️ Contributors

v3.1.0

Compare Source

compare changes

🚀 Enhancements
  • Support fancy option for createConsola and improve docs (#​177)
  • /basic, /core and /browser subpath exports (#​178)
🏡 Chore
❤️ Contributors

v3.0.2

Compare Source

compare changes

🩹 Fixes
  • mockTypes: Mock on options.typs (f9d86b6)
  • Type .raw for types (dfb976f)
💅 Refactors
  • Use individual named exports of reporters (57bb579)
🏡 Chore
❤️ Contributors

v3.0.1

Compare Source

compare changes

🩹 Fixes
  • utils: Use default stream.write for workers support (#​173)
  • Wrap options.stdout and options.stderr for wrapStd (ab59db6)
💅 Refactors
  • fancy: More minimal badges when width cannot be determined (ad24029)
❤️ Contributors

v3.0.0

Compare Source

compare changes

🚀 Enhancements
  • Default logLevel to 1 in test environments (#​134)
  • Support literal for logLevels (#​133)
  • Expose createConsola and named exports (ef6e5e5)
  • consola.prompt util (#​170)
  • consola.fail log level (#​153)
  • Pass formatOptions and other options to reporters (d77286a)
  • Show stack trace with consola.trace (#​151)
🔥 Performance
  • Switch from chalk to colorette (271b4db)
  • Remove dayjs dependency (d6a3776)
🩹 Fixes
  • Add .raw to mocked functions (987dadc)
  • Type consola instance with built-in type functions (1a4b893)
  • Default value for color format utils (ec9be78)
  • fancy: Show time and tag on right when width cannot be determined (#​128)
  • Pass level from CONSOLA_LEVEL to the defaults (#​129)
  • consola: Type defaults overrides generic defaults (d3d3c05)
  • fancy: Improve colors (99c2a4f)
  • promp: Options is optional (817626f)
💅 Refactors
  • ⚠️ Rewrite consola with typescript (4479d2f)
  • Rename global to globalThis (bd03098)
  • utils: Rename global to globalThis (8c3ef77)
  • Strict typechecks (63bbd56)
  • Remove globalThis caching (4e7b909)
  • Drop json and winston reporters (5af0e99)
  • Move all options to consola.options without duplication (2d31ef4)
  • Move spam logic into _lastLog object (cabd04f)
  • Remove global async option (edd1bb9)
  • types: Merge LogTypeLiteral and logtype types to LogType (da1bc73)
  • ⚠️ Move log levels and types to constants (514f5b3)
  • Use index.node.ts for main build (b92d23b)
  • Improve types and exports (b380d21)
  • Improve fancy reporter (bc90db8)
  • Revert back to dist/index.* for bw compatibility (98e300f)
  • fancy: Better start color and icon (5a01d53)
📖 Documentation
  • Fix links to the source files (#​172)
📦 Build
  • Use backward compatible cjs wrapper for default export (e2e6aa6)
🏡 Chore
✅ Tests
🎨 Styles
  • Prefer object spread instead of Object.assign (c03268a)
⚠️ Breaking Changes
  • ⚠️ Rewrite consola with typescript (4479d2f)
  • ⚠️ Move log levels and types to constants (514f5b3)
❤️ Contributors

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Summary by CodeRabbit

  • Chores
    • Updated the "consola" dependency to the latest major version, enhancing logging capabilities and potentially introducing new features or improvements.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Jul 4, 2023
@changeset-bot
Copy link

changeset-bot bot commented Jul 4, 2023

⚠️ No Changeset found

Latest commit: 05c894a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@renovate renovate bot force-pushed the renovate/consola-3.x branch 15 times, most recently from 8b6a8b6 to 218134c Compare July 5, 2023 01:28
@renovate renovate bot force-pushed the renovate/consola-3.x branch 10 times, most recently from 38423ef to e641d21 Compare July 5, 2023 23:31
@renovate renovate bot force-pushed the renovate/consola-3.x branch 2 times, most recently from 758b930 to 186331c Compare July 25, 2023 01:38
Copy link

coderabbitai bot commented Nov 2, 2023

Important

Review skipped

Review was skipped due to path filters

Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Walkthrough

The update involves changing the version of the "consola" dependency in the package.json file from ^2.15.3 to ^3.2.3. This update signifies a transition to a newer major version, potentially introducing new features and improvements while adhering to semantic versioning principles. Other dependencies remain unchanged, indicating that the focus is solely on the "consola" library.

Changes

File Path Change Summary
packages/schema/package.json Updated "consola" version from ^2.15.3 to ^3.2.3

Sequence Diagram(s)

(No sequence diagrams are generated as the changes are too simple.)

Poem

🐰 In the meadow, bright and free,
A new version hops joyfully!
"Consola" shines, a fresh delight,
With features new, oh what a sight!
So let us dance, and sing with glee,
For updates bring such harmony! 🌼


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@renovate renovate bot force-pushed the renovate/consola-3.x branch 5 times, most recently from cbad090 to 3a45ba8 Compare November 8, 2023 23:29
Copy link

codecov bot commented Nov 8, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.72%. Comparing base (7f1d786) to head (05c894a).
Report is 1 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #643   +/-   ##
========================================
  Coverage    96.72%   96.72%           
========================================
  Files           91       91           
  Lines         2291     2291           
  Branches       511      511           
========================================
  Hits          2216     2216           
  Misses          60       60           
  Partials        15       15           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot force-pushed the renovate/consola-3.x branch 2 times, most recently from 51e597f to 027deeb Compare January 8, 2024 00:56
Copy link
Contributor Author

renovate bot commented Apr 4, 2024

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: yarn.lock
Internal Error: Error when performing the request to https://registry.npmjs.org/yarn; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting
    at fetch (/opt/containerbase/tools/corepack/0.26.0/16.20.1/node_modules/corepack/dist/lib/corepack.cjs:22878:11)
    at async fetchAsJson (/opt/containerbase/tools/corepack/0.26.0/16.20.1/node_modules/corepack/dist/lib/corepack.cjs:22892:20)
    at async fetchLatestStableVersion (/opt/containerbase/tools/corepack/0.26.0/16.20.1/node_modules/corepack/dist/lib/corepack.cjs:22942:20)
    at async fetchLatestStableVersion2 (/opt/containerbase/tools/corepack/0.26.0/16.20.1/node_modules/corepack/dist/lib/corepack.cjs:22975:14)
    at async Engine.getDefaultVersion (/opt/containerbase/tools/corepack/0.26.0/16.20.1/node_modules/corepack/dist/lib/corepack.cjs:23537:25)
    at async Engine.executePackageManagerRequest (/opt/containerbase/tools/corepack/0.26.0/16.20.1/node_modules/corepack/dist/lib/corepack.cjs:23644:30)
    at async BinaryCommand.validateAndExecute (/opt/containerbase/tools/corepack/0.26.0/16.20.1/node_modules/corepack/dist/lib/corepack.cjs:21164:22)
    at async _Cli.run (/opt/containerbase/tools/corepack/0.26.0/16.20.1/node_modules/corepack/dist/lib/corepack.cjs:22139:18)
    at async Object.runMain (/opt/containerbase/tools/corepack/0.26.0/16.20.1/node_modules/corepack/dist/lib/corepack.cjs:24371:12)

Copy link
Contributor Author

renovate bot commented Aug 27, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: yarn.lock
/opt/containerbase/tools/corepack/0.29.3/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:21609
    throw new Error(
          ^

Error: Error when performing the request to https://registry.npmjs.org/yarn/latest; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting
    at fetch (/opt/containerbase/tools/corepack/0.29.3/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:21609:11)
    at async fetchAsJson (/opt/containerbase/tools/corepack/0.29.3/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:21623:20)
    ... 4 lines matching cause stack trace ...
    at async Object.runMain (/opt/containerbase/tools/corepack/0.29.3/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:23096:5) {
  [cause]: TypeError: globalThis.fetch is not a function
      at fetch (/opt/containerbase/tools/corepack/0.29.3/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:21603:33)
      at async fetchAsJson (/opt/containerbase/tools/corepack/0.29.3/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:21623:20)
      at async fetchLatestStableVersion (/opt/containerbase/tools/corepack/0.29.3/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:21550:20)
      at async fetchLatestStableVersion2 (/opt/containerbase/tools/corepack/0.29.3/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:21672:14)
      at async Engine.getDefaultVersion (/opt/containerbase/tools/corepack/0.29.3/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22292:23)
      at async Engine.executePackageManagerRequest (/opt/containerbase/tools/corepack/0.29.3/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22390:47)
      at async Object.runMain (/opt/containerbase/tools/corepack/0.29.3/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:23096:5)
}

@renovate renovate bot force-pushed the renovate/consola-3.x branch 8 times, most recently from 604dffc to 415dd71 Compare August 29, 2024 05:36
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 7f1d786 and 7650863.

Files selected for processing (1)
  • packages/schema/package.json (1 hunks)
Additional comments not posted (1)
packages/schema/package.json (1)

42-42: LGTM! But verify compatibility with the new version.

The update to consola version ^3.2.3 is approved. However, ensure that the new version is compatible with the existing code and does not introduce any issues.

Run the following script to verify the compatibility of the new version:

@Decipher
Copy link
Member

This results in a timestamp prefixed console message for Druxt Schema, while other Nuxt modules aren't, which gives an inconsistent experience.

This may be negated by the @nuxt/kit upgrade, as @nuxt/kit provides a logger that should be used to replace consola.

@Decipher Decipher closed this Aug 29, 2024
Copy link
Contributor Author

renovate bot commented Aug 29, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 3.x releases. But if you manually upgrade to 3.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/consola-3.x branch August 29, 2024 23:39
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant