Skip to content

Commit ba008c9

Browse files
committed
Stable Version 1.4.3
1 parent 385da77 commit ba008c9

File tree

2 files changed

+23
-47
lines changed

2 files changed

+23
-47
lines changed

dist/js-data-adapter-tests.js

Lines changed: 22 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ return /******/ (function(modules) { // webpackBootstrap
5656

5757
'use strict';
5858

59-
function _typeof(obj) { return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj; }
59+
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };
6060

6161
__webpack_require__(1);
6262

@@ -95,7 +95,7 @@ return /******/ (function(modules) { // webpackBootstrap
9595
hasMany: {
9696
post: {
9797
localField: 'posts',
98-
foreignKey: 'post'
98+
foreignKey: 'userId'
9999
}
100100
},
101101
hasOne: {
@@ -7600,6 +7600,8 @@ return /******/ (function(modules) { // webpackBootstrap
76007600
*/
76017601
/* eslint-disable no-proto */
76027602

7603+
'use strict'
7604+
76037605
var base64 = __webpack_require__(218)
76047606
var ieee754 = __webpack_require__(219)
76057607
var isArray = __webpack_require__(220)
@@ -7682,8 +7684,10 @@ return /******/ (function(modules) { // webpackBootstrap
76827684
return new Buffer(arg)
76837685
}
76847686

7685-
this.length = 0
7686-
this.parent = undefined
7687+
if (!Buffer.TYPED_ARRAY_SUPPORT) {
7688+
this.length = 0
7689+
this.parent = undefined
7690+
}
76877691

76887692
// Common case.
76897693
if (typeof arg === 'number') {
@@ -7814,6 +7818,10 @@ return /******/ (function(modules) { // webpackBootstrap
78147818
if (Buffer.TYPED_ARRAY_SUPPORT) {
78157819
Buffer.prototype.__proto__ = Uint8Array.prototype
78167820
Buffer.__proto__ = Uint8Array
7821+
} else {
7822+
// pre-set for values that may exist in the future
7823+
Buffer.prototype.length = undefined
7824+
Buffer.prototype.parent = undefined
78177825
}
78187826

78197827
function allocate (that, length) {
@@ -7964,10 +7972,6 @@ return /******/ (function(modules) { // webpackBootstrap
79647972
}
79657973
Buffer.byteLength = byteLength
79667974

7967-
// pre-set for values that may exist in the future
7968-
Buffer.prototype.length = undefined
7969-
Buffer.prototype.parent = undefined
7970-
79717975
function slowToString (encoding, start, end) {
79727976
var loweredCase = false
79737977

@@ -9363,38 +9367,10 @@ return /******/ (function(modules) { // webpackBootstrap
93639367
/* 220 */
93649368
/***/ function(module, exports) {
93659369

9366-
9367-
/**
9368-
* isArray
9369-
*/
9370-
9371-
var isArray = Array.isArray;
9372-
9373-
/**
9374-
* toString
9375-
*/
9376-
9377-
var str = Object.prototype.toString;
9378-
9379-
/**
9380-
* Whether or not the given `val`
9381-
* is an array.
9382-
*
9383-
* example:
9384-
*
9385-
* isArray([]);
9386-
* // > true
9387-
* isArray(arguments);
9388-
* // > false
9389-
* isArray('');
9390-
* // > false
9391-
*
9392-
* @param {mixed} val
9393-
* @return {bool}
9394-
*/
9370+
var toString = {}.toString;
93959371

9396-
module.exports = isArray || function (val) {
9397-
return !! val && '[object Array]' == str.call(val);
9372+
module.exports = Array.isArray || function (arr) {
9373+
return toString.call(arr) == '[object Array]';
93989374
};
93999375

94009376

@@ -13689,7 +13665,7 @@ return /******/ (function(modules) { // webpackBootstrap
1368913665

1369013666
'use strict';
1369113667

13692-
function _typeof(obj) { return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj; }
13668+
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };
1369313669

1369413670
module.exports = function (options) {
1369513671
describe('Adapter#create', function () {
@@ -13773,7 +13749,7 @@ return /******/ (function(modules) { // webpackBootstrap
1377313749

1377413750
'use strict';
1377513751

13776-
function _typeof(obj) { return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj; }
13752+
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };
1377713753

1377813754
module.exports = function (options) {
1377913755
describe('Adapter#find', function () {
@@ -14005,7 +13981,7 @@ return /******/ (function(modules) { // webpackBootstrap
1400513981

1400613982
'use strict';
1400713983

14008-
function _typeof(obj) { return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj; }
13984+
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };
1400913985

1401013986
module.exports = function (options) {
1401113987
describe('Adapter#findAll', function () {
@@ -14544,7 +14520,7 @@ return /******/ (function(modules) { // webpackBootstrap
1454414520

1454514521
'use strict';
1454614522

14547-
function _typeof(obj) { return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj; }
14523+
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };
1454814524

1454914525
module.exports = function (options) {
1455014526
describe('Adapter#destroy', function () {
@@ -14613,7 +14589,7 @@ return /******/ (function(modules) { // webpackBootstrap
1461314589

1461414590
'use strict';
1461514591

14616-
function _typeof(obj) { return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj; }
14592+
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };
1461714593

1461814594
module.exports = function (options) {
1461914595
describe('Adapter#destroyAll', function () {
@@ -14683,7 +14659,7 @@ return /******/ (function(modules) { // webpackBootstrap
1468314659

1468414660
'use strict';
1468514661

14686-
function _typeof(obj) { return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj; }
14662+
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };
1468714663

1468814664
module.exports = function (options) {
1468914665
describe('Adapter#update', function () {
@@ -14789,7 +14765,7 @@ return /******/ (function(modules) { // webpackBootstrap
1478914765

1479014766
'use strict';
1479114767

14792-
function _typeof(obj) { return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj; }
14768+
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };
1479314769

1479414770
module.exports = function (options) {
1479514771
describe('Adapter#updateAll', function () {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "js-data-adapter-tests",
33
"description": "Tests for js-data adapters.",
4-
"version": "1.4.2",
4+
"version": "1.4.3",
55
"homepage": "http://www.js-data.io",
66
"repository": {
77
"type": "git",

0 commit comments

Comments
 (0)