Skip to content

Commit e9adc99

Browse files
committed
chore(release): 3.0.0-alpha.10
1 parent 1f22adb commit e9adc99

10 files changed

+34
-27
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [3.0.0-alpha.10](https://github.com/nuxt/vue-meta/compare/v3.0.0-alpha.9...v3.0.0-alpha.10) (2022-02-17)
6+
7+
8+
### Bug Fixes
9+
10+
* ssr types ([ef3b51a](https://github.com/nuxt/vue-meta/commit/ef3b51a74c824f929ed81e63549618a35d72f2fb))
11+
512
## [3.0.0-alpha.9](https://github.com/nuxt/vue-meta/compare/v3.0.0-alpha.8...v3.0.0-alpha.9) (2021-06-06)
613

714

dist/vue-meta.cjs.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
2-
* vue-meta v3.0.0-alpha.9
3-
* (c) 2021
2+
* vue-meta v3.0.0-alpha.10
3+
* (c) 2022
44
* - Pim (@pimlie)
55
* - All the amazing contributors
66
* @license MIT
@@ -961,7 +961,7 @@ const createMixin = options => ({
961961
}
962962
const metaInfo = instance.type[options.keyName];
963963
if (isFunction(metaInfo)) {
964-
const computedMetaInfo = vue.computed(metaInfo);
964+
const computedMetaInfo = vue.computed(metaInfo.bind(this));
965965
useMeta(computedMetaInfo);
966966
}
967967
else {

dist/vue-meta.cjs.prod.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
2-
* vue-meta v3.0.0-alpha.9
3-
* (c) 2021
2+
* vue-meta v3.0.0-alpha.10
3+
* (c) 2022
44
* - Pim (@pimlie)
55
* - All the amazing contributors
66
* @license MIT
@@ -941,7 +941,7 @@ const createMixin = options => ({
941941
}
942942
const metaInfo = instance.type[options.keyName];
943943
if (isFunction(metaInfo)) {
944-
const computedMetaInfo = vue.computed(metaInfo);
944+
const computedMetaInfo = vue.computed(metaInfo.bind(this));
945945
useMeta(computedMetaInfo);
946946
}
947947
else {

dist/vue-meta.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/**
2-
* vue-meta v3.0.0-alpha.9
3-
* (c) 2021
2+
* vue-meta v3.0.0-alpha.10
3+
* (c) 2022
44
* - Pim (@pimlie)
55
* - All the amazing contributors
66
* @license MIT
77
*/
88

9-
/// <reference path="ssr.d.ts" />
9+
/// <reference path="../ssr/index.d.ts" />
1010

11-
import { App, ComponentInternalInstance, Slots, VNode } from 'vue';
11+
import { App, ComponentInternalInstance, Slots, VNode, ComponentOptionsMixin } from 'vue';
1212

1313
declare const IS_PROXY: unique symbol;
1414
declare const PROXY_SOURCES: unique symbol;
@@ -166,7 +166,7 @@ interface ComponentMetaInfo {
166166
script?: (ScriptPropertyText | ScriptPropertySrc | ScriptPropertySrcCallback | ScriptPropertyJson)[];
167167
noscript?: NoScriptProperty[];
168168
}
169-
declare type ComponentOptionsMetaInfo = ComponentMetaInfo | (() => ComponentMetaInfo);
169+
declare type ComponentOptionsMetaInfo = ComponentMetaInfo | ((this: ComponentOptionsMixin) => ComponentMetaInfo);
170170

171171
declare type MetaConfigSectionKey = 'tag' | 'to' | 'keyAttribute' | 'valueAttribute' | 'nameless' | 'group' | 'namespaced' | 'namespacedAttribute' | 'attributesFor';
172172
interface MetaConfigSectionTag {

dist/vue-meta.esm-browser.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
2-
* vue-meta v3.0.0-alpha.9
3-
* (c) 2021
2+
* vue-meta v3.0.0-alpha.10
3+
* (c) 2022
44
* - Pim (@pimlie)
55
* - All the amazing contributors
66
* @license MIT
@@ -957,7 +957,7 @@ const createMixin = options => ({
957957
}
958958
const metaInfo = instance.type[options.keyName];
959959
if (isFunction(metaInfo)) {
960-
const computedMetaInfo = computed(metaInfo);
960+
const computedMetaInfo = computed(metaInfo.bind(this));
961961
useMeta(computedMetaInfo);
962962
}
963963
else {

dist/vue-meta.esm-browser.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vue-meta.esm-bundler.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
2-
* vue-meta v3.0.0-alpha.9
3-
* (c) 2021
2+
* vue-meta v3.0.0-alpha.10
3+
* (c) 2022
44
* - Pim (@pimlie)
55
* - All the amazing contributors
66
* @license MIT
@@ -957,7 +957,7 @@ const createMixin = options => ({
957957
}
958958
const metaInfo = instance.type[options.keyName];
959959
if (isFunction(metaInfo)) {
960-
const computedMetaInfo = computed(metaInfo);
960+
const computedMetaInfo = computed(metaInfo.bind(this));
961961
useMeta(computedMetaInfo);
962962
}
963963
else {

dist/vue-meta.global.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
2-
* vue-meta v3.0.0-alpha.9
3-
* (c) 2021
2+
* vue-meta v3.0.0-alpha.10
3+
* (c) 2022
44
* - Pim (@pimlie)
55
* - All the amazing contributors
66
* @license MIT
@@ -958,7 +958,7 @@ var VueMeta = (function (exports, vue) {
958958
}
959959
const metaInfo = instance.type[options.keyName];
960960
if (isFunction(metaInfo)) {
961-
const computedMetaInfo = vue.computed(metaInfo);
961+
const computedMetaInfo = vue.computed(metaInfo.bind(this));
962962
useMeta(computedMetaInfo);
963963
}
964964
else {

dist/vue-meta.global.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-meta",
3-
"version": "3.0.0-alpha.9",
3+
"version": "3.0.0-alpha.10",
44
"description": "Manage HTML metadata in Vue.js components with SSR support",
55
"main": "dist/vue-meta.cjs.js",
66
"browser": "dist/vue-meta.esm-browser.min.js",

0 commit comments

Comments
 (0)