ezobjects
Advanced tools
Comparing version 5.3.1 to 5.3.2
const docket = require(`docket-parser`); | ||
docket.title(`EZ Objects v5.3.1`); | ||
docket.title(`EZ Objects v5.3.2`); | ||
docket.linkClass(`text-success`); | ||
docket.parseFiles([`index.js`]); | ||
docket.generateDocs(`docs`); |
10
index.js
@@ -90,5 +90,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; } | ||
}); | ||
@@ -98,3 +102,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; } | ||
}); | ||
@@ -104,3 +108,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); } | ||
}); | ||
@@ -107,0 +111,0 @@ |
{ | ||
"name": "ezobjects", | ||
"version": "5.3.1", | ||
"version": "5.3.2", | ||
"description": "Easy Auto-Generated Strictly-Typed JavaScript Class Objects", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,2 +0,2 @@ | ||
# EZ Objects v5.3.1 | ||
# EZ Objects v5.3.2 | ||
@@ -3,0 +3,0 @@ EZ Objects is a Node.js module (that can also be usefully browserify'd) that aims to save you lots of time |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
340429
1594