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

pkg: Update chalk to v5 #1503

Closed
wants to merge 1 commit into from
Closed

pkg: Update chalk to v5 #1503

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 14, 2022

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
chalk ^4.1.2 -> ^5.0.1 age adoption passing confidence

Release Notes

chalk/chalk

v5.0.1

Compare Source

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

v5.0.0

Compare Source

Breaking
  • This package is now pure ESM. Please read this.
    • If you use TypeScript, you will want to stay on Chalk 4 until TypeScript 4.6 is out. Why.
    • If you use a bundler, make sure it supports ESM and that you have correctly configured it for ESM.
    • The Chalk issue tracker is not a support channel for your favorite build/bundler tool.
    • It's totally fine to stay on Chalk v4. It's been stable for years.
  • Require Node.js 12.20 fa16f4e
  • Move some properties off the default export to individual named exports:
    • chalk.InstanceChalk
    • chalk.supportsColorsupportsColor
    • chalk.stderrchalkStderr
    • chalk.stderr.supportsColorsupportsColorStderr
  • Remove .keyword(), .hsl(), .hsv(), .hwb(), and .ansi() coloring methods (#​433) 4cf2e40
    • These were not commonly used and added a lot of bloat to Chalk. You can achieve the same by using the color-convert package.
  • The tagged template literal support moved into a separate package: chalk-template (#​524) c987c61
-import chalk from 'chalk';
+import chalkTemplate from 'chalk-template';

-chalk`2 + 3 = {bold ${2 + 3}}`;
+chalkTemplate`2 + 3 = {bold ${2 + 3}}`;
Improvements

Configuration

📅 Schedule: At any time (no schedule defined).

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

Rebasing: Whenever PR becomes conflicted, 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, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@sonarcloud
Copy link

sonarcloud bot commented May 14, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@github-actions
Copy link
Contributor

Size Change: 0 B

Total Size: 435 kB

ℹ️ View Unchanged
Filename Size
examples/typescript/dist/App.css 67.8 kB
examples/typescript/dist/App.js 61.7 kB
examples/typescript/dist/Error-index-tsx.chunk.js 234 B
examples/typescript/dist/GQL-index-tsx.chunk.js 1.25 kB
examples/typescript/dist/Home-__tests__-home-test-tsx.chunk.js 4.75 kB
examples/typescript/dist/Home-__tests__-home-test-tsx.css 273 B
examples/typescript/dist/Home-index-tsx.chunk.js 4.64 kB
examples/typescript/dist/Home-index-tsx.css 265 B
examples/typescript/dist/index.html 272 B
examples/typescript/dist/Issues-index-tsx.chunk.js 3.56 kB
examples/typescript/dist/my.worker.js 158 B
examples/typescript/dist/polyfill.js 4.49 kB
examples/typescript/dist/Posts-index-tsx.chunk.js 1.72 kB
examples/typescript/dist/Posts-PostCreate-tsx.chunk.js 1.4 kB
examples/typescript/dist/Posts-PostEdit-tsx.chunk.js 1.39 kB
examples/typescript/dist/Posts-PostForm-tsx.chunk.js 3.92 kB
examples/typescript/dist/Posts-PostListItem-tsx.chunk.js 1.31 kB
examples/typescript/dist/Posts-useForm-tsx.chunk.js 315 B
examples/typescript/dist/react.js 46.4 kB
examples/typescript/dist/redbox.chunk.js 11 kB
examples/typescript/dist/router.js 10.2 kB
examples/typescript/dist/Slow-index-tsx.chunk.js 410 B
examples/typescript/dist/User-index-tsx.chunk.js 2.36 kB
examples/typescript/dist/vendors-node_modules_ant-design_icons_es_icons_CloseCircleFilled_js-node_modules_antd_es__uti-2dbfa7.chunk.js 14.8 kB
examples/typescript/dist/vendors-node_modules_ant-design_icons_es_icons_DownOutlined_js-node_modules_ant-design_icons_-c239fd.chunk.js 4.96 kB
examples/typescript/dist/vendors-node_modules_ant-design_icons_es_icons_InfoCircleOutlined_js-node_modules_ant-design_-ff8bfb.chunk.js 3.23 kB
examples/typescript/dist/vendors-node_modules_antd_es_button_index_js.chunk.js 7.26 kB
examples/typescript/dist/vendors-node_modules_antd_es_form_index_js-node_modules_antd_es_input_index_js.chunk.js 9.28 kB
examples/typescript/dist/vendors-node_modules_antd_es_input_TextArea_js.chunk.js 7.53 kB
examples/typescript/dist/vendors-node_modules_antd_es_list_index_js.chunk.js 26.9 kB
examples/typescript/dist/vendors-node_modules_antd_es_page-header_index_js.chunk.js 7.46 kB
examples/typescript/dist/vendors-node_modules_antd_es_typography_index_js.chunk.js 6.46 kB
examples/typescript/dist/vendors-node_modules_moment_locale_af_js-node_modules_moment_locale_ar-dz_js-node_modules_mom-6d8599.chunk.js 80.3 kB
examples/typescript/dist/vendors-node_modules_path_path_js-node_modules_worker-loader_dist_runtime_inline_js.chunk.js 4.64 kB
examples/typescript/dist/vendors-node_modules_process_browser_js-node_modules_rest-hooks_rest_lib_Resource_js.chunk.js 2.59 kB
examples/typescript/dist/vendors-node_modules_react-test-renderer_index_js.chunk.js 26.3 kB
examples/typescript/dist/vendors-node_modules_rest-hooks_core_lib_react-integration_hooks_useResource_js.chunk.js 1.34 kB
examples/typescript/dist/webpack-runtime.js 1.88 kB

compressed-size-action

@ntucker ntucker closed this May 14, 2022
@renovate
Copy link
Contributor Author

renovate bot commented May 14, 2022

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 5.x releases. But if you manually upgrade to 5.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/chalk-5.x branch May 14, 2022 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants