Skip to content

Commit

Permalink
[Release] 0.31.8
Browse files Browse the repository at this point in the history
  • Loading branch information
kiaking committed Apr 8, 2019
1 parent 6a96720 commit 1d12920
Show file tree
Hide file tree
Showing 5 changed files with 62 additions and 5 deletions.
21 changes: 20 additions & 1 deletion dist/vuex-orm.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ if (!Array.prototype.includes) {
return false;
};
}
if (!Object.values || !Object.entries) {
if (!Object.values || !Object.entries || !Object.assign) {
var reduce_1 = Function.bind.call(Function.call, Array.prototype.reduce);
var isEnumerable_1 = Function.bind.call(Function.call, Object.prototype.propertyIsEnumerable);
var concat_1 = Function.bind.call(Function.call, Array.prototype.concat);
Expand All @@ -54,6 +54,25 @@ if (!Object.values || !Object.entries) {
return reduce_1(keys_1(O), function (e, k) { return concat_1(e, typeof k === 'string' && isEnumerable_1(O, k) ? [[k, O[k]]] : []); }, []);
};
}
if (!Object.assign) {
Object.assign = function assign(target, _varArgs) {
if (target == null) {
throw new TypeError('Cannot convert undefined or null to object');
}
var to = Object(target);
for (var index = 1; index < arguments.length; index++) {
var nextSource = arguments[index];
if (nextSource != null) {
for (var nextKey in nextSource) {
if (Object.prototype.hasOwnProperty.call(nextSource, nextKey)) {
to[nextKey] = nextSource[nextKey];
}
}
}
}
return to;
};
}
}

var Container = /** @class */ (function () {
Expand Down
21 changes: 20 additions & 1 deletion dist/vuex-orm.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ if (!Array.prototype.includes) {
return false;
};
}
if (!Object.values || !Object.entries) {
if (!Object.values || !Object.entries || !Object.assign) {
var reduce_1 = Function.bind.call(Function.call, Array.prototype.reduce);
var isEnumerable_1 = Function.bind.call(Function.call, Object.prototype.propertyIsEnumerable);
var concat_1 = Function.bind.call(Function.call, Array.prototype.concat);
Expand All @@ -52,6 +52,25 @@ if (!Object.values || !Object.entries) {
return reduce_1(keys_1(O), function (e, k) { return concat_1(e, typeof k === 'string' && isEnumerable_1(O, k) ? [[k, O[k]]] : []); }, []);
};
}
if (!Object.assign) {
Object.assign = function assign(target, _varArgs) {
if (target == null) {
throw new TypeError('Cannot convert undefined or null to object');
}
var to = Object(target);
for (var index = 1; index < arguments.length; index++) {
var nextSource = arguments[index];
if (nextSource != null) {
for (var nextKey in nextSource) {
if (Object.prototype.hasOwnProperty.call(nextSource, nextKey)) {
to[nextKey] = nextSource[nextKey];
}
}
}
}
return to;
};
}
}

var Container = /** @class */ (function () {
Expand Down
21 changes: 20 additions & 1 deletion dist/vuex-orm.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
return false;
};
}
if (!Object.values || !Object.entries) {
if (!Object.values || !Object.entries || !Object.assign) {
var reduce_1 = Function.bind.call(Function.call, Array.prototype.reduce);
var isEnumerable_1 = Function.bind.call(Function.call, Object.prototype.propertyIsEnumerable);
var concat_1 = Function.bind.call(Function.call, Array.prototype.concat);
Expand All @@ -58,6 +58,25 @@
return reduce_1(keys_1(O), function (e, k) { return concat_1(e, typeof k === 'string' && isEnumerable_1(O, k) ? [[k, O[k]]] : []); }, []);
};
}
if (!Object.assign) {
Object.assign = function assign(target, _varArgs) {
if (target == null) {
throw new TypeError('Cannot convert undefined or null to object');
}
var to = Object(target);
for (var index = 1; index < arguments.length; index++) {
var nextSource = arguments[index];
if (nextSource != null) {
for (var nextKey in nextSource) {
if (Object.prototype.hasOwnProperty.call(nextSource, nextKey)) {
to[nextKey] = nextSource[nextKey];
}
}
}
}
return to;
};
}
}

var Container = /** @class */ (function () {
Expand Down
2 changes: 1 addition & 1 deletion dist/vuex-orm.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vuex-orm/core",
"version": "0.31.7",
"version": "0.31.8",
"description": "The Vuex plugin to enable Object-Relational Mapping access to the Vuex Store.",
"main": "dist/vuex-orm.common.js",
"module": "dist/vuex-orm.esm.js",
Expand Down

0 comments on commit 1d12920

Please sign in to comment.