[PR #54] [MERGED] Bump vue-meta from 1.6.0 to 2.3.1 #62

Closed
opened 2026-02-26 04:36:42 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/moollaza/repo-remover/pull/54
Author: @dependabot-preview[bot]
Created: 12/16/2019
Status: Merged
Merged: 12/19/2019
Merged by: @moollaza

Base: masterHead: dependabot/npm_and_yarn/vue-meta-2.3.1


📝 Commits (1)

  • 9ab8e4a Bump vue-meta from 1.6.0 to 2.3.1

📊 Changes

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

View changed files

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

📄 Description

Bumps vue-meta from 1.6.0 to 2.3.1.

Release notes

Sourced from vue-meta's releases.

v2.3.1

Bug Fixes

  • accept and pass options as second arg for generate (2ce5177)
  • still traverse children when metainfo doesnt return object (#469) (35b7099)
  • try to detect global mixins adding meta info (#467) (2231ec1)

v2.3.0

Highlights

Adding additional meta info

Example of adding additional meta info for eg a third party plugin:

const { set, remove } = app.$meta().addApp('custom')

set({
  meta: [{ charset: 'utf=8' }]
})

setTimeout(() => remove(), 3000)

There is no reactivity for custom apps. You need to take care of that and call set and remove when apropiate. If you call addApp.set on the client before the app is mounted, the tags will be processed on the first refresh. If you call set when the app is mounted they tags are immediately processed.

The function is called addApp because the added metaInfo is treated exactly the same as when there are multiple apps on one page. Eg the tags that will be added will also list the appId you specifiy:

<meta data-vue-meta="custom" charset="utf-8">

New SSR injector helpers

So templates can be a little less verbose:

Old: github.com/nuxt/vue-meta@fc71e1f1c4/examples/ssr/app.template.html
New: https://github.com/nuxt/vue-meta/blob/master/examples/ssr/app.template.html

Add line break (SSR only)

Pass either a boolean true to inject().head(true), inject().bodyPrepend(true) or inject().bodyAppend(true) to insert a linebreak after all tags.

If you want to keep using the old syntax, pass a prop ln: true as arg: meta.script.text({ body: true, ln: true })

Support setting attributes from multiple apps

The behaviour that vue-meta always adds data- attributes to track attributes on the client side has been changed. Instead of a data attribute we keep a local attributeMap object in the attribute updater which also adds support for updating attributes from multiple apps. To track this data from a ssr page, the data- tag is still added but with a JSON encoded map.

For example

</tr></table> ... (truncated)
Changelog

Sourced from vue-meta's changelog.

2.3.1 (2019-10-09)

Bug Fixes

  • accept and pass options as second arg for generate (2ce5177)
  • still traverse children when metainfo doesnt return object (#469) (35b7099)
  • try to detect global mixins adding meta info (#467) (2231ec1)

2.3.0 (2019-10-03)

2.3.0-beta.0 (2019-09-17)

Bug Fixes

  • use computed prop (which uses caching) instead of calling the fn directly (c344d60)

Features

  • add option waitOnDestroyed (f745059)
  • add options debounceWait (d43b77c)
  • add possibility to add additional meta info (0ab76ee)
  • add support for setting attributes from multiple apps (d9b0ab2)
  • enable setting refreshOnceOnNavigation during runtime (9d14387)

2.2.2 (2019-08-30)

Bug Fixes

  • workaround for memoryleak in destroyed hook (ec7b1fb)
  • types: add "content" property to MetaPropertyEquiv and remove "name" (#436) (4384f44)

2.2.1 (2019-08-04)

Bug Fixes

2.2.0 (2019-07-28)

Features

  • support generating tags directly from metaInfo object (cb2758e)
... (truncated)
Commits
  • 06295bf chore(release): 2.3.1
  • dae968b types: update types for v2.3
  • 2231ec1 fix: try to detect global mixins adding meta info (#467)
  • 35b7099 fix: still traverse children when metainfo doesnt return object (#469)
  • 7404953 chore: cleanup dependencies
  • 355e172 Revert "refactor: batch updates using requestIdleCallback, use setTimeout as ...
  • de0b560 chore: add missing dependency
  • af5cd3d docs: update docs for v2.3
  • eb0bdbe test: add options to generate test
  • 2ce5177 fix: accept and pass options as second arg for generate
  • 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.


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/moollaza/repo-remover/pull/54 **Author:** [@dependabot-preview[bot]](https://github.com/apps/dependabot-preview) **Created:** 12/16/2019 **Status:** ✅ Merged **Merged:** 12/19/2019 **Merged by:** [@moollaza](https://github.com/moollaza) **Base:** `master` ← **Head:** `dependabot/npm_and_yarn/vue-meta-2.3.1` --- ### 📝 Commits (1) - [`9ab8e4a`](https://github.com/moollaza/repo-remover/commit/9ab8e4a99d99616e3853ddb378bbbba59aa25f30) Bump vue-meta from 1.6.0 to 2.3.1 ### 📊 Changes **2 files changed** (+11 additions, -24 deletions) <details> <summary>View changed files</summary> 📝 `package.json` (+1 -1) 📝 `yarn.lock` (+10 -23) </details> ### 📄 Description Bumps [vue-meta](https://github.com/nuxt/vue-meta) from 1.6.0 to 2.3.1. <details> <summary>Release notes</summary> *Sourced from [vue-meta's releases](https://github.com/nuxt/vue-meta/releases).* > ## v2.3.1 > ### Bug Fixes > > * accept and pass options as second arg for generate ([2ce5177](https://github.com/nuxt/vue-meta/commit/2ce5177)) > * still traverse children when metainfo doesnt return object ([#469](https://github-redirect.dependabot.com/nuxt/vue-meta/issues/469)) ([35b7099](https://github.com/nuxt/vue-meta/commit/35b7099)) > * try to detect global mixins adding meta info ([#467](https://github-redirect.dependabot.com/nuxt/vue-meta/issues/467)) ([2231ec1](https://github.com/nuxt/vue-meta/commit/2231ec1)) > > ## v2.3.0 > # Highlights > > ## Adding additional meta info > > Example of adding additional meta info for eg a third party plugin: > > ```js > const { set, remove } = app.$meta().addApp('custom') > > set({ > meta: [{ charset: 'utf=8' }] > }) > > setTimeout(() => remove(), 3000) > ``` > > There is no reactivity for custom apps. You need to take care of that and call `set` and `remove` when apropiate. If you call `addApp.set` on the client before the app is mounted, the tags will be processed on the first refresh. If you call set when the app is mounted they tags are immediately processed. > > The function is called addApp because the added metaInfo is treated exactly the same as when there are multiple apps on one page. Eg the tags that will be added will also list the `appId` you specifiy: > ```html > <meta data-vue-meta="custom" charset="utf-8"> > ``` > > ## New SSR injector helpers > > So templates can be a little less verbose: > > Old: https://github.com/nuxt/vue-meta/blob/fc71e1f1c4ca27e2eaf99e288c005976d492c004/examples/ssr/app.template.html > New: https://github.com/nuxt/vue-meta/blob/master/examples/ssr/app.template.html > > ## Add line break (SSR only) > > Pass either a boolean `true` to `inject().head(true)`, `inject().bodyPrepend(true)` or `inject().bodyAppend(true)` to insert a linebreak after all tags. > > If you want to keep using the old syntax, pass a prop `ln: true` as arg: `meta.script.text({ body: true, ln: true })` > > ## Support setting attributes from multiple apps > > The behaviour that vue-meta always adds `data-` attributes to track attributes on the client side has been changed. Instead of a data attribute we keep a local attributeMap object in the attribute updater which also adds support for updating attributes from multiple apps. To track this data from a ssr page, the data- tag is still added but with a JSON encoded map. > > For example > ```js ></tr></table> ... (truncated) </details> <details> <summary>Changelog</summary> *Sourced from [vue-meta's changelog](https://github.com/nuxt/vue-meta/blob/master/CHANGELOG.md).* > ### [2.3.1](https://github.com/nuxt/vue-meta/compare/v2.3.0...v2.3.1) (2019-10-09) > > > ### Bug Fixes > > * accept and pass options as second arg for generate ([2ce5177](https://github.com/nuxt/vue-meta/commit/2ce5177)) > * still traverse children when metainfo doesnt return object ([#469](https://github-redirect.dependabot.com/nuxt/vue-meta/issues/469)) ([35b7099](https://github.com/nuxt/vue-meta/commit/35b7099)) > * try to detect global mixins adding meta info ([#467](https://github-redirect.dependabot.com/nuxt/vue-meta/issues/467)) ([2231ec1](https://github.com/nuxt/vue-meta/commit/2231ec1)) > > ## [2.3.0](https://github.com/nuxt/vue-meta/compare/v2.3.0-beta.0...v2.3.0) (2019-10-03) > > ## [2.3.0-beta.0](https://github.com/nuxt/vue-meta/compare/v2.2.2...v2.3.0-beta.0) (2019-09-17) > > > ### Bug Fixes > > * use computed prop (which uses caching) instead of calling the fn directly ([c344d60](https://github.com/nuxt/vue-meta/commit/c344d60)) > > > ### Features > > * add option waitOnDestroyed ([f745059](https://github.com/nuxt/vue-meta/commit/f745059)) > * add options debounceWait ([d43b77c](https://github.com/nuxt/vue-meta/commit/d43b77c)) > * add possibility to add additional meta info ([0ab76ee](https://github.com/nuxt/vue-meta/commit/0ab76ee)) > * add support for setting attributes from multiple apps ([d9b0ab2](https://github.com/nuxt/vue-meta/commit/d9b0ab2)) > * enable setting refreshOnceOnNavigation during runtime ([9d14387](https://github.com/nuxt/vue-meta/commit/9d14387)) > > ### [2.2.2](https://github.com/nuxt/vue-meta/compare/v2.2.1...v2.2.2) (2019-08-30) > > > ### Bug Fixes > > * workaround for memoryleak in destroyed hook ([ec7b1fb](https://github.com/nuxt/vue-meta/commit/ec7b1fb)) > * **types:** add "content" property to MetaPropertyEquiv and remove "name" ([#436](https://github-redirect.dependabot.com/nuxt/vue-meta/issues/436)) ([4384f44](https://github.com/nuxt/vue-meta/commit/4384f44)) > > ### [2.2.1](https://github.com/nuxt/vue-meta/compare/v2.2.0...v2.2.1) (2019-08-04) > > > ### Bug Fixes > > * dont assign to global console ([2c0c4c3](https://github.com/nuxt/vue-meta/commit/2c0c4c3)) > * meta content templates ([#429](https://github-redirect.dependabot.com/nuxt/vue-meta/issues/429)) ([6907f9a](https://github.com/nuxt/vue-meta/commit/6907f9a)) > > ## [2.2.0](https://github.com/nuxt/vue-meta/compare/v2.1.1...v2.2.0) (2019-07-28) > > > ### Features > > * support generating tags directly from metaInfo object ([cb2758e](https://github.com/nuxt/vue-meta/commit/cb2758e)) > ></tr></table> ... (truncated) </details> <details> <summary>Commits</summary> - [`06295bf`](https://github.com/nuxt/vue-meta/commit/06295bf9fb11527d22a1441ffa8ca56574dcd25c) chore(release): 2.3.1 - [`dae968b`](https://github.com/nuxt/vue-meta/commit/dae968bc8bc7874526e1334f4ce9aefde73699fd) types: update types for v2.3 - [`2231ec1`](https://github.com/nuxt/vue-meta/commit/2231ec1aa1e3a23c32983022c4cad6e4730251b0) fix: try to detect global mixins adding meta info ([#467](https://github-redirect.dependabot.com/nuxt/vue-meta/issues/467)) - [`35b7099`](https://github.com/nuxt/vue-meta/commit/35b7099a07d269326a26ee32c724dafbe516c548) fix: still traverse children when metainfo doesnt return object ([#469](https://github-redirect.dependabot.com/nuxt/vue-meta/issues/469)) - [`7404953`](https://github.com/nuxt/vue-meta/commit/740495317b837ae4a026480a5750d198162560b8) chore: cleanup dependencies - [`355e172`](https://github.com/nuxt/vue-meta/commit/355e172426602f53b112ba33cee3f241c49fa596) Revert "refactor: batch updates using requestIdleCallback, use setTimeout as ... - [`de0b560`](https://github.com/nuxt/vue-meta/commit/de0b5603273879eb777bf7682f708b79b7697033) chore: add missing dependency - [`af5cd3d`](https://github.com/nuxt/vue-meta/commit/af5cd3d2d6c20a61f76fb96103033b5ec19381d9) docs: update docs for v2.3 - [`eb0bdbe`](https://github.com/nuxt/vue-meta/commit/eb0bdbe79865fbeb2bf80605d3dcb92b296a1ad8) test: add options to generate test - [`2ce5177`](https://github.com/nuxt/vue-meta/commit/2ce5177ba42f4a2da1038147ff0c851fbc29192a) fix: accept and pass options as second arg for generate - Additional commits viewable in [compare view](https://github.com/nuxt/vue-meta/compare/v1.6.0...v2.3.1) </details> <br /> [![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=vue-meta&package-manager=npm_and_yarn&previous-version=1.6.0&new-version=2.3.1)](https://dependabot.com/compatibility-score.html?dependency-name=vue-meta&package-manager=npm_and_yarn&previous-version=1.6.0&new-version=2.3.1) 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-02-26 04:36:42 +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/repo-remover-moollaza#62
No description provided.