[PR #12] [MERGED] Bump chalk from 2.4.2 to 4.1.0 #33

Closed
opened 2026-03-02 02:53:10 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/artiebits/fake-git-history/pull/12
Author: @dependabot-preview[bot]
Created: 9/27/2020
Status: Merged
Merged: 9/27/2020
Merged by: @artiebits

Base: masterHead: dependabot/npm_and_yarn/chalk-4.1.0


📝 Commits (1)

  • 9e552e2 Bump chalk from 2.4.2 to 4.1.0

📊 Changes

2 files changed (+688 additions, -3 deletions)

View changed files

📝 package.json (+1 -1)
📝 yarn.lock (+687 -2)

📄 Description

Bumps chalk from 2.4.2 to 4.1.0.

Release notes

Sourced from chalk's releases.

v4.1.0

  • Support template literals for nested calls (#392) 09ddbad

https://github.com/chalk/chalk/compare/v4.0.0...v4.1.0

v4.0.0

Breaking

  • Require Node.js 10 61999a4
  • Change the Level TypeScript type to be a union instead of enum f0f4638
-if (chalk.level > Level.None) {}
+if (chalk.level > 0) {}

Improvements

  • Use Object.setPrototypeOf as __proto__ could potentially be disabled (#387) 63469d3

https://github.com/chalk/chalk/compare/v3.0.0...v4.0.0

v3.0.0

This release has been in development for more than a year and massively improves performance and the time it takes to import Chalk.

Thanks to @stroncium for his hard work on this. 🙌

Breaking

  • Require Node.js 8 3ef170b
  • Remove the .enabled property in favor of .level (#356) 1f77953
    • Why: It was confusing to users to have two properties for detecting color support.
    • Migrate:
-if (chalk.enabled) {}
+if (chalk.level > 0) {}
  • Remove chalk.constructor() in favor of chalk.Instance() (#322) de2f4cd
    • Migrate:
-new chalk.constructor({level: 1});
+new chalk.Instance({level: 1})

Minor breaking

-import chalk from 'chalk';
</tr></table> ... (truncated)
Commits

Dependabot compatibility score

Dependabot 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.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/artiebits/fake-git-history/pull/12 **Author:** [@dependabot-preview[bot]](https://github.com/apps/dependabot-preview) **Created:** 9/27/2020 **Status:** ✅ Merged **Merged:** 9/27/2020 **Merged by:** [@artiebits](https://github.com/artiebits) **Base:** `master` ← **Head:** `dependabot/npm_and_yarn/chalk-4.1.0` --- ### 📝 Commits (1) - [`9e552e2`](https://github.com/artiebits/fake-git-history/commit/9e552e2e73d49e32e8891716ae1703b81c8c7e7e) Bump chalk from 2.4.2 to 4.1.0 ### 📊 Changes **2 files changed** (+688 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `package.json` (+1 -1) 📝 `yarn.lock` (+687 -2) </details> ### 📄 Description Bumps [chalk](https://github.com/chalk/chalk) from 2.4.2 to 4.1.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/chalk/chalk/releases">chalk's releases</a>.</em></p> <blockquote> <h2>v4.1.0</h2> <ul> <li>Support template literals for nested calls (<a href="https://github-redirect.dependabot.com/chalk/chalk/issues/392">#392</a>) 09ddbad</li> </ul> <p><a href="https://github.com/chalk/chalk/compare/v4.0.0...v4.1.0">https://github.com/chalk/chalk/compare/v4.0.0...v4.1.0</a></p> <h2>v4.0.0</h2> <h3>Breaking</h3> <ul> <li>Require Node.js 10 61999a4</li> <li>Change the <code>Level</code> TypeScript type to be a union instead of enum f0f4638</li> </ul> <pre lang="diff"><code>-if (chalk.level &gt; Level.None) {} +if (chalk.level &gt; 0) {} </code></pre> <h3>Improvements</h3> <ul> <li>Use <code>Object.setPrototypeOf</code> as <code>__proto__</code> could potentially be disabled (<a href="https://github-redirect.dependabot.com/chalk/chalk/issues/387">#387</a>) 63469d3</li> </ul> <p><a href="https://github.com/chalk/chalk/compare/v3.0.0...v4.0.0">https://github.com/chalk/chalk/compare/v3.0.0...v4.0.0</a></p> <h2>v3.0.0</h2> <p><!-- raw HTML omitted --> <strong>This release has been in development for more than a year and <a href="https://github-redirect.dependabot.com/chalk/chalk/pull/337">massively improves performance</a> and <a href="https://github-redirect.dependabot.com/chalk/chalk/pull/358">the time it takes to import Chalk</a>.</strong></p> <p>Thanks to <a href="https://github.com/stroncium">@stroncium</a> for his hard work on this. 🙌</p> <h3>Breaking</h3> <ul> <li>Require Node.js 8 3ef170b</li> <li>Remove the <code>.enabled</code> property in favor of <a href="https://github.com/chalk/chalk#chalklevel"><code>.level</code></a> (<a href="https://github-redirect.dependabot.com/chalk/chalk/issues/356">#356</a>) 1f77953 <ul> <li>Why: It was confusing to users to have two properties for detecting color support.</li> <li>Migrate:</li> </ul> </li> </ul> <pre lang="diff"><code>-if (chalk.enabled) {} +if (chalk.level &gt; 0) {} </code></pre> <ul> <li>Remove <code>chalk.constructor()</code> in favor of <code>chalk.Instance()</code> (<a href="https://github-redirect.dependabot.com/chalk/chalk/issues/322">#322</a>) de2f4cd <ul> <li>Migrate:</li> </ul> </li> </ul> <pre lang="diff"><code>-new chalk.constructor({level: 1}); +new chalk.Instance({level: 1}) </code></pre> <h3>Minor breaking</h3> <ul> <li>Use CommonJS-compatible export in TypeScript definition (<a href="https://github-redirect.dependabot.com/chalk/chalk/issues/344">#344</a>) 98628d9 <ul> <li>Why: Faking default export for TypeScript <a href="https://github-redirect.dependabot.com/sindresorhus/mem/issues/31">broke IntelliSense for JavaScript</a>.</li> <li>Migrate:</li> </ul> </li> </ul> <pre lang="diff"><code>-import chalk from 'chalk'; &lt;/tr&gt;&lt;/table&gt; ... (truncated) </code></pre> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/chalk/chalk/commit/4c3df8847256f9f2471f0af74100b21afc12949f"><code>4c3df88</code></a> 4.1.0</li> <li><a href="https://github.com/chalk/chalk/commit/09ddbadcb5569f6d6ace11f54242c339d727d546"><code>09ddbad</code></a> Support template literals for nested calls (<a href="https://github-redirect.dependabot.com/chalk/chalk/issues/392">#392</a>)</li> <li><a href="https://github.com/chalk/chalk/commit/55816cdd4d25a86cc35b18e1e578a5b164f71aee"><code>55816cd</code></a> Update readme links to use https (<a href="https://github-redirect.dependabot.com/chalk/chalk/issues/396">#396</a>)</li> <li><a href="https://github.com/chalk/chalk/commit/31fa94208034cb7581a81b06045ff2cf51057b40"><code>31fa942</code></a> 4.0.0</li> <li><a href="https://github.com/chalk/chalk/commit/61999a4e77f7d4ca0631f6c833b9ad5d76d925d5"><code>61999a4</code></a> Require Node.js 10</li> <li><a href="https://github.com/chalk/chalk/commit/f0f4638a92890ba3a329209836d5f904cfeb581a"><code>f0f4638</code></a> Change the TypeScript <code>Level</code> type to be a union instead of enum</li> <li><a href="https://github.com/chalk/chalk/commit/7f21f209da984ef156195d814a8cba20e8e28d10"><code>7f21f20</code></a> Properly check if <code>level</code> is an integer (<a href="https://github-redirect.dependabot.com/chalk/chalk/issues/393">#393</a>)</li> <li><a href="https://github.com/chalk/chalk/commit/63469d30e4514136651ae0bbe08e2d3046b02024"><code>63469d3</code></a> Use <code>Object.setPrototypeOf</code> as <code>__proto__</code> could potentially be disabled (<a href="https://github-redirect.dependabot.com/chalk/chalk/issues/387">#387</a>)</li> <li><a href="https://github.com/chalk/chalk/commit/797461ee3232c0013afc9b51d18ea2ba87227f10"><code>797461e</code></a> Meta tweaks</li> <li><a href="https://github.com/chalk/chalk/commit/0e6fecc7f7fd8158d3c96fb89608b8dfb744fdfa"><code>0e6fecc</code></a> Add link to replit run (<a href="https://github-redirect.dependabot.com/chalk/chalk/issues/379">#379</a>)</li> <li>Additional commits viewable in <a href="https://github.com/chalk/chalk/compare/v2.4.2...v4.1.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=chalk&package-manager=npm_and_yarn&previous-version=2.4.2&new-version=4.1.0)](https://dependabot.com/compatibility-score/?dependency-name=chalk&package-manager=npm_and_yarn&previous-version=2.4.2&new-version=4.1.0) Dependabot 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-automerge-start) [//]: # (dependabot-automerge-end) --- **Note:** This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit. You can always request more updates by clicking `Bump now` in your [Dependabot dashboard](https://app.dependabot.com). <details> <summary>Dependabot commands and options</summary> <br /> 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 02:53:10 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/fake-git-history#33
No description provided.