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

Bump chalk from 3.0.0 to 5.4.1 #571

Merged
merged 2 commits into from
Feb 26, 2025
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 23, 2024

Bumps chalk from 3.0.0 to 5.4.1.

Release notes

Sourced from chalk's releases.

v5.4.1

  • Fix navigator not defined ReferenceError (#642) 4ebb62d

chalk/chalk@v5.4.0...v5.4.1

v5.4.0

  • Update CIRCLECI environments to return level 3 color support f838120

chalk/chalk@v5.3.0...v5.4.0

v5.3.0

  • Add sideEffects field to package.json 5aafc0a
  • Add support for Gitea Actions (#603) 29b8569

chalk/chalk@v5.2.0...v5.3.0

v5.2.0

  • Improve Deno compatibility (#579) 7443e9f
  • Detect true-color support for GitHub Actions (#579) 7443e9f
  • Detect true-color support for Kitty terminal (#579) 7443e9f
  • Fix test for Azure DevOps environment (#579) 7443e9f

chalk/chalk@v5.1.2...v5.2.0

v5.1.2

  • Fix exported styles names (#569) a34bcf6

chalk/chalk@v5.1.1...v5.1.2

v5.1.1

  • Improved the names of exports introduced in 5.1.0 (#567) 6e0df05
    • We of course preserved the old names.

chalk/chalk@v5.1.0...v5.1.1

v5.1.0

  • Expose style names (#566) d7d7571

chalk/chalk@v5.0.1...v5.1.0

v5.0.1

  • Add main field to package.json for backwards compatibility with some developer tools 85f7e96

chalk/chalk@v5.0.0...v5.0.1

v5.0.0

Breaking

  • This package is now pure ESM. Please read this.
    • If you use TypeScript, you need to use TypeScript 4.7 or later. Why.

... (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 [chalk](https://github.com/chalk/chalk) from 3.0.0 to 5.4.1.
- [Release notes](https://github.com/chalk/chalk/releases)
- [Commits](chalk/chalk@v3.0.0...v5.4.1)

---
updated-dependencies:
- dependency-name: chalk
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Dec 23, 2024
@KevinEady
Copy link
Contributor

We can either use await import like this PR does, or migrate to use ESM modules. Any thoughts? @legendecas @vmoroz @gabrielschulhof @mhdawson

@KevinEady KevinEady self-assigned this Feb 17, 2025
@legendecas
Copy link
Member

legendecas commented Feb 21, 2025

Starting from Node.js v23.0.0, it is possible to require(esm) without any flags. Can we upgrade the Node.js version in this example repository so that we can take advantage of that, and we don't have to change the code?

@KevinEady
Copy link
Contributor

KevinEady commented Feb 23, 2025

@legendecas this means we will remove compiling and running the examples from [16.x, 18.x, 20.x] to only [23.x], as the test runner will fail to run on earlier versions. Is this acceptable?

Note that even with Node v23, the test runner will still need a (minor) change to correctly require the module, see commit:

diff --git a/test_all.js b/test_all.js
index 2782a90..e1f40e0 100644
--- a/test_all.js
+++ b/test_all.js
@@ -1,7 +1,7 @@
 const fs = require("fs");
 const path = require("path");
 const { execSync } = require("child_process");
-const chalk = require("chalk");
+const { default: chalk } = require("chalk");
 const semver = require("semver");
 
 const examplesFolder = path.join(__dirname, "src");

@legendecas legendecas merged commit bd39695 into main Feb 26, 2025
29 checks passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/chalk-5.4.1 branch February 26, 2025 11:24
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
Development

Successfully merging this pull request may close these issues.

3 participants