ezobjects-mysql
Advanced tools
Comparing version 3.1.1 to 3.1.2
const docket = require(`docket-parser`); | ||
docket.title(`EZ Objects v3.1.1`); | ||
docket.title(`EZ Objects v3.1.2`); | ||
docket.linkClass(`text-success`); | ||
docket.parseFiles([`index.js`, `mysql-connection.js`]); | ||
docket.generateDocs(`docs`); |
10
index.js
@@ -98,5 +98,9 @@ /** | ||
Object.defineProperty(arr, 'origPush', { enumerable: false, value: arr.push }); | ||
Object.defineProperty(arr, 'origUnshift', { enumerable: false, value: arr.unshift }); | ||
Object.defineProperty(arr, 'origFill', { enumerable: false, value: arr.fill }); | ||
Object.defineProperty(arr, 'push', { | ||
enumerable: false, | ||
value: function (x) { const newArr = Array.from(this); newArr.push(x); this.splice(0, this.length); this.concat(setArrayTransform(newArr, property)); return this.length; } | ||
value: function () { for ( let i = 0, i_max = arguments.length; i < i_max; i++ ) this.origPush(setTransform(arguments[i], property)); return this.length; } | ||
}); | ||
@@ -106,3 +110,3 @@ | ||
enumerable: false, | ||
value: function (x) { const newArr = Array.from(this); newArr.unshift(x); this.splice(0, this.length); this.concat(setArrayTransform(newArr, property)); return this.length; } | ||
value: function () { for ( let i = 0, i_max = arguments.length; i < i_max; i++ ) this.origUnshift(setTransform(arguments[i], property)); return this.length; } | ||
}); | ||
@@ -112,3 +116,3 @@ | ||
enumerable: false, | ||
value: function (x, y, z) { const newArr = Array.from(this); newArr.fill(x, y, z); this.splice(0, this.length); this.concat(setArrayTransform(newArr, property)); return this.length; } | ||
value: function (value, start, end) { return this.origFill(setTransform(value, property), start, end); } | ||
}); | ||
@@ -115,0 +119,0 @@ |
{ | ||
"name": "ezobjects-mysql", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"description": "Easy dynamic object generation with optional MySQL table linking", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,2 +0,2 @@ | ||
# EZ Objects - MySQL Edition - v3.1.1 | ||
# EZ Objects - MySQL Edition - v3.1.2 | ||
@@ -3,0 +3,0 @@ EZ Objects (MySQL Edition) is a Node.js module (that can also be usefully browserify'd) that aims to save |
Sorry, the diff of this file is not supported yet
411327
2679