[PR #1265] [CLOSED] Bump @nuxtjs/color-mode from 1.1.1 to 2.0.0 #3182

Closed
opened 2026-03-17 00:49:15 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/1265
Author: @dependabot[bot]
Created: 10/14/2020
Status: Closed

Base: masterHead: dependabot/npm_and_yarn/nuxtjs/color-mode-2.0.0


📝 Commits (1)

  • a2aec7c Bump @nuxtjs/color-mode from 1.1.1 to 2.0.0

📊 Changes

2 files changed (+4 additions, -4 deletions)

View changed files

📝 package-lock.json (+3 -3)
📝 package.json (+1 -1)

📄 Description

Bumps @nuxtjs/color-mode from 1.1.1 to 2.0.0.

Release notes

Sourced from @nuxtjs/color-mode's releases.

v2.0.0

Notes

  • ⚠️  The breaking change is only if you are using the cookie option in the V1, if you don't use it, you can upgrade easily.
  • 📘  Read the updated documentation
  • 🎮  Checkout the updated demo

Force a color mode

You can force the color mode at the page level (only parent) by setting the colorMode property:

\<template>
  <h1>This page is forced with light mode</h1>
</template>

<script> export default { colorMode: 'light', } </script>

This feature is perfect for implementing dark mode to a website incrementally by setting the non-ready pages to colorMode: 'light'.

We recommend to hide or disable the color mode picker on the page since it won't be able to change the current page color mode, using $colorMode.forced value.

See example: https://color-mode.nuxtjs.app/light

Local Storage only

This will also fixes #38

Using a cookie is only worth for doing server-side rendering with no cache, where actually localStorage work in every-case and won't lead to a flash on client-side anyway.

This also simplify the options and reduce the dependency with the cookie package.

To customize the storage key, you now have to use the storageKey property instead of cookie.key.

Changelog

Sourced from @nuxtjs/color-mode's changelog.

2.0.0 (2020-10-13)

⚠ BREAKING CHANGES

  • Version 2 (#39)

Features

Commits
  • 60d313f chore(release): 2.0.0
  • c500cf6 chore: add forced property
  • 47664d7 feat!: Version 2 (#39)
  • 64e87af docs: fix typo
  • cf8236d chore(deps): update all non-major dependencies (#36)
  • 4d52c84 chore(deps): update all non-major dependencies (#34)
  • 925c84a chore(deps): update all non-major dependencies to ^2.14.6 (#33)
  • 487699e chore(deps): update all non-major dependencies (#32)
  • 79e89ff chore(deps): update dependency @nuxt/content-theme-docs to ^0.6.0 (#31)
  • e0d795d chore(deps): update all non-major dependencies (#30)
  • Additional commits viewable in compare view

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.


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)

🔄 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/hoppscotch/hoppscotch/pull/1265 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 10/14/2020 **Status:** ❌ Closed **Base:** `master` ← **Head:** `dependabot/npm_and_yarn/nuxtjs/color-mode-2.0.0` --- ### 📝 Commits (1) - [`a2aec7c`](https://github.com/hoppscotch/hoppscotch/commit/a2aec7c4dc1afb0dbc0c2aae9225160bd32975c1) Bump @nuxtjs/color-mode from 1.1.1 to 2.0.0 ### 📊 Changes **2 files changed** (+4 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `package-lock.json` (+3 -3) 📝 `package.json` (+1 -1) </details> ### 📄 Description Bumps [@nuxtjs/color-mode](https://github.com/nuxt-community/color-mode-module) from 1.1.1 to 2.0.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/nuxt-community/color-mode-module/releases">@nuxtjs/color-mode's releases</a>.</em></p> <blockquote> <h2>v2.0.0</h2> <h3>Notes</h3> <ul> <li>⚠️  The breaking change is only if you are using the <code>cookie</code> option in the V1, if you don't use it, you can upgrade easily.</li> <li>📘  Read the <a href="https://color-mode.nuxtjs.org">updated documentation</a></li> <li>🎮  Checkout the <a href="https://color-mode.nuxtjs.app">updated demo</a></li> </ul> <h3>Force a color mode</h3> <p>You can force the color mode at the page level (only parent) by setting the <code>colorMode</code> property:</p> <pre lang="html"><code>\&lt;template&gt; &lt;h1&gt;This page is forced with light mode&lt;/h1&gt; &lt;/template&gt; <p>&lt;script&gt; export default { colorMode: 'light', } &lt;/script&gt; </code></pre></p> <p>This feature is perfect for implementing dark mode to a website incrementally by setting the non-ready pages to <code>colorMode: 'light'</code>.</p> <p>We recommend to hide or disable the color mode picker on the page since it won't be able to change the current page color mode, using <code>$colorMode.forced</code> value.</p> <p>See example: <a href="https://color-mode.nuxtjs.app/light">https://color-mode.nuxtjs.app/light</a></p> <h3>Local Storage only</h3> <p>This will also fixes <a href="https://github-redirect.dependabot.com/nuxt-community/color-mode-module/issues/38">#38</a></p> <p>Using a cookie is only worth for doing server-side rendering with no cache, where actually localStorage work in every-case and won't lead to a flash on client-side anyway.</p> <p>This also simplify the options and reduce the dependency with the <code>cookie</code> package.</p> <p>To customize the storage key, you now have to use the <code>storageKey</code> property instead of <code>cookie.key</code>.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/nuxt-community/color-mode-module/blob/master/CHANGELOG.md">@nuxtjs/color-mode's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/nuxt-community/color-mode-module/compare/v1.1.1...v2.0.0">2.0.0</a> (2020-10-13)</h2> <h3>⚠ BREAKING CHANGES</h3> <ul> <li>Version 2 (<a href="https://github-redirect.dependabot.com/nuxt-community/color-mode-module/issues/39">#39</a>)</li> </ul> <h3>Features</h3> <ul> <li>Version 2 (<a href="https://github-redirect.dependabot.com/nuxt-community/color-mode-module/issues/39">#39</a>) (<a href="https://github.com/nuxt-community/color-mode-module/commit/47664d76dc76a44ff270a6cd8569f512e5b004f3">47664d7</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/nuxt-community/color-mode-module/commit/60d313f7c7e757a2772d75892ab2042b5a5419ef"><code>60d313f</code></a> chore(release): 2.0.0</li> <li><a href="https://github.com/nuxt-community/color-mode-module/commit/c500cf669db571460255ff3dafc8817d9af3e591"><code>c500cf6</code></a> chore: add forced property</li> <li><a href="https://github.com/nuxt-community/color-mode-module/commit/47664d76dc76a44ff270a6cd8569f512e5b004f3"><code>47664d7</code></a> feat!: Version 2 (<a href="https://github-redirect.dependabot.com/nuxt-community/color-mode-module/issues/39">#39</a>)</li> <li><a href="https://github.com/nuxt-community/color-mode-module/commit/64e87af2810db72f3804eda10b0e23a5080d9bd4"><code>64e87af</code></a> docs: fix typo</li> <li><a href="https://github.com/nuxt-community/color-mode-module/commit/cf8236d87ea81848b9e1e2f2db67aad067e754f3"><code>cf8236d</code></a> chore(deps): update all non-major dependencies (<a href="https://github-redirect.dependabot.com/nuxt-community/color-mode-module/issues/36">#36</a>)</li> <li><a href="https://github.com/nuxt-community/color-mode-module/commit/4d52c845415b7ac31d65e48aa0bdd0c3785e52b2"><code>4d52c84</code></a> chore(deps): update all non-major dependencies (<a href="https://github-redirect.dependabot.com/nuxt-community/color-mode-module/issues/34">#34</a>)</li> <li><a href="https://github.com/nuxt-community/color-mode-module/commit/925c84a233775b20d28722f70c4209a5c42c28f5"><code>925c84a</code></a> chore(deps): update all non-major dependencies to ^2.14.6 (<a href="https://github-redirect.dependabot.com/nuxt-community/color-mode-module/issues/33">#33</a>)</li> <li><a href="https://github.com/nuxt-community/color-mode-module/commit/487699ec7b47a4ba761a1018bd31de5f868eb506"><code>487699e</code></a> chore(deps): update all non-major dependencies (<a href="https://github-redirect.dependabot.com/nuxt-community/color-mode-module/issues/32">#32</a>)</li> <li><a href="https://github.com/nuxt-community/color-mode-module/commit/79e89ff1bffc4c1268fef48d03db07282fc432e7"><code>79e89ff</code></a> chore(deps): update dependency @nuxt/content-theme-docs to ^0.6.0 (<a href="https://github-redirect.dependabot.com/nuxt-community/color-mode-module/issues/31">#31</a>)</li> <li><a href="https://github.com/nuxt-community/color-mode-module/commit/e0d795d02deba59419be0f8eeddf48f7280fde85"><code>e0d795d</code></a> chore(deps): update all non-major dependencies (<a href="https://github-redirect.dependabot.com/nuxt-community/color-mode-module/issues/30">#30</a>)</li> <li>Additional commits viewable in <a href="https://github.com/nuxt-community/color-mode-module/compare/v1.1.1...v2.0.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@nuxtjs/color-mode&package-manager=npm_and_yarn&previous-version=1.1.1&new-version=2.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/configuring-github-dependabot-security-updates) 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) --- <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) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 00:49:15 +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/hoppscotch#3182
No description provided.