[PR #55] [CLOSED] fix(deps): bump @nuxtjs/composition-api from 0.22.4 to 0.23.2 #54

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

📋 Pull Request Information

Original PR: https://github.com/ArthurDanjou/website-old/pull/55
Author: @dependabot[bot]
Created: 4/20/2021
Status: Closed

Base: masterHead: dependabot/npm_and_yarn/nuxtjs/composition-api-0.23.2


📝 Commits (1)

  • 042843a fix(deps): bump @nuxtjs/composition-api from 0.22.4 to 0.23.2

📊 Changes

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

View changed files

📝 package.json (+1 -1)
📝 yarn.lock (+12 -12)

📄 Description

Bumps @nuxtjs/composition-api from 0.22.4 to 0.23.2.

Release notes

Sourced from @​nuxtjs/composition-api's releases.

v0.23.2

0.23.2 (2021-04-19)

Bug Fixes

  • register composition api before middleware (9d4165a), closes #457

v0.23.1

0.23.1 (2021-04-14)

Bug Fixes

  • use reactive rather than Vue.observable in useFetch (385bb73), closes #455

v0.23.0

0.23.0 (2021-04-12)

⚠ BREAKING CHANGES

  • @nuxtjs/composition-api/module is now how the module should be imported in nuxt.config

  • There is no longer a need to amend moduleNameMapper in your jest.config - you should remove any entry for @nuxtjs/composition-api there. When used outside a Nuxt context, the module will 'auto-mock' and use https://github.com/nuxt-community/composition-api/blob/be94d4f4e1321565864dd3d3d5e850f7cabf6ca9/src/globals.ts instead of live Nuxt configuration.

  • @nuxtjs/composition-api/babel has been renamed to @nuxtjs/composition-api/dist/babel-plugin.

  • @vue/composition-api is no longer transpiled by default. You should consider adding it to build.transpile, but note that you may also need to add any other libraries that also use @vue/composition-api.

  • You should ensure you haven't named any layout '0' as this will conflict with how this package is registering the Vue Composition API.

  • defineNuxtConfig, defineNuxtModule and defineNuxtServerMiddleware have been removed. You can create your own helper with the following code:

    import { Module, ServerMiddleware, NuxtConfig } from '@nuxt/types'
    

    export const defineNuxtModule = <T extends Record<string, unknown>>(module: Module<T>) => module export const defineNuxtServerMiddleware = (serverMiddleware: ServerMiddleware) => serverMiddleware export const defineNuxtConfig = (config: NuxtConfig) => config

Bug Fixes

  • register the composition api in a template file (#433) (8cc21ce), closes #415 #391
  • return from rather than redirectedFrom from useContext (a159d87), closes #444

Code Refactoring

... (truncated)

Changelog

Sourced from @​nuxtjs/composition-api's changelog.

0.23.2 (2021-04-19)

Bug Fixes

  • register composition api before middleware (9d4165a), closes #457

0.23.1 (2021-04-14)

Bug Fixes

  • use reactive rather than Vue.observable in useFetch (385bb73), closes #455

0.23.0 (2021-04-12)

⚠ BREAKING CHANGES

  • @nuxtjs/composition-api/module is now how the module should be imported in nuxt.config

  • There is no longer a need to amend moduleNameMapper in your jest.config - you should remove any entry for @nuxtjs/composition-api there. When used outside a Nuxt context, the module will 'auto-mock' and use https://github.com/nuxt-community/composition-api/blob/be94d4f4e1321565864dd3d3d5e850f7cabf6ca9/src/globals.ts instead of live Nuxt configuration.

  • @nuxtjs/composition-api/babel has been renamed to @nuxtjs/composition-api/dist/babel-plugin.

  • @vue/composition-api is no longer transpiled by default. You should consider adding it to build.transpile, but note that you may also need to add any other libraries that also use @vue/composition-api.

  • You should ensure you haven't named any layout '0' as this will conflict with how this package is registering the Vue Composition API.

  • defineNuxtConfig, defineNuxtModule and defineNuxtServerMiddleware have been removed. You can create your own helper with the following code:

    import { Module, ServerMiddleware, NuxtConfig } from '@nuxt/types'
    

    export const defineNuxtModule = <T extends Record<string, unknown>>(module: Module<T>) => module export const defineNuxtServerMiddleware = (serverMiddleware: ServerMiddleware) => serverMiddleware export const defineNuxtConfig = (config: NuxtConfig) => config

Bug Fixes

  • register the composition api in a template file (#433) (8cc21ce), closes #415 #391
  • return from rather than redirectedFrom from useContext (a159d87), closes #444

Code Refactoring

  • change how library is imported (#418) (5bb1a72)
    • fixed an issue with nuxt-vite compatbility
  • significant packaging changes (#438) (ddc9c0f)
    • The ESM version of the library is now .mjs (but we polyfill support for this and other .mjs files in webpack 4).

... (truncated)

Commits
  • 066766e chore: release v0.23.2
  • 596bda8 chore: upgrade @vue/composition-api
  • 9d4165a fix: register composition api before middleware
  • 0aca79d chore(deps): update devdependency eslint-plugin-prettier to ^3.4.0 (#456)
  • 9f7bfaf chore(deps): update all non-major dependencies (#452)
  • 5608c2f chore: release v0.23.1
  • 385bb73 fix: use reactive rather than Vue.observable in useFetch
  • 1e0fd4b test: test built module in CI
  • a8d7d75 chore: release v0.23.0
  • 60d7416 chore: upgrade dev dependencies and clean lockfiles
  • 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/55 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 4/20/2021 **Status:** ❌ Closed **Base:** `master` ← **Head:** `dependabot/npm_and_yarn/nuxtjs/composition-api-0.23.2` --- ### 📝 Commits (1) - [`042843a`](https://github.com/ArthurDanjou/website-old/commit/042843a1d23cb0bd5ab6794766dc9931fbbcc6c9) fix(deps): bump @nuxtjs/composition-api from 0.22.4 to 0.23.2 ### 📊 Changes **2 files changed** (+13 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `package.json` (+1 -1) 📝 `yarn.lock` (+12 -12) </details> ### 📄 Description Bumps [@nuxtjs/composition-api](https://github.com/nuxt-community/composition-api) from 0.22.4 to 0.23.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/nuxt-community/composition-api/releases"><code>@​nuxtjs/composition-api</code>'s releases</a>.</em></p> <blockquote> <h2>v0.23.2</h2> <h3><a href="https://github.com/nuxt-community/composition-api/compare/0.23.1...0.23.2">0.23.2</a> (2021-04-19)</h3> <h3>Bug Fixes</h3> <ul> <li>register composition api before middleware (<a href="https://github.com/nuxt-community/composition-api/commit/9d4165a3511ffeb2cf1e0584a303565b41b0f968">9d4165a</a>), closes <a href="https://github-redirect.dependabot.com/nuxt-community/composition-api/issues/457">#457</a></li> </ul> <h2>v0.23.1</h2> <h3><a href="https://github.com/nuxt-community/composition-api/compare/0.23.0...0.23.1">0.23.1</a> (2021-04-14)</h3> <h3>Bug Fixes</h3> <ul> <li>use reactive rather than <code>Vue.observable</code> in <code>useFetch</code> (<a href="https://github.com/nuxt-community/composition-api/commit/385bb73bab6cfbc06e4567fe3e314d1b6888f830">385bb73</a>), closes <a href="https://github-redirect.dependabot.com/nuxt-community/composition-api/issues/455">#455</a></li> </ul> <h2>v0.23.0</h2> <h2><a href="https://github.com/nuxt-community/composition-api/compare/0.22.4...0.23.0">0.23.0</a> (2021-04-12)</h2> <h3>⚠ BREAKING CHANGES</h3> <ul> <li> <p><code>@nuxtjs/composition-api/module</code> is now how the module should be imported in <code>nuxt.config</code></p> </li> <li> <p>There is no longer a need to amend <code>moduleNameMapper</code> in your jest.config - you should remove any entry for <code>@nuxtjs/composition-api</code> there. When used outside a Nuxt context, the module will 'auto-mock' and use <a href="https://github.com/nuxt-community/composition-api/blob/be94d4f4e1321565864dd3d3d5e850f7cabf6ca9/src/globals.ts">https://github.com/nuxt-community/composition-api/blob/be94d4f4e1321565864dd3d3d5e850f7cabf6ca9/src/globals.ts</a> instead of live Nuxt configuration.</p> </li> <li> <p><code>@nuxtjs/composition-api/babel</code> has been renamed to <code>@nuxtjs/composition-api/dist/babel-plugin</code>.</p> </li> <li> <p><code>@vue/composition-api</code> is no longer transpiled by default. You should consider adding it to <code>build.transpile</code>, but note that you may also need to add any other libraries that also use <code>@vue/composition-api</code>.</p> </li> <li> <p>You should ensure you haven't named any layout '0' as this will conflict with how this package is registering the Vue Composition API.</p> </li> <li> <p><code>defineNuxtConfig</code>, <code>defineNuxtModule</code> and <code>defineNuxtServerMiddleware</code> have been removed. You can create your own helper with the following code:</p> <pre lang="ts"><code>import { Module, ServerMiddleware, NuxtConfig } from '@nuxt/types' <p>export const defineNuxtModule = &lt;T extends Record&lt;string, unknown&gt;&gt;(module: Module&lt;T&gt;) =&gt; module export const defineNuxtServerMiddleware = (serverMiddleware: ServerMiddleware) =&gt; serverMiddleware export const defineNuxtConfig = (config: NuxtConfig) =&gt; config </code></pre></p> </li> </ul> <h3>Bug Fixes</h3> <ul> <li>register the composition api in a template file (<a href="https://github-redirect.dependabot.com/nuxt-community/composition-api/issues/433">#433</a>) (<a href="https://github.com/nuxt-community/composition-api/commit/8cc21ce2de08fbb12d0561c9bbd5c76ecfa32e08">8cc21ce</a>), closes <a href="https://github-redirect.dependabot.com/nuxt-community/composition-api/issues/415">#415</a> <a href="https://github-redirect.dependabot.com/nuxt-community/composition-api/issues/391">#391</a></li> <li>return <code>from</code> rather than <code>redirectedFrom</code> from <code>useContext</code> (<a href="https://github.com/nuxt-community/composition-api/commit/a159d8781a0eef9071af05bbf1092061b8b653e2">a159d87</a>), closes <a href="https://github-redirect.dependabot.com/nuxt-community/composition-api/issues/444">#444</a></li> </ul> <h3>Code Refactoring</h3> <ul> <li>change how library is imported (<a href="https://github-redirect.dependabot.com/nuxt-community/composition-api/issues/418">#418</a>) (<a href="https://github.com/nuxt-community/composition-api/commit/5bb1a72669f97ba964dd3968f76627472c502dca">5bb1a72</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/nuxt-community/composition-api/blob/main/CHANGELOG.md"><code>@​nuxtjs/composition-api</code>'s changelog</a>.</em></p> <blockquote> <h3><a href="https://github.com/nuxt-community/composition-api/compare/0.23.1...0.23.2">0.23.2</a> (2021-04-19)</h3> <h3>Bug Fixes</h3> <ul> <li>register composition api before middleware (<a href="https://github.com/nuxt-community/composition-api/commit/9d4165a3511ffeb2cf1e0584a303565b41b0f968">9d4165a</a>), closes <a href="https://github-redirect.dependabot.com/nuxt-community/composition-api/issues/457">#457</a></li> </ul> <h3><a href="https://github.com/nuxt-community/composition-api/compare/0.23.0...0.23.1">0.23.1</a> (2021-04-14)</h3> <h3>Bug Fixes</h3> <ul> <li>use reactive rather than <code>Vue.observable</code> in <code>useFetch</code> (<a href="https://github.com/nuxt-community/composition-api/commit/385bb73bab6cfbc06e4567fe3e314d1b6888f830">385bb73</a>), closes <a href="https://github-redirect.dependabot.com/nuxt-community/composition-api/issues/455">#455</a></li> </ul> <h2><a href="https://github.com/nuxt-community/composition-api/compare/0.22.4...0.23.0">0.23.0</a> (2021-04-12)</h2> <h3>⚠ BREAKING CHANGES</h3> <ul> <li> <p><code>@nuxtjs/composition-api/module</code> is now how the module should be imported in <code>nuxt.config</code></p> </li> <li> <p>There is no longer a need to amend <code>moduleNameMapper</code> in your jest.config - you should remove any entry for <code>@nuxtjs/composition-api</code> there. When used outside a Nuxt context, the module will 'auto-mock' and use <a href="https://github.com/nuxt-community/composition-api/blob/be94d4f4e1321565864dd3d3d5e850f7cabf6ca9/src/globals.ts">https://github.com/nuxt-community/composition-api/blob/be94d4f4e1321565864dd3d3d5e850f7cabf6ca9/src/globals.ts</a> instead of live Nuxt configuration.</p> </li> <li> <p><code>@nuxtjs/composition-api/babel</code> has been renamed to <code>@nuxtjs/composition-api/dist/babel-plugin</code>.</p> </li> <li> <p><code>@vue/composition-api</code> is no longer transpiled by default. You should consider adding it to <code>build.transpile</code>, but note that you may also need to add any other libraries that also use <code>@vue/composition-api</code>.</p> </li> <li> <p>You should ensure you haven't named any layout '0' as this will conflict with how this package is registering the Vue Composition API.</p> </li> <li> <p><code>defineNuxtConfig</code>, <code>defineNuxtModule</code> and <code>defineNuxtServerMiddleware</code> have been removed. You can create your own helper with the following code:</p> <pre lang="ts"><code>import { Module, ServerMiddleware, NuxtConfig } from '@nuxt/types' <p>export const defineNuxtModule = &lt;T extends Record&lt;string, unknown&gt;&gt;(module: Module&lt;T&gt;) =&gt; module export const defineNuxtServerMiddleware = (serverMiddleware: ServerMiddleware) =&gt; serverMiddleware export const defineNuxtConfig = (config: NuxtConfig) =&gt; config </code></pre></p> </li> </ul> <h3>Bug Fixes</h3> <ul> <li>register the composition api in a template file (<a href="https://github-redirect.dependabot.com/nuxt-community/composition-api/issues/433">#433</a>) (<a href="https://github.com/nuxt-community/composition-api/commit/8cc21ce2de08fbb12d0561c9bbd5c76ecfa32e08">8cc21ce</a>), closes <a href="https://github-redirect.dependabot.com/nuxt-community/composition-api/issues/415">#415</a> <a href="https://github-redirect.dependabot.com/nuxt-community/composition-api/issues/391">#391</a></li> <li>return <code>from</code> rather than <code>redirectedFrom</code> from <code>useContext</code> (<a href="https://github.com/nuxt-community/composition-api/commit/a159d8781a0eef9071af05bbf1092061b8b653e2">a159d87</a>), closes <a href="https://github-redirect.dependabot.com/nuxt-community/composition-api/issues/444">#444</a></li> </ul> <h3>Code Refactoring</h3> <ul> <li>change how library is imported (<a href="https://github-redirect.dependabot.com/nuxt-community/composition-api/issues/418">#418</a>) (<a href="https://github.com/nuxt-community/composition-api/commit/5bb1a72669f97ba964dd3968f76627472c502dca">5bb1a72</a>) <ul> <li>fixed an issue with <code>nuxt-vite</code> compatbility</li> </ul> </li> <li>significant packaging changes (<a href="https://github-redirect.dependabot.com/nuxt-community/composition-api/issues/438">#438</a>) (<a href="https://github.com/nuxt-community/composition-api/commit/ddc9c0f9ba8281931da817b3d106d0a45a2b4cf9">ddc9c0f</a>) <ul> <li>The ESM version of the library is now <code>.mjs</code> (but we polyfill support for this and other <code>.mjs</code> files in webpack 4).</li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/nuxt-community/composition-api/commit/066766e4ed83934df409ca1d251a5fa8c148f52e"><code>066766e</code></a> chore: release v0.23.2</li> <li><a href="https://github.com/nuxt-community/composition-api/commit/596bda8e15603e9d7aadb20f53c853af0f095414"><code>596bda8</code></a> chore: upgrade <code>@vue/composition-api</code></li> <li><a href="https://github.com/nuxt-community/composition-api/commit/9d4165a3511ffeb2cf1e0584a303565b41b0f968"><code>9d4165a</code></a> fix: register composition api before middleware</li> <li><a href="https://github.com/nuxt-community/composition-api/commit/0aca79da278bcc046f1d50ed7666a418996ab8b0"><code>0aca79d</code></a> chore(deps): update devdependency eslint-plugin-prettier to ^3.4.0 (<a href="https://github-redirect.dependabot.com/nuxt-community/composition-api/issues/456">#456</a>)</li> <li><a href="https://github.com/nuxt-community/composition-api/commit/9f7bfaf9f8d7fc252af4e3230147a2faaf72598f"><code>9f7bfaf</code></a> chore(deps): update all non-major dependencies (<a href="https://github-redirect.dependabot.com/nuxt-community/composition-api/issues/452">#452</a>)</li> <li><a href="https://github.com/nuxt-community/composition-api/commit/5608c2f5215c873c27692f9a086597159a307037"><code>5608c2f</code></a> chore: release v0.23.1</li> <li><a href="https://github.com/nuxt-community/composition-api/commit/385bb73bab6cfbc06e4567fe3e314d1b6888f830"><code>385bb73</code></a> fix: use reactive rather than <code>Vue.observable</code> in <code>useFetch</code></li> <li><a href="https://github.com/nuxt-community/composition-api/commit/1e0fd4b1317eff698d499ee5040a3556f396e697"><code>1e0fd4b</code></a> test: test built module in CI</li> <li><a href="https://github.com/nuxt-community/composition-api/commit/a8d7d75a4b1131174dfd98001135720f5280764f"><code>a8d7d75</code></a> chore: release v0.23.0</li> <li><a href="https://github.com/nuxt-community/composition-api/commit/60d741664fa7f5701650441e01b5e829841aa0e5"><code>60d7416</code></a> chore: upgrade dev dependencies and clean lockfiles</li> <li>Additional commits viewable in <a href="https://github.com/nuxt-community/composition-api/compare/0.22.4...0.23.2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@nuxtjs/composition-api&package-manager=npm_and_yarn&previous-version=0.22.4&new-version=0.23.2)](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:05:45 +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#54