8000 [build] 7.0.1 · vuejs/vue-class-component@c5b899f · GitHub
[go: up one dir, main page]

Skip to content

Commit c5b899f

Browse files
committed
[build] 7.0.1
1 parent 9b0dbdf commit c5b899f

File tree

3 files changed

+16
-8
lines changed

3 files changed

+16
-8
lines changed

dist/vue-class-component.common.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* vue-class-component v6.3.2
2+
* vue-class-component v7.0.1
33
* (c) 2015-present Evan You
44
* @license MIT
55
*/
@@ -11,7 +11,10 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'defau
1111

1212
var Vue = _interopDefault(require('vue'));
1313

14-
var reflectionIsSupported = typeof Reflect !== 'undefined' && Reflect.defineMetadata;
14+
// The rational behind the verbose Reflect-feature check below is the fact that there are polyfills
15+
// which add an implementation for Reflect.defineMetadata but not for Reflect.getOwnMetadataKeys.
16+
// Without this check consumers will encounter hard to track down runtime errors.
17+
var reflectionIsSupported = typeof Reflect !== 'undefined' && Reflect.defineMetadata && Reflect.getOwnMetadataKeys;
1518
function copyReflectionMetadata(to, from) {
1619
forwardMetadata(to, from);
1720
Object.getOwnPropertyNames(from.prototype).forEach(function (key) {
@@ -129,7 +132,8 @@ var $internalHooks = [
129132
'activated',
130133
'deactivated',
131134
'render',
132-
'errorCaptured' // 2.5
135+
'errorCaptured',
136+
'serverPrefetch' // 2.6
133137
];
134138
function componentFactory(Component, options) {
135139
if (options === void 0) { options = {}; }

dist/vue-class-component.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* vue-class-component v6.3.2
2+
* vue-class-component v7.0.1
33
* (c) 2015-present Evan You
44
* @license MIT
55
*/
@@ -11,7 +11,10 @@
1111

1212
Vue = Vue && Vue.hasOwnProperty('default') ? Vue['default'] : Vue;
1313

14-
var reflectionIsSupported = typeof Reflect !== 'undefined' && Reflect.defineMetadata;
14+
// The rational behind the verbose Reflect-feature check below is the fact that there are polyfills
15+
// which add an implementation for Reflect.defineMetadata but not for Reflect.getOwnMetadataKeys.
16+
// Without this check consumers will encounter hard to track down runtime errors.
17+
var reflectionIsSupported = typeof Reflect !== 'undefined' && Reflect.defineMetadata && Reflect.getOwnMetadataKeys;
1518
function copyReflectionMetadata(to, from) {
1619
forwardMetadata(to, from);
1720
Object.getOwnPropertyNames(from.prototype).forEach(function (key) {
@@ -129,7 +132,8 @@
129132
'activated',
130133
'deactivated',
131134
'render',
132-
'errorCaptured' // 2.5
135+
'errorCaptured',
136+
'serverPrefetch' // 2.6
133137
];
134138
function componentFactory(Component, options) {
135139
if (options === void 0) { options = {}; }

dist/vue-class-component.min.js

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

0 commit comments

Comments
 (0)
0