[PR #256] [CLOSED] chore(deps-dev): bump @nuxtjs/color-mode from 2.1.1 to 3.0.3 #266

Closed
opened 2025-12-01 17:06:33 +01:00 by arthur · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ArthurDanjou/website-old/pull/256
Author: @dependabot[bot]
Created: 5/11/2022
Status: Closed

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


📝 Commits (1)

  • c980afc chore(deps-dev): bump @nuxtjs/color-mode from 2.1.1 to 3.0.3

📊 Changes

2 files changed (+8 additions, -11 deletions)

View changed files

📝 package.json (+1 -1)
📝 yarn.lock (+7 -10)

📄 Description

Bumps @nuxtjs/color-mode from 2.1.1 to 3.0.3.

Release notes

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

v3.0.2

What's Changed

New Contributors

Full Changelog: https://github.com/nuxt-community/color-mode-module/compare/v3.0.2...v3.0.3

v3.0.1

Bug Fixes

  • move script to head and set forced color mode on <html> element (#128) (273f07e)

v3.0.0

v3 of @nuxtjs/color-mode requires either Nuxt Bridge or Nuxt 3. If you are using Nuxt 2 without Bridge, you should continue to use v2.

🔥 Notable changes

  1. Uses @nuxt/module-builder to build module.
  2. Refactor structure (lib -> src/dist, templates -> runtime)
  3. rewrite in TypeScript
  4. Move from templating options to creating a virtual module for greater performance
  5. Use esbuild to minify the script - note: ⚠️ it's likely this raises the minimum browser target ⚠️

👉 Migration

  1. The main change between Nuxt 2 -> Nuxt 3 is that you will define your color mode at the page level with definePageMeta:

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

    <script>

    • export default {
    • colorMode: 'light',
    • }
    • definePageMeta({
    • colorMode: 'light',

... (truncated)

Changelog

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

3.0.3 (2022-05-10)

Bug Fixes

3.0.2 (2022-03-07)

Bug Fixes

  • type helper as $colorMode not colorMode (b2d89bd), closes #130

3.0.1 (2022-02-21)

Bug Fixes

  • move script to head and set forced color mode on <html> element (#128) (273f07e)

3.0.0 (2022-02-16)

⚠ BREAKING CHANGES

  • add support for nuxt 3/nuxt bridge (#118)

Features

Commits
  • e1d6f2c chore(release): 3.0.3
  • d4ee818 fix(plugin): prevent infinite loop on watch (#145)
  • 63d86ab fix: rename useMeta to useHead (#135)
  • 4a030f0 chore: refresh lockfile (#137)
  • 95eacda chore(deps): update devdependency @​nuxtjs/eslint-config-typescript to v9 (#131)
  • ccc65da chore(deps): update codecov/codecov-action action to v3 (#136)
  • 48fbde6 chore(deps): update actions/setup-node action to v3 (#129)
  • 6697c1e chore(deps): update actions/cache action to v3 (#133)
  • f32fb7b chore(release): 3.0.2
  • 7e6699a ci: run prepare step before linting & testing
  • 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/ArthurDanjou/website-old/pull/256 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 5/11/2022 **Status:** ❌ Closed **Base:** `master` ← **Head:** `dependabot/npm_and_yarn/nuxtjs/color-mode-3.0.3` --- ### 📝 Commits (1) - [`c980afc`](https://github.com/ArthurDanjou/website-old/commit/c980afc370d498c9d531a36e43690d75070f1945) chore(deps-dev): bump @nuxtjs/color-mode from 2.1.1 to 3.0.3 ### 📊 Changes **2 files changed** (+8 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `package.json` (+1 -1) 📝 `yarn.lock` (+7 -10) </details> ### 📄 Description Bumps [@nuxtjs/color-mode](https://github.com/nuxt-community/color-mode-module) from 2.1.1 to 3.0.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/nuxt-community/color-mode-module/releases"><code>@​nuxtjs/color-mode</code>'s releases</a>.</em></p> <blockquote> <h2>v3.0.2</h2> <h2>What's Changed</h2> <ul> <li>chore(deps): update actions/cache action to v3 by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://github-redirect.dependabot.com/nuxt-community/color-mode-module/pull/133">nuxt-community/color-mode-module#133</a></li> <li>chore(deps): update actions/setup-node action to v3 by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://github-redirect.dependabot.com/nuxt-community/color-mode-module/pull/129">nuxt-community/color-mode-module#129</a></li> <li>chore(deps): update codecov/codecov-action action to v3 by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://github-redirect.dependabot.com/nuxt-community/color-mode-module/pull/136">nuxt-community/color-mode-module#136</a></li> <li>chore(deps): update devdependency <code>@​nuxtjs/eslint-config-typescript</code> to v9 by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://github-redirect.dependabot.com/nuxt-community/color-mode-module/pull/131">nuxt-community/color-mode-module#131</a></li> <li>chore: refresh lockfile by <a href="https://github.com/danielroe"><code>@​danielroe</code></a> in <a href="https://github-redirect.dependabot.com/nuxt-community/color-mode-module/pull/137">nuxt-community/color-mode-module#137</a></li> <li>fix: rename useMeta to useHead by <a href="https://github.com/Intevel"><code>@​Intevel</code></a> in <a href="https://github-redirect.dependabot.com/nuxt-community/color-mode-module/pull/135">nuxt-community/color-mode-module#135</a></li> <li>fix(plugin): prevent infinite loop on watch by <a href="https://github.com/benjamincanac"><code>@​benjamincanac</code></a> in <a href="https://github-redirect.dependabot.com/nuxt-community/color-mode-module/pull/145">nuxt-community/color-mode-module#145</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/Intevel"><code>@​Intevel</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/nuxt-community/color-mode-module/pull/135">nuxt-community/color-mode-module#135</a></li> <li><a href="https://github.com/benjamincanac"><code>@​benjamincanac</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/nuxt-community/color-mode-module/pull/145">nuxt-community/color-mode-module#145</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/nuxt-community/color-mode-module/compare/v3.0.2...v3.0.3">https://github.com/nuxt-community/color-mode-module/compare/v3.0.2...v3.0.3</a></p> <h2>v3.0.1</h2> <h3>Bug Fixes</h3> <ul> <li>move script to head and set forced color mode on <code>&lt;html&gt;</code> element (<a href="https://github-redirect.dependabot.com/nuxt-community/color-mode-module/issues/128">#128</a>) (<a href="https://github.com/nuxt-community/color-mode-module/commit/273f07ebda0d87fc7574d09658e60a9863ce84a8">273f07e</a>)</li> </ul> <h2>v3.0.0</h2> <p>v3 of <code>@nuxtjs/color-mode</code> requires either Nuxt Bridge or Nuxt 3. If you are using Nuxt 2 without Bridge, you should continue to use v2.</p> <ul> <li><a href="https://stackblitz.com/edit/nuxt-color-mode">▶️  Online playground</a></li> </ul> <h2>🔥 Notable changes</h2> <ol> <li>Uses <code>@nuxt/module-builder</code> to build module.</li> <li>Refactor structure (<code>lib</code> -&gt; <code>src</code>/<code>dist</code>, <code>templates</code> -&gt; <code>runtime</code>)</li> <li>rewrite in TypeScript</li> <li>Move from templating options to creating a virtual module for greater performance</li> <li>Use <code>esbuild</code> to minify the script - note: ⚠️ it's likely this raises the minimum browser target ⚠️</li> </ol> <h2>👉 Migration</h2> <ol> <li> <p>The main change between Nuxt 2 -&gt; Nuxt 3 is that you will define your color mode at the page level with <code>definePageMeta</code>:</p> <pre lang="diff"><code> \&lt;template&gt; &lt;h1&gt;This page is forced with light mode&lt;/h1&gt; &lt;/template&gt; <p>&lt;script&gt;</p> <ul> <li>export default {</li> <li>colorMode: 'light',</li> <li>}</li> </ul> <ul> <li>definePageMeta({</li> <li>colorMode: 'light', </code></pre></li> </ul> </li> </ol> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/nuxt-community/color-mode-module/blob/master/CHANGELOG.md"><code>@​nuxtjs/color-mode</code>'s changelog</a>.</em></p> <blockquote> <h3><a href="https://github.com/nuxt-community/color-mode-module/compare/v3.0.2...v3.0.3">3.0.3</a> (2022-05-10)</h3> <h3>Bug Fixes</h3> <ul> <li><strong>plugin:</strong> prevent infinite loop on watch (<a href="https://github-redirect.dependabot.com/nuxt-community/color-mode-module/issues/145">#145</a>) (<a href="https://github.com/nuxt-community/color-mode-module/commit/d4ee8186e5073e248baa8cea6438f8a50f6a9f19">d4ee818</a>)</li> <li>rename useMeta to useHead (<a href="https://github-redirect.dependabot.com/nuxt-community/color-mode-module/issues/135">#135</a>) (<a href="https://github.com/nuxt-community/color-mode-module/commit/63d86ab9702e247a89ca18167874051850665dec">63d86ab</a>)</li> </ul> <h3><a href="https://github.com/nuxt-community/color-mode-module/compare/v3.0.1...v3.0.2">3.0.2</a> (2022-03-07)</h3> <h3>Bug Fixes</h3> <ul> <li>type helper as <code>$colorMode</code> not <code>colorMode</code> (<a href="https://github.com/nuxt-community/color-mode-module/commit/b2d89bd5f3048b92b7b43ec21b7e74e4f1ae2454">b2d89bd</a>), closes <a href="https://github-redirect.dependabot.com/nuxt-community/color-mode-module/issues/130">#130</a></li> </ul> <h3><a href="https://github.com/nuxt-community/color-mode-module/compare/v3.0.0...v3.0.1">3.0.1</a> (2022-02-21)</h3> <h3>Bug Fixes</h3> <ul> <li>move script to head and set forced color mode on <code>&lt;html&gt;</code> element (<a href="https://github-redirect.dependabot.com/nuxt-community/color-mode-module/issues/128">#128</a>) (<a href="https://github.com/nuxt-community/color-mode-module/commit/273f07ebda0d87fc7574d09658e60a9863ce84a8">273f07e</a>)</li> </ul> <h2><a href="https://github.com/nuxt-community/color-mode-module/compare/v2.1.1...v3.0.0">3.0.0</a> (2022-02-16)</h2> <h3>⚠ BREAKING CHANGES</h3> <ul> <li>add support for nuxt 3/nuxt bridge (<a href="https://github-redirect.dependabot.com/nuxt-community/color-mode-module/issues/118">#118</a>)</li> </ul> <h3>Features</h3> <ul> <li>add support for nuxt 3/nuxt bridge (<a href="https://github-redirect.dependabot.com/nuxt-community/color-mode-module/issues/118">#118</a>) (<a href="https://github.com/nuxt-community/color-mode-module/commit/a5036a4a816a3baa2bc2a953048469a7a78a851e">a5036a4</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/nuxt-community/color-mode-module/commit/e1d6f2cda10bc5b67f5e29ad1919e3f8b0332ae7"><code>e1d6f2c</code></a> chore(release): 3.0.3</li> <li><a href="https://github.com/nuxt-community/color-mode-module/commit/d4ee8186e5073e248baa8cea6438f8a50f6a9f19"><code>d4ee818</code></a> fix(plugin): prevent infinite loop on watch (<a href="https://github-redirect.dependabot.com/nuxt-community/color-mode-module/issues/145">#145</a>)</li> <li><a href="https://github.com/nuxt-community/color-mode-module/commit/63d86ab9702e247a89ca18167874051850665dec"><code>63d86ab</code></a> fix: rename useMeta to useHead (<a href="https://github-redirect.dependabot.com/nuxt-community/color-mode-module/issues/135">#135</a>)</li> <li><a href="https://github.com/nuxt-community/color-mode-module/commit/4a030f0cb902d4dcffba90a4d5d717d5d0eda379"><code>4a030f0</code></a> chore: refresh lockfile (<a href="https://github-redirect.dependabot.com/nuxt-community/color-mode-module/issues/137">#137</a>)</li> <li><a href="https://github.com/nuxt-community/color-mode-module/commit/95eacda64dcdac32a21f03e91dc2412ae51a1ee3"><code>95eacda</code></a> chore(deps): update devdependency <code>@​nuxtjs/eslint-config-typescript</code> to v9 (<a href="https://github-redirect.dependabot.com/nuxt-community/color-mode-module/issues/131">#131</a>)</li> <li><a href="https://github.com/nuxt-community/color-mode-module/commit/ccc65da833d224cd67cf1ecaa9dbc3de810d41c8"><code>ccc65da</code></a> chore(deps): update codecov/codecov-action action to v3 (<a href="https://github-redirect.dependabot.com/nuxt-community/color-mode-module/issues/136">#136</a>)</li> <li><a href="https://github.com/nuxt-community/color-mode-module/commit/48fbde6038aa37e31c7569192b5b18e20d816f6b"><code>48fbde6</code></a> chore(deps): update actions/setup-node action to v3 (<a href="https://github-redirect.dependabot.com/nuxt-community/color-mode-module/issues/129">#129</a>)</li> <li><a href="https://github.com/nuxt-community/color-mode-module/commit/6697c1eb5328ef9c2bef392d94496da033bdbdc9"><code>6697c1e</code></a> chore(deps): update actions/cache action to v3 (<a href="https://github-redirect.dependabot.com/nuxt-community/color-mode-module/issues/133">#133</a>)</li> <li><a href="https://github.com/nuxt-community/color-mode-module/commit/f32fb7b30fce5316a1dedcd786e40b21e9877b38"><code>f32fb7b</code></a> chore(release): 3.0.2</li> <li><a href="https://github.com/nuxt-community/color-mode-module/commit/7e6699a9d67f170e495aa3f6b42778288d8e5ac3"><code>7e6699a</code></a> ci: run prepare step before linting &amp; testing</li> <li>Additional commits viewable in <a href="https://github.com/nuxt-community/color-mode-module/compare/v2.1.1...v3.0.3">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=2.1.1&new-version=3.0.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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>
arthur added the pull-request label 2025-12-01 17:06:33 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: arthur/website-old#266