Closed dependabot[bot] closed 2 years ago
I think the issue here is that chalk v5 now only supports ES modules..
So here are the steps needed to convert this repo from a CommonJS repo to an ES Module repo: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c#how-can-i-move-my-commonjs-project-to-esm
Basically, add type: module
to package.json and replace all require
with import
.
It's usually a pretty simple conversion - the one biggest sticking point I've run into is anywhere that legacy code has done a require('something.json')
it's not so easy to import
a json file.
Superseded by #45.
Bumps chalk from 4.1.2 to 5.0.0.
Release notes
Sourced from chalk's releases.
Commits
4d5c479
5.0.07a68935
Fix code coverage04fdbd6
Bundle dependenciesd7c4aac
Upgrade dependencies09fd5c4
Re-export types fromsupports-color
(#526)c987c61
Remove support for tagged template literals (#524)f478655
Update dependents number in readme (#521)3761e45
Meta tweak (#520)9521742
Minor tweaks625a285
Addtypes
field to package.jsonDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 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)