qtools-functional-library 2.0.1 → 2.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -94,6 +94,7 @@ EG,
94
94
 
95
95
  ### **Output:**
96
96
 
97
+ 2.0.3 - fixed old error where qtFirst() did not work at all.
97
98
  1.1.16 - fixed bug where intermediate path element could be undefined and cause a crash.
98
99
 
99
100
  ### **Other Cool Qtools**
@@ -109,7 +109,7 @@ var moduleFunction = function(args = {}) {
109
109
  const supportedTypeList = [Array];
110
110
 
111
111
  const method = () =>
112
- function(value) {
112
+ function(defaultValue) {
113
113
  const inData = this;
114
114
  if (typeof inData.length == 'undefined') {
115
115
  throw 'array.qtFirst(defaultValue=undefined) works for Arrays only';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qtools-functional-library",
3
- "version": "2.0.1",
3
+ "version": "2.0.4",
4
4
  "description": "Useful additions to JS prototypes to facilliate chainable, functional (mostly) style. Also make life more convenient.\"",
5
5
  "main": "qtools-functional-library.js",
6
6
  "scripts": {