summaryrefslogtreecommitdiff
path: root/node_modules/locutus/php/var
diff options
context:
space:
mode:
authorMarvin Borner2018-11-07 22:10:16 +0100
committerMarvin Borner2018-11-07 22:10:17 +0100
commit954583f3d56fbfb60321725f13ad092e536e3737 (patch)
treea0505a763797582c61fd8c2f90b422456d8874c9 /node_modules/locutus/php/var
parent1c355e6e956a4e507ed5436d0c814ba9c3a1deb2 (diff)
Removed node_modules
Diffstat (limited to 'node_modules/locutus/php/var')
-rw-r--r--node_modules/locutus/php/var/boolval.js50
-rw-r--r--node_modules/locutus/php/var/boolval.js.map1
-rw-r--r--node_modules/locutus/php/var/doubleval.js15
-rw-r--r--node_modules/locutus/php/var/doubleval.js.map1
-rw-r--r--node_modules/locutus/php/var/empty.js50
-rw-r--r--node_modules/locutus/php/var/empty.js.map1
-rw-r--r--node_modules/locutus/php/var/floatval.js17
-rw-r--r--node_modules/locutus/php/var/floatval.js.map1
-rw-r--r--node_modules/locutus/php/var/gettype.js69
-rw-r--r--node_modules/locutus/php/var/gettype.js.map1
-rw-r--r--node_modules/locutus/php/var/index.js33
-rw-r--r--node_modules/locutus/php/var/index.js.map1
-rw-r--r--node_modules/locutus/php/var/intval.js49
-rw-r--r--node_modules/locutus/php/var/intval.js.map1
-rw-r--r--node_modules/locutus/php/var/is_array.js98
-rw-r--r--node_modules/locutus/php/var/is_array.js.map1
-rw-r--r--node_modules/locutus/php/var/is_binary.js12
-rw-r--r--node_modules/locutus/php/var/is_binary.js.map1
-rw-r--r--node_modules/locutus/php/var/is_bool.js15
-rw-r--r--node_modules/locutus/php/var/is_bool.js.map1
-rw-r--r--node_modules/locutus/php/var/is_buffer.js12
-rw-r--r--node_modules/locutus/php/var/is_buffer.js.map1
-rw-r--r--node_modules/locutus/php/var/is_callable.js84
-rw-r--r--node_modules/locutus/php/var/is_callable.js.map1
-rw-r--r--node_modules/locutus/php/var/is_double.js15
-rw-r--r--node_modules/locutus/php/var/is_double.js.map1
-rw-r--r--node_modules/locutus/php/var/is_float.js17
-rw-r--r--node_modules/locutus/php/var/is_float.js.map1
-rw-r--r--node_modules/locutus/php/var/is_int.js25
-rw-r--r--node_modules/locutus/php/var/is_int.js.map1
-rw-r--r--node_modules/locutus/php/var/is_integer.js17
-rw-r--r--node_modules/locutus/php/var/is_integer.js.map1
-rw-r--r--node_modules/locutus/php/var/is_long.js15
-rw-r--r--node_modules/locutus/php/var/is_long.js.map1
-rw-r--r--node_modules/locutus/php/var/is_null.js14
-rw-r--r--node_modules/locutus/php/var/is_null.js.map1
-rw-r--r--node_modules/locutus/php/var/is_numeric.js31
-rw-r--r--node_modules/locutus/php/var/is_numeric.js.map1
-rw-r--r--node_modules/locutus/php/var/is_object.js23
-rw-r--r--node_modules/locutus/php/var/is_object.js.map1
-rw-r--r--node_modules/locutus/php/var/is_real.js15
-rw-r--r--node_modules/locutus/php/var/is_real.js.map1
-rw-r--r--node_modules/locutus/php/var/is_scalar.js17
-rw-r--r--node_modules/locutus/php/var/is_scalar.js.map1
-rw-r--r--node_modules/locutus/php/var/is_string.js14
-rw-r--r--node_modules/locutus/php/var/is_string.js.map1
-rw-r--r--node_modules/locutus/php/var/is_unicode.js39
-rw-r--r--node_modules/locutus/php/var/is_unicode.js.map1
-rw-r--r--node_modules/locutus/php/var/isset.js32
-rw-r--r--node_modules/locutus/php/var/isset.js.map1
-rw-r--r--node_modules/locutus/php/var/print_r.js75
-rw-r--r--node_modules/locutus/php/var/print_r.js.map1
-rw-r--r--node_modules/locutus/php/var/serialize.js128
-rw-r--r--node_modules/locutus/php/var/serialize.js.map1
-rw-r--r--node_modules/locutus/php/var/strval.js36
-rw-r--r--node_modules/locutus/php/var/strval.js.map1
-rw-r--r--node_modules/locutus/php/var/unserialize.js204
-rw-r--r--node_modules/locutus/php/var/unserialize.js.map1
-rw-r--r--node_modules/locutus/php/var/var_dump.js173
-rw-r--r--node_modules/locutus/php/var/var_dump.js.map1
-rw-r--r--node_modules/locutus/php/var/var_export.js121
-rw-r--r--node_modules/locutus/php/var/var_export.js.map1
62 files changed, 0 insertions, 1546 deletions
diff --git a/node_modules/locutus/php/var/boolval.js b/node_modules/locutus/php/var/boolval.js
deleted file mode 100644
index 7ff228a..0000000
--- a/node_modules/locutus/php/var/boolval.js
+++ /dev/null
@@ -1,50 +0,0 @@
-'use strict';
-
-module.exports = function boolval(mixedVar) {
- // original by: Will Rowe
- // example 1: boolval(true)
- // returns 1: true
- // example 2: boolval(false)
- // returns 2: false
- // example 3: boolval(0)
- // returns 3: false
- // example 4: boolval(0.0)
- // returns 4: false
- // example 5: boolval('')
- // returns 5: false
- // example 6: boolval('0')
- // returns 6: false
- // example 7: boolval([])
- // returns 7: false
- // example 8: boolval('')
- // returns 8: false
- // example 9: boolval(null)
- // returns 9: false
- // example 10: boolval(undefined)
- // returns 10: false
- // example 11: boolval('true')
- // returns 11: true
-
- if (mixedVar === false) {
- return false;
- }
-
- if (mixedVar === 0 || mixedVar === 0.0) {
- return false;
- }
-
- if (mixedVar === '' || mixedVar === '0') {
- return false;
- }
-
- if (Array.isArray(mixedVar) && mixedVar.length === 0) {
- return false;
- }
-
- if (mixedVar === null || mixedVar === undefined) {
- return false;
- }
-
- return true;
-};
-//# sourceMappingURL=boolval.js.map \ No newline at end of file
diff --git a/node_modules/locutus/php/var/boolval.js.map b/node_modules/locutus/php/var/boolval.js.map
deleted file mode 100644
index 2853855..0000000
--- a/node_modules/locutus/php/var/boolval.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["../../../src/php/var/boolval.js"],"names":["module","exports","boolval","mixedVar","Array","isArray","length","undefined"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,OAAT,CAAkBC,QAAlB,EAA4B;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAIA,aAAa,KAAjB,EAAwB;AACtB,WAAO,KAAP;AACD;;AAED,MAAIA,aAAa,CAAb,IAAkBA,aAAa,GAAnC,EAAwC;AACtC,WAAO,KAAP;AACD;;AAED,MAAIA,aAAa,EAAb,IAAmBA,aAAa,GAApC,EAAyC;AACvC,WAAO,KAAP;AACD;;AAED,MAAIC,MAAMC,OAAN,CAAcF,QAAd,KAA2BA,SAASG,MAAT,KAAoB,CAAnD,EAAsD;AACpD,WAAO,KAAP;AACD;;AAED,MAAIH,aAAa,IAAb,IAAqBA,aAAaI,SAAtC,EAAiD;AAC/C,WAAO,KAAP;AACD;;AAED,SAAO,IAAP;AACD,CA9CD","file":"boolval.js","sourcesContent":["module.exports = function boolval (mixedVar) {\n // original by: Will Rowe\n // example 1: boolval(true)\n // returns 1: true\n // example 2: boolval(false)\n // returns 2: false\n // example 3: boolval(0)\n // returns 3: false\n // example 4: boolval(0.0)\n // returns 4: false\n // example 5: boolval('')\n // returns 5: false\n // example 6: boolval('0')\n // returns 6: false\n // example 7: boolval([])\n // returns 7: false\n // example 8: boolval('')\n // returns 8: false\n // example 9: boolval(null)\n // returns 9: false\n // example 10: boolval(undefined)\n // returns 10: false\n // example 11: boolval('true')\n // returns 11: true\n\n if (mixedVar === false) {\n return false\n }\n\n if (mixedVar === 0 || mixedVar === 0.0) {\n return false\n }\n\n if (mixedVar === '' || mixedVar === '0') {\n return false\n }\n\n if (Array.isArray(mixedVar) && mixedVar.length === 0) {\n return false\n }\n\n if (mixedVar === null || mixedVar === undefined) {\n return false\n }\n\n return true\n}\n"]} \ No newline at end of file
diff --git a/node_modules/locutus/php/var/doubleval.js b/node_modules/locutus/php/var/doubleval.js
deleted file mode 100644
index 77e974b..0000000
--- a/node_modules/locutus/php/var/doubleval.js
+++ /dev/null
@@ -1,15 +0,0 @@
-'use strict';
-
-module.exports = function doubleval(mixedVar) {
- // discuss at: http://locutus.io/php/doubleval/
- // original by: Brett Zamir (http://brett-zamir.me)
- // note 1: 1.0 is simplified to 1 before it can be accessed by the function, this makes
- // note 1: it different from the PHP implementation. We can't fix this unfortunately.
- // example 1: doubleval(186)
- // returns 1: 186.00
-
- var floatval = require('../var/floatval');
-
- return floatval(mixedVar);
-};
-//# sourceMappingURL=doubleval.js.map \ No newline at end of file
diff --git a/node_modules/locutus/php/var/doubleval.js.map b/node_modules/locutus/php/var/doubleval.js.map
deleted file mode 100644
index 4339e8e..0000000
--- a/node_modules/locutus/php/var/doubleval.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["../../../src/php/var/doubleval.js"],"names":["module","exports","doubleval","mixedVar","floatval","require"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,SAAT,CAAoBC,QAApB,EAA8B;AAC7C;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAIC,WAAWC,QAAQ,iBAAR,CAAf;;AAEA,SAAOD,SAASD,QAAT,CAAP;AACD,CAXD","file":"doubleval.js","sourcesContent":["module.exports = function doubleval (mixedVar) {\n // discuss at: http://locutus.io/php/doubleval/\n // original by: Brett Zamir (http://brett-zamir.me)\n // note 1: 1.0 is simplified to 1 before it can be accessed by the function, this makes\n // note 1: it different from the PHP implementation. We can't fix this unfortunately.\n // example 1: doubleval(186)\n // returns 1: 186.00\n\n var floatval = require('../var/floatval')\n\n return floatval(mixedVar)\n}\n"]} \ No newline at end of file
diff --git a/node_modules/locutus/php/var/empty.js b/node_modules/locutus/php/var/empty.js
deleted file mode 100644
index 654a41a..0000000
--- a/node_modules/locutus/php/var/empty.js
+++ /dev/null
@@ -1,50 +0,0 @@
-'use strict';
-
-var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
-
-module.exports = function empty(mixedVar) {
- // discuss at: http://locutus.io/php/empty/
- // original by: Philippe Baumann
- // input by: Onno Marsman (https://twitter.com/onnomarsman)
- // input by: LH
- // input by: Stoyan Kyosev (http://www.svest.org/)
- // bugfixed by: Kevin van Zonneveld (http://kvz.io)
- // improved by: Onno Marsman (https://twitter.com/onnomarsman)
- // improved by: Francesco
- // improved by: Marc Jansen
- // improved by: Rafał Kukawski (http://blog.kukawski.pl)
- // example 1: empty(null)
- // returns 1: true
- // example 2: empty(undefined)
- // returns 2: true
- // example 3: empty([])
- // returns 3: true
- // example 4: empty({})
- // returns 4: true
- // example 5: empty({'aFunc' : function () { alert('humpty'); } })
- // returns 5: false
-
- var undef;
- var key;
- var i;
- var len;
- var emptyValues = [undef, null, false, 0, '', '0'];
-
- for (i = 0, len = emptyValues.length; i < len; i++) {
- if (mixedVar === emptyValues[i]) {
- return true;
- }
- }
-
- if ((typeof mixedVar === 'undefined' ? 'undefined' : _typeof(mixedVar)) === 'object') {
- for (key in mixedVar) {
- if (mixedVar.hasOwnProperty(key)) {
- return false;
- }
- }
- return true;
- }
-
- return false;
-};
-//# sourceMappingURL=empty.js.map \ No newline at end of file
diff --git a/node_modules/locutus/php/var/empty.js.map b/node_modules/locutus/php/var/empty.js.map
deleted file mode 100644
index 4bf3b0f..0000000
--- a/node_modules/locutus/php/var/empty.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["../../../src/php/var/empty.js"],"names":["module","exports","empty","mixedVar","undef","key","i","len","emptyValues","length","hasOwnProperty"],"mappings":";;;;AAAAA,OAAOC,OAAP,GAAiB,SAASC,KAAT,CAAgBC,QAAhB,EAA0B;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAIC,KAAJ;AACA,MAAIC,GAAJ;AACA,MAAIC,CAAJ;AACA,MAAIC,GAAJ;AACA,MAAIC,cAAc,CAACJ,KAAD,EAAQ,IAAR,EAAc,KAAd,EAAqB,CAArB,EAAwB,EAAxB,EAA4B,GAA5B,CAAlB;;AAEA,OAAKE,IAAI,CAAJ,EAAOC,MAAMC,YAAYC,MAA9B,EAAsCH,IAAIC,GAA1C,EAA+CD,GAA/C,EAAoD;AAClD,QAAIH,aAAaK,YAAYF,CAAZ,CAAjB,EAAiC;AAC/B,aAAO,IAAP;AACD;AACF;;AAED,MAAI,QAAOH,QAAP,yCAAOA,QAAP,OAAoB,QAAxB,EAAkC;AAChC,SAAKE,GAAL,IAAYF,QAAZ,EAAsB;AACpB,UAAIA,SAASO,cAAT,CAAwBL,GAAxB,CAAJ,EAAkC;AAChC,eAAO,KAAP;AACD;AACF;AACD,WAAO,IAAP;AACD;;AAED,SAAO,KAAP;AACD,CA5CD","file":"empty.js","sourcesContent":["module.exports = function empty (mixedVar) {\n // discuss at: http://locutus.io/php/empty/\n // original by: Philippe Baumann\n // input by: Onno Marsman (https://twitter.com/onnomarsman)\n // input by: LH\n // input by: Stoyan Kyosev (http://www.svest.org/)\n // bugfixed by: Kevin van Zonneveld (http://kvz.io)\n // improved by: Onno Marsman (https://twitter.com/onnomarsman)\n // improved by: Francesco\n // improved by: Marc Jansen\n // improved by: Rafał Kukawski (http://blog.kukawski.pl)\n // example 1: empty(null)\n // returns 1: true\n // example 2: empty(undefined)\n // returns 2: true\n // example 3: empty([])\n // returns 3: true\n // example 4: empty({})\n // returns 4: true\n // example 5: empty({'aFunc' : function () { alert('humpty'); } })\n // returns 5: false\n\n var undef\n var key\n var i\n var len\n var emptyValues = [undef, null, false, 0, '', '0']\n\n for (i = 0, len = emptyValues.length; i < len; i++) {\n if (mixedVar === emptyValues[i]) {\n return true\n }\n }\n\n if (typeof mixedVar === 'object') {\n for (key in mixedVar) {\n if (mixedVar.hasOwnProperty(key)) {\n return false\n }\n }\n return true\n }\n\n return false\n}\n"]} \ No newline at end of file
diff --git a/node_modules/locutus/php/var/floatval.js b/node_modules/locutus/php/var/floatval.js
deleted file mode 100644
index 247fac6..0000000
--- a/node_modules/locutus/php/var/floatval.js
+++ /dev/null
@@ -1,17 +0,0 @@
-"use strict";
-
-module.exports = function floatval(mixedVar) {
- // discuss at: http://locutus.io/php/floatval/
- // original by: Michael White (http://getsprink.com)
- // note 1: The native parseFloat() method of JavaScript returns NaN
- // note 1: when it encounters a string before an int or float value.
- // example 1: floatval('150.03_page-section')
- // returns 1: 150.03
- // example 2: floatval('page: 3')
- // example 2: floatval('-50 + 8')
- // returns 2: 0
- // returns 2: -50
-
- return parseFloat(mixedVar) || 0;
-};
-//# sourceMappingURL=floatval.js.map \ No newline at end of file
diff --git a/node_modules/locutus/php/var/floatval.js.map b/node_modules/locutus/php/var/floatval.js.map
deleted file mode 100644
index cd67f57..0000000
--- a/node_modules/locutus/php/var/floatval.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["../../../src/php/var/floatval.js"],"names":["module","exports","floatval","mixedVar","parseFloat"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,QAAT,CAAmBC,QAAnB,EAA6B;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAAQC,WAAWD,QAAX,KAAwB,CAAhC;AACD,CAbD","file":"floatval.js","sourcesContent":["module.exports = function floatval (mixedVar) {\n // discuss at: http://locutus.io/php/floatval/\n // original by: Michael White (http://getsprink.com)\n // note 1: The native parseFloat() method of JavaScript returns NaN\n // note 1: when it encounters a string before an int or float value.\n // example 1: floatval('150.03_page-section')\n // returns 1: 150.03\n // example 2: floatval('page: 3')\n // example 2: floatval('-50 + 8')\n // returns 2: 0\n // returns 2: -50\n\n return (parseFloat(mixedVar) || 0)\n}\n"]} \ No newline at end of file
diff --git a/node_modules/locutus/php/var/gettype.js b/node_modules/locutus/php/var/gettype.js
deleted file mode 100644
index 3e68299..0000000
--- a/node_modules/locutus/php/var/gettype.js
+++ /dev/null
@@ -1,69 +0,0 @@
-'use strict';
-
-var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
-
-module.exports = function gettype(mixedVar) {
- // discuss at: http://locutus.io/php/gettype/
- // original by: Paulo Freitas
- // improved by: Kevin van Zonneveld (http://kvz.io)
- // improved by: Douglas Crockford (http://javascript.crockford.com)
- // improved by: Brett Zamir (http://brett-zamir.me)
- // input by: KELAN
- // note 1: 1.0 is simplified to 1 before it can be accessed by the function, this makes
- // note 1: it different from the PHP implementation. We can't fix this unfortunately.
- // example 1: gettype(1)
- // returns 1: 'integer'
- // example 2: gettype(undefined)
- // returns 2: 'undefined'
- // example 3: gettype({0: 'Kevin van Zonneveld'})
- // returns 3: 'object'
- // example 4: gettype('foo')
- // returns 4: 'string'
- // example 5: gettype({0: function () {return false;}})
- // returns 5: 'object'
- // example 6: gettype({0: 'test', length: 1, splice: function () {}})
- // returns 6: 'object'
- // example 7: gettype(['test'])
- // returns 7: 'array'
-
- var isFloat = require('../var/is_float');
-
- var s = typeof mixedVar === 'undefined' ? 'undefined' : _typeof(mixedVar);
- var name;
- var _getFuncName = function _getFuncName(fn) {
- var name = /\W*function\s+([\w$]+)\s*\(/.exec(fn);
- if (!name) {
- return '(Anonymous)';
- }
- return name[1];
- };
-
- if (s === 'object') {
- if (mixedVar !== null) {
- // From: http://javascript.crockford.com/remedial.html
- // @todo: Break up this lengthy if statement
- if (typeof mixedVar.length === 'number' && !mixedVar.propertyIsEnumerable('length') && typeof mixedVar.splice === 'function') {
- s = 'array';
- } else if (mixedVar.constructor && _getFuncName(mixedVar.constructor)) {
- name = _getFuncName(mixedVar.constructor);
- if (name === 'Date') {
- // not in PHP
- s = 'date';
- } else if (name === 'RegExp') {
- // not in PHP
- s = 'regexp';
- } else if (name === 'LOCUTUS_Resource') {
- // Check against our own resource constructor
- s = 'resource';
- }
- }
- } else {
- s = 'null';
- }
- } else if (s === 'number') {
- s = isFloat(mixedVar) ? 'double' : 'integer';
- }
-
- return s;
-};
-//# sourceMappingURL=gettype.js.map \ No newline at end of file
diff --git a/node_modules/locutus/php/var/gettype.js.map b/node_modules/locutus/php/var/gettype.js.map
deleted file mode 100644
index b932c49..0000000
--- a/node_modules/locutus/php/var/gettype.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["../../../src/php/var/gettype.js"],"names":["module","exports","gettype","mixedVar","isFloat","require","s","name","_getFuncName","fn","exec","length","propertyIsEnumerable","splice","constructor"],"mappings":";;;;AAAAA,OAAOC,OAAP,GAAiB,SAASC,OAAT,CAAkBC,QAAlB,EAA4B;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAIC,UAAUC,QAAQ,iBAAR,CAAd;;AAEA,MAAIC,WAAWH,QAAX,yCAAWA,QAAX,CAAJ;AACA,MAAII,IAAJ;AACA,MAAIC,eAAe,SAAfA,YAAe,CAAUC,EAAV,EAAc;AAC/B,QAAIF,OAAQ,6BAAD,CAAgCG,IAAhC,CAAqCD,EAArC,CAAX;AACA,QAAI,CAACF,IAAL,EAAW;AACT,aAAO,aAAP;AACD;AACD,WAAOA,KAAK,CAAL,CAAP;AACD,GAND;;AAQA,MAAID,MAAM,QAAV,EAAoB;AAClB,QAAIH,aAAa,IAAjB,EAAuB;AACrB;AACA;AACA,UAAI,OAAOA,SAASQ,MAAhB,KAA2B,QAA3B,IACF,CAAER,SAASS,oBAAT,CAA8B,QAA9B,CADA,IAEF,OAAOT,SAASU,MAAhB,KAA2B,UAF7B,EAEyC;AACvCP,YAAI,OAAJ;AACD,OAJD,MAIO,IAAIH,SAASW,WAAT,IAAwBN,aAAaL,SAASW,WAAtB,CAA5B,EAAgE;AACrEP,eAAOC,aAAaL,SAASW,WAAtB,CAAP;AACA,YAAIP,SAAS,MAAb,EAAqB;AACnB;AACAD,cAAI,MAAJ;AACD,SAHD,MAGO,IAAIC,SAAS,QAAb,EAAuB;AAC5B;AACAD,cAAI,QAAJ;AACD,SAHM,MAGA,IAAIC,SAAS,kBAAb,EAAiC;AACtC;AACAD,cAAI,UAAJ;AACD;AACF;AACF,KApBD,MAoBO;AACLA,UAAI,MAAJ;AACD;AACF,GAxBD,MAwBO,IAAIA,MAAM,QAAV,EAAoB;AACzBA,QAAIF,QAAQD,QAAR,IAAoB,QAApB,GAA+B,SAAnC;AACD;;AAED,SAAOG,CAAP;AACD,CAjED","file":"gettype.js","sourcesContent":["module.exports = function gettype (mixedVar) {\n // discuss at: http://locutus.io/php/gettype/\n // original by: Paulo Freitas\n // improved by: Kevin van Zonneveld (http://kvz.io)\n // improved by: Douglas Crockford (http://javascript.crockford.com)\n // improved by: Brett Zamir (http://brett-zamir.me)\n // input by: KELAN\n // note 1: 1.0 is simplified to 1 before it can be accessed by the function, this makes\n // note 1: it different from the PHP implementation. We can't fix this unfortunately.\n // example 1: gettype(1)\n // returns 1: 'integer'\n // example 2: gettype(undefined)\n // returns 2: 'undefined'\n // example 3: gettype({0: 'Kevin van Zonneveld'})\n // returns 3: 'object'\n // example 4: gettype('foo')\n // returns 4: 'string'\n // example 5: gettype({0: function () {return false;}})\n // returns 5: 'object'\n // example 6: gettype({0: 'test', length: 1, splice: function () {}})\n // returns 6: 'object'\n // example 7: gettype(['test'])\n // returns 7: 'array'\n\n var isFloat = require('../var/is_float')\n\n var s = typeof mixedVar\n var name\n var _getFuncName = function (fn) {\n var name = (/\\W*function\\s+([\\w$]+)\\s*\\(/).exec(fn)\n if (!name) {\n return '(Anonymous)'\n }\n return name[1]\n }\n\n if (s === 'object') {\n if (mixedVar !== null) {\n // From: http://javascript.crockford.com/remedial.html\n // @todo: Break up this lengthy if statement\n if (typeof mixedVar.length === 'number' &&\n !(mixedVar.propertyIsEnumerable('length')) &&\n typeof mixedVar.splice === 'function') {\n s = 'array'\n } else if (mixedVar.constructor && _getFuncName(mixedVar.constructor)) {\n name = _getFuncName(mixedVar.constructor)\n if (name === 'Date') {\n // not in PHP\n s = 'date'\n } else if (name === 'RegExp') {\n // not in PHP\n s = 'regexp'\n } else if (name === 'LOCUTUS_Resource') {\n // Check against our own resource constructor\n s = 'resource'\n }\n }\n } else {\n s = 'null'\n }\n } else if (s === 'number') {\n s = isFloat(mixedVar) ? 'double' : 'integer'\n }\n\n return s\n}\n"]} \ No newline at end of file
diff --git a/node_modules/locutus/php/var/index.js b/node_modules/locutus/php/var/index.js
deleted file mode 100644
index 1b4a40a..0000000
--- a/node_modules/locutus/php/var/index.js
+++ /dev/null
@@ -1,33 +0,0 @@
-'use strict';
-
-module.exports['boolval'] = require('./boolval');
-module.exports['doubleval'] = require('./doubleval');
-module.exports['empty'] = require('./empty');
-module.exports['floatval'] = require('./floatval');
-module.exports['gettype'] = require('./gettype');
-module.exports['intval'] = require('./intval');
-module.exports['is_array'] = require('./is_array');
-module.exports['is_binary'] = require('./is_binary');
-module.exports['is_bool'] = require('./is_bool');
-module.exports['is_buffer'] = require('./is_buffer');
-module.exports['is_callable'] = require('./is_callable');
-module.exports['is_double'] = require('./is_double');
-module.exports['is_float'] = require('./is_float');
-module.exports['is_int'] = require('./is_int');
-module.exports['is_integer'] = require('./is_integer');
-module.exports['is_long'] = require('./is_long');
-module.exports['is_null'] = require('./is_null');
-module.exports['is_numeric'] = require('./is_numeric');
-module.exports['is_object'] = require('./is_object');
-module.exports['is_real'] = require('./is_real');
-module.exports['is_scalar'] = require('./is_scalar');
-module.exports['is_string'] = require('./is_string');
-module.exports['is_unicode'] = require('./is_unicode');
-module.exports['isset'] = require('./isset');
-module.exports['print_r'] = require('./print_r');
-module.exports['serialize'] = require('./serialize');
-module.exports['strval'] = require('./strval');
-module.exports['unserialize'] = require('./unserialize');
-module.exports['var_dump'] = require('./var_dump');
-module.exports['var_export'] = require('./var_export');
-//# sourceMappingURL=index.js.map \ No newline at end of file
diff --git a/node_modules/locutus/php/var/index.js.map b/node_modules/locutus/php/var/index.js.map
deleted file mode 100644
index 99e7e60..0000000
--- a/node_modules/locutus/php/var/index.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["../../../src/php/var/index.js"],"names":["module","exports","require"],"mappings":";;AAAAA,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8BC,QAAQ,aAAR,CAA9B;AACAF,OAAOC,OAAP,CAAe,WAAf,IAA8BC,QAAQ,aAAR,CAA9B;AACAF,OAAOC,OAAP,CAAe,YAAf,IAA+BC,QAAQ,cAAR,CAA/B;AACAF,OAAOC,OAAP,CAAe,OAAf,IAA0BC,QAAQ,SAAR,CAA1B;AACAF,OAAOC,OAAP,CAAe,SAAf,IAA4BC,QAAQ,WAAR,CAA5B;AACAF,OAAOC,OAAP,CAAe,WAAf,IAA8BC,QAAQ,aAAR,CAA9B;AACAF,OAAOC,OAAP,CAAe,QAAf,IAA2BC,QAAQ,UAAR,CAA3B;AACAF,OAAOC,OAAP,CAAe,aAAf,IAAgCC,QAAQ,eAAR,CAAhC;AACAF,OAAOC,OAAP,CAAe,UAAf,IAA6BC,QAAQ,YAAR,CAA7B;AACAF,OAAOC,OAAP,CAAe,YAAf,IAA+BC,QAAQ,cAAR,CAA/B","file":"index.js","sourcesContent":["module.exports['boolval'] = require('./boolval')\nmodule.exports['doubleval'] = require('./doubleval')\nmodule.exports['empty'] = require('./empty')\nmodule.exports['floatval'] = require('./floatval')\nmodule.exports['gettype'] = require('./gettype')\nmodule.exports['intval'] = require('./intval')\nmodule.exports['is_array'] = require('./is_array')\nmodule.exports['is_binary'] = require('./is_binary')\nmodule.exports['is_bool'] = require('./is_bool')\nmodule.exports['is_buffer'] = require('./is_buffer')\nmodule.exports['is_callable'] = require('./is_callable')\nmodule.exports['is_double'] = require('./is_double')\nmodule.exports['is_float'] = require('./is_float')\nmodule.exports['is_int'] = require('./is_int')\nmodule.exports['is_integer'] = require('./is_integer')\nmodule.exports['is_long'] = require('./is_long')\nmodule.exports['is_null'] = require('./is_null')\nmodule.exports['is_numeric'] = require('./is_numeric')\nmodule.exports['is_object'] = require('./is_object')\nmodule.exports['is_real'] = require('./is_real')\nmodule.exports['is_scalar'] = require('./is_scalar')\nmodule.exports['is_string'] = require('./is_string')\nmodule.exports['is_unicode'] = require('./is_unicode')\nmodule.exports['isset'] = require('./isset')\nmodule.exports['print_r'] = require('./print_r')\nmodule.exports['serialize'] = require('./serialize')\nmodule.exports['strval'] = require('./strval')\nmodule.exports['unserialize'] = require('./unserialize')\nmodule.exports['var_dump'] = require('./var_dump')\nmodule.exports['var_export'] = require('./var_export')\n"]} \ No newline at end of file
diff --git a/node_modules/locutus/php/var/intval.js b/node_modules/locutus/php/var/intval.js
deleted file mode 100644
index a5ef568..0000000
--- a/node_modules/locutus/php/var/intval.js
+++ /dev/null
@@ -1,49 +0,0 @@
-'use strict';
-
-var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
-
-module.exports = function intval(mixedVar, base) {
- // discuss at: http://locutus.io/php/intval/
- // original by: Kevin van Zonneveld (http://kvz.io)
- // improved by: stensi
- // bugfixed by: Kevin van Zonneveld (http://kvz.io)
- // bugfixed by: Brett Zamir (http://brett-zamir.me)
- // bugfixed by: Rafał Kukawski (http://blog.kukawski.pl)
- // input by: Matteo
- // example 1: intval('Kevin van Zonneveld')
- // returns 1: 0
- // example 2: intval(4.2)
- // returns 2: 4
- // example 3: intval(42, 8)
- // returns 3: 42
- // example 4: intval('09')
- // returns 4: 9
- // example 5: intval('1e', 16)
- // returns 5: 30
- // example 6: intval(0x200000001)
- // returns 6: 8589934593
- // example 7: intval('0xff', 0)
- // returns 7: 255
- // example 8: intval('010', 0)
- // returns 8: 8
-
- var tmp, match;
-
- var type = typeof mixedVar === 'undefined' ? 'undefined' : _typeof(mixedVar);
-
- if (type === 'boolean') {
- return +mixedVar;
- } else if (type === 'string') {
- if (base === 0) {
- match = mixedVar.match(/^\s*0(x?)/i);
- base = match ? match[1] ? 16 : 8 : 10;
- }
- tmp = parseInt(mixedVar, base || 10);
- return isNaN(tmp) || !isFinite(tmp) ? 0 : tmp;
- } else if (type === 'number' && isFinite(mixedVar)) {
- return mixedVar < 0 ? Math.ceil(mixedVar) : Math.floor(mixedVar);
- } else {
- return 0;
- }
-};
-//# sourceMappingURL=intval.js.map \ No newline at end of file
diff --git a/node_modules/locutus/php/var/intval.js.map b/node_modules/locutus/php/var/intval.js.map
deleted file mode 100644
index cb526ba..0000000
--- a/node_modules/locutus/php/var/intval.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["../../../src/php/var/intval.js"],"names":["module","exports","intval","mixedVar","base","tmp","match","type","parseInt","isNaN","isFinite","Math","ceil","floor"],"mappings":";;;;AAAAA,OAAOC,OAAP,GAAiB,SAASC,MAAT,CAAiBC,QAAjB,EAA2BC,IAA3B,EAAiC;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAIC,GAAJ,EAASC,KAAT;;AAEA,MAAIC,cAAcJ,QAAd,yCAAcA,QAAd,CAAJ;;AAEA,MAAII,SAAS,SAAb,EAAwB;AACtB,WAAO,CAACJ,QAAR;AACD,GAFD,MAEO,IAAII,SAAS,QAAb,EAAuB;AAC5B,QAAIH,SAAS,CAAb,EAAgB;AACdE,cAAQH,SAASG,KAAT,CAAe,YAAf,CAAR;AACAF,aAAOE,QAASA,MAAM,CAAN,IAAW,EAAX,GAAgB,CAAzB,GAA8B,EAArC;AACD;AACDD,UAAMG,SAASL,QAAT,EAAmBC,QAAQ,EAA3B,CAAN;AACA,WAAQK,MAAMJ,GAAN,KAAc,CAACK,SAASL,GAAT,CAAhB,GAAiC,CAAjC,GAAqCA,GAA5C;AACD,GAPM,MAOA,IAAIE,SAAS,QAAT,IAAqBG,SAASP,QAAT,CAAzB,EAA6C;AAClD,WAAOA,WAAW,CAAX,GAAeQ,KAAKC,IAAL,CAAUT,QAAV,CAAf,GAAqCQ,KAAKE,KAAL,CAAWV,QAAX,CAA5C;AACD,GAFM,MAEA;AACL,WAAO,CAAP;AACD;AACF,CA3CD","file":"intval.js","sourcesContent":["module.exports = function intval (mixedVar, base) {\n // discuss at: http://locutus.io/php/intval/\n // original by: Kevin van Zonneveld (http://kvz.io)\n // improved by: stensi\n // bugfixed by: Kevin van Zonneveld (http://kvz.io)\n // bugfixed by: Brett Zamir (http://brett-zamir.me)\n // bugfixed by: Rafał Kukawski (http://blog.kukawski.pl)\n // input by: Matteo\n // example 1: intval('Kevin van Zonneveld')\n // returns 1: 0\n // example 2: intval(4.2)\n // returns 2: 4\n // example 3: intval(42, 8)\n // returns 3: 42\n // example 4: intval('09')\n // returns 4: 9\n // example 5: intval('1e', 16)\n // returns 5: 30\n // example 6: intval(0x200000001)\n // returns 6: 8589934593\n // example 7: intval('0xff', 0)\n // returns 7: 255\n // example 8: intval('010', 0)\n // returns 8: 8\n\n var tmp, match\n\n var type = typeof mixedVar\n\n if (type === 'boolean') {\n return +mixedVar\n } else if (type === 'string') {\n if (base === 0) {\n match = mixedVar.match(/^\\s*0(x?)/i)\n base = match ? (match[1] ? 16 : 8) : 10\n }\n tmp = parseInt(mixedVar, base || 10)\n return (isNaN(tmp) || !isFinite(tmp)) ? 0 : tmp\n } else if (type === 'number' && isFinite(mixedVar)) {\n return mixedVar < 0 ? Math.ceil(mixedVar) : Math.floor(mixedVar)\n } else {\n return 0\n }\n}\n"]} \ No newline at end of file
diff --git a/node_modules/locutus/php/var/is_array.js b/node_modules/locutus/php/var/is_array.js
deleted file mode 100644
index d77a286..0000000
--- a/node_modules/locutus/php/var/is_array.js
+++ /dev/null
@@ -1,98 +0,0 @@
-'use strict';
-
-var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
-
-module.exports = function is_array(mixedVar) {
- // eslint-disable-line camelcase
- // discuss at: http://locutus.io/php/is_array/
- // original by: Kevin van Zonneveld (http://kvz.io)
- // improved by: Legaev Andrey
- // improved by: Onno Marsman (https://twitter.com/onnomarsman)
- // improved by: Brett Zamir (http://brett-zamir.me)
- // improved by: Nathan Sepulveda
- // improved by: Brett Zamir (http://brett-zamir.me)
- // bugfixed by: Cord
- // bugfixed by: Manish
- // bugfixed by: Brett Zamir (http://brett-zamir.me)
- // note 1: In Locutus, javascript objects are like php associative arrays,
- // note 1: thus JavaScript objects will also
- // note 1: return true in this function (except for objects which inherit properties,
- // note 1: being thus used as objects),
- // note 1: unless you do ini_set('locutus.objectsAsArrays', 0),
- // note 1: in which case only genuine JavaScript arrays
- // note 1: will return true
- // example 1: is_array(['Kevin', 'van', 'Zonneveld'])
- // returns 1: true
- // example 2: is_array('Kevin van Zonneveld')
- // returns 2: false
- // example 3: is_array({0: 'Kevin', 1: 'van', 2: 'Zonneveld'})
- // returns 3: true
- // example 4: ini_set('locutus.objectsAsArrays', 0)
- // example 4: is_array({0: 'Kevin', 1: 'van', 2: 'Zonneveld'})
- // returns 4: false
- // example 5: is_array(function tmp_a (){ this.name = 'Kevin' })
- // returns 5: false
-
- var _getFuncName = function _getFuncName(fn) {
- var name = /\W*function\s+([\w$]+)\s*\(/.exec(fn);
- if (!name) {
- return '(Anonymous)';
- }
- return name[1];
- };
- var _isArray = function _isArray(mixedVar) {
- // return Object.prototype.toString.call(mixedVar) === '[object Array]';
- // The above works, but let's do the even more stringent approach:
- // (since Object.prototype.toString could be overridden)
- // Null, Not an object, no length property so couldn't be an Array (or String)
- if (!mixedVar || (typeof mixedVar === 'undefined' ? 'undefined' : _typeof(mixedVar)) !== 'object' || typeof mixedVar.length !== 'number') {
- return false;
- }
- var len = mixedVar.length;
- mixedVar[mixedVar.length] = 'bogus';
- // The only way I can think of to get around this (or where there would be trouble)
- // would be to have an object defined
- // with a custom "length" getter which changed behavior on each call
- // (or a setter to mess up the following below) or a custom
- // setter for numeric properties, but even that would need to listen for
- // specific indexes; but there should be no false negatives
- // and such a false positive would need to rely on later JavaScript
- // innovations like __defineSetter__
- if (len !== mixedVar.length) {
- // We know it's an array since length auto-changed with the addition of a
- // numeric property at its length end, so safely get rid of our bogus element
- mixedVar.length -= 1;
- return true;
- }
- // Get rid of the property we added onto a non-array object; only possible
- // side-effect is if the user adds back the property later, it will iterate
- // this property in the older order placement in IE (an order which should not
- // be depended on anyways)
- delete mixedVar[mixedVar.length];
- return false;
- };
-
- if (!mixedVar || (typeof mixedVar === 'undefined' ? 'undefined' : _typeof(mixedVar)) !== 'object') {
- return false;
- }
-
- var isArray = _isArray(mixedVar);
-
- if (isArray) {
- return true;
- }
-
- var iniVal = (typeof require !== 'undefined' ? require('../info/ini_get')('locutus.objectsAsArrays') : undefined) || 'on';
- if (iniVal === 'on') {
- var asString = Object.prototype.toString.call(mixedVar);
- var asFunc = _getFuncName(mixedVar.constructor);
-
- if (asString === '[object Object]' && asFunc === 'Object') {
- // Most likely a literal and intended as assoc. array
- return true;
- }
- }
-
- return false;
-};
-//# sourceMappingURL=is_array.js.map \ No newline at end of file
diff --git a/node_modules/locutus/php/var/is_array.js.map b/node_modules/locutus/php/var/is_array.js.map
deleted file mode 100644
index 9c4b117..0000000
--- a/node_modules/locutus/php/var/is_array.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["../../../src/php/var/is_array.js"],"names":["module","exports","is_array","mixedVar","_getFuncName","fn","name","exec","_isArray","length","len","isArray","iniVal","require","undefined","asString","Object","prototype","toString","call","asFunc","constructor"],"mappings":";;;;AAAAA,OAAOC,OAAP,GAAiB,SAASC,QAAT,CAAmBC,QAAnB,EAA6B;AAAE;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAIC,eAAe,SAAfA,YAAe,CAAUC,EAAV,EAAc;AAC/B,QAAIC,OAAQ,6BAAD,CAAgCC,IAAhC,CAAqCF,EAArC,CAAX;AACA,QAAI,CAACC,IAAL,EAAW;AACT,aAAO,aAAP;AACD;AACD,WAAOA,KAAK,CAAL,CAAP;AACD,GAND;AAOA,MAAIE,WAAW,SAAXA,QAAW,CAAUL,QAAV,EAAoB;AACjC;AACA;AACA;AACA;AACA,QAAI,CAACA,QAAD,IAAa,QAAOA,QAAP,yCAAOA,QAAP,OAAoB,QAAjC,IAA6C,OAAOA,SAASM,MAAhB,KAA2B,QAA5E,EAAsF;AACpF,aAAO,KAAP;AACD;AACD,QAAIC,MAAMP,SAASM,MAAnB;AACAN,aAASA,SAASM,MAAlB,IAA4B,OAA5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAIC,QAAQP,SAASM,MAArB,EAA6B;AAC3B;AACA;AACAN,eAASM,MAAT,IAAmB,CAAnB;AACA,aAAO,IAAP;AACD;AACD;AACA;AACA;AACA;AACA,WAAON,SAASA,SAASM,MAAlB,CAAP;AACA,WAAO,KAAP;AACD,GA9BD;;AAgCA,MAAI,CAACN,QAAD,IAAa,QAAOA,QAAP,yCAAOA,QAAP,OAAoB,QAArC,EAA+C;AAC7C,WAAO,KAAP;AACD;;AAED,MAAIQ,UAAUH,SAASL,QAAT,CAAd;;AAEA,MAAIQ,OAAJ,EAAa;AACX,WAAO,IAAP;AACD;;AAED,MAAIC,SAAS,CAAC,OAAOC,OAAP,KAAmB,WAAnB,GAAiCA,QAAQ,iBAAR,EAA2B,yBAA3B,CAAjC,GAAyFC,SAA1F,KAAwG,IAArH;AACA,MAAIF,WAAW,IAAf,EAAqB;AACnB,QAAIG,WAAWC,OAAOC,SAAP,CAAiBC,QAAjB,CAA0BC,IAA1B,CAA+BhB,QAA/B,CAAf;AACA,QAAIiB,SAAShB,aAAaD,SAASkB,WAAtB,CAAb;;AAEA,QAAIN,aAAa,iBAAb,IAAkCK,WAAW,QAAjD,EAA2D;AACzD;AACA,aAAO,IAAP;AACD;AACF;;AAED,SAAO,KAAP;AACD,CA3FD","file":"is_array.js","sourcesContent":["module.exports = function is_array (mixedVar) { // eslint-disable-line camelcase\n // discuss at: http://locutus.io/php/is_array/\n // original by: Kevin van Zonneveld (http://kvz.io)\n // improved by: Legaev Andrey\n // improved by: Onno Marsman (https://twitter.com/onnomarsman)\n // improved by: Brett Zamir (http://brett-zamir.me)\n // improved by: Nathan Sepulveda\n // improved by: Brett Zamir (http://brett-zamir.me)\n // bugfixed by: Cord\n // bugfixed by: Manish\n // bugfixed by: Brett Zamir (http://brett-zamir.me)\n // note 1: In Locutus, javascript objects are like php associative arrays,\n // note 1: thus JavaScript objects will also\n // note 1: return true in this function (except for objects which inherit properties,\n // note 1: being thus used as objects),\n // note 1: unless you do ini_set('locutus.objectsAsArrays', 0),\n // note 1: in which case only genuine JavaScript arrays\n // note 1: will return true\n // example 1: is_array(['Kevin', 'van', 'Zonneveld'])\n // returns 1: true\n // example 2: is_array('Kevin van Zonneveld')\n // returns 2: false\n // example 3: is_array({0: 'Kevin', 1: 'van', 2: 'Zonneveld'})\n // returns 3: true\n // example 4: ini_set('locutus.objectsAsArrays', 0)\n // example 4: is_array({0: 'Kevin', 1: 'van', 2: 'Zonneveld'})\n // returns 4: false\n // example 5: is_array(function tmp_a (){ this.name = 'Kevin' })\n // returns 5: false\n\n var _getFuncName = function (fn) {\n var name = (/\\W*function\\s+([\\w$]+)\\s*\\(/).exec(fn)\n if (!name) {\n return '(Anonymous)'\n }\n return name[1]\n }\n var _isArray = function (mixedVar) {\n // return Object.prototype.toString.call(mixedVar) === '[object Array]';\n // The above works, but let's do the even more stringent approach:\n // (since Object.prototype.toString could be overridden)\n // Null, Not an object, no length property so couldn't be an Array (or String)\n if (!mixedVar || typeof mixedVar !== 'object' || typeof mixedVar.length !== 'number') {\n return false\n }\n var len = mixedVar.length\n mixedVar[mixedVar.length] = 'bogus'\n // The only way I can think of to get around this (or where there would be trouble)\n // would be to have an object defined\n // with a custom \"length\" getter which changed behavior on each call\n // (or a setter to mess up the following below) or a custom\n // setter for numeric properties, but even that would need to listen for\n // specific indexes; but there should be no false negatives\n // and such a false positive would need to rely on later JavaScript\n // innovations like __defineSetter__\n if (len !== mixedVar.length) {\n // We know it's an array since length auto-changed with the addition of a\n // numeric property at its length end, so safely get rid of our bogus element\n mixedVar.length -= 1\n return true\n }\n // Get rid of the property we added onto a non-array object; only possible\n // side-effect is if the user adds back the property later, it will iterate\n // this property in the older order placement in IE (an order which should not\n // be depended on anyways)\n delete mixedVar[mixedVar.length]\n return false\n }\n\n if (!mixedVar || typeof mixedVar !== 'object') {\n return false\n }\n\n var isArray = _isArray(mixedVar)\n\n if (isArray) {\n return true\n }\n\n var iniVal = (typeof require !== 'undefined' ? require('../info/ini_get')('locutus.objectsAsArrays') : undefined) || 'on'\n if (iniVal === 'on') {\n var asString = Object.prototype.toString.call(mixedVar)\n var asFunc = _getFuncName(mixedVar.constructor)\n\n if (asString === '[object Object]' && asFunc === 'Object') {\n // Most likely a literal and intended as assoc. array\n return true\n }\n }\n\n return false\n}\n"]} \ No newline at end of file
diff --git a/node_modules/locutus/php/var/is_binary.js b/node_modules/locutus/php/var/is_binary.js
deleted file mode 100644
index be380f1..0000000
--- a/node_modules/locutus/php/var/is_binary.js
+++ /dev/null
@@ -1,12 +0,0 @@
-'use strict';
-
-module.exports = function is_binary(vr) {
- // eslint-disable-line camelcase
- // discuss at: http://locutus.io/php/is_binary/
- // original by: Brett Zamir (http://brett-zamir.me)
- // example 1: is_binary('This could be binary as far as JavaScript knows...')
- // returns 1: true
-
- return typeof vr === 'string'; // If it is a string of any kind, it could be binary
-};
-//# sourceMappingURL=is_binary.js.map \ No newline at end of file
diff --git a/node_modules/locutus/php/var/is_binary.js.map b/node_modules/locutus/php/var/is_binary.js.map
deleted file mode 100644
index 36eee73..0000000
--- a/node_modules/locutus/php/var/is_binary.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["../../../src/php/var/is_binary.js"],"names":["module","exports","is_binary","vr"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,SAAT,CAAoBC,EAApB,EAAwB;AAAE;AACzC;AACA;AACA;AACA;;AAEA,SAAO,OAAOA,EAAP,KAAc,QAArB,CANuC,CAMT;AAC/B,CAPD","file":"is_binary.js","sourcesContent":["module.exports = function is_binary (vr) { // eslint-disable-line camelcase\n // discuss at: http://locutus.io/php/is_binary/\n // original by: Brett Zamir (http://brett-zamir.me)\n // example 1: is_binary('This could be binary as far as JavaScript knows...')\n // returns 1: true\n\n return typeof vr === 'string' // If it is a string of any kind, it could be binary\n}\n"]} \ No newline at end of file
diff --git a/node_modules/locutus/php/var/is_bool.js b/node_modules/locutus/php/var/is_bool.js
deleted file mode 100644
index eb89b8f..0000000
--- a/node_modules/locutus/php/var/is_bool.js
+++ /dev/null
@@ -1,15 +0,0 @@
-"use strict";
-
-module.exports = function is_bool(mixedVar) {
- // eslint-disable-line camelcase
- // discuss at: http://locutus.io/php/is_bool/
- // original by: Onno Marsman (https://twitter.com/onnomarsman)
- // improved by: CoursesWeb (http://www.coursesweb.net/)
- // example 1: is_bool(false)
- // returns 1: true
- // example 2: is_bool(0)
- // returns 2: false
-
- return mixedVar === true || mixedVar === false; // Faster (in FF) than type checking
-};
-//# sourceMappingURL=is_bool.js.map \ No newline at end of file
diff --git a/node_modules/locutus/php/var/is_bool.js.map b/node_modules/locutus/php/var/is_bool.js.map
deleted file mode 100644
index 237b87e..0000000
--- a/node_modules/locutus/php/var/is_bool.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["../../../src/php/var/is_bool.js"],"names":["module","exports","is_bool","mixedVar"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,OAAT,CAAkBC,QAAlB,EAA4B;AAAE;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAAQA,aAAa,IAAb,IAAqBA,aAAa,KAA1C,CAT2C,CASM;AAClD,CAVD","file":"is_bool.js","sourcesContent":["module.exports = function is_bool (mixedVar) { // eslint-disable-line camelcase\n // discuss at: http://locutus.io/php/is_bool/\n // original by: Onno Marsman (https://twitter.com/onnomarsman)\n // improved by: CoursesWeb (http://www.coursesweb.net/)\n // example 1: is_bool(false)\n // returns 1: true\n // example 2: is_bool(0)\n // returns 2: false\n\n return (mixedVar === true || mixedVar === false) // Faster (in FF) than type checking\n}\n"]} \ No newline at end of file
diff --git a/node_modules/locutus/php/var/is_buffer.js b/node_modules/locutus/php/var/is_buffer.js
deleted file mode 100644
index bc3d344..0000000
--- a/node_modules/locutus/php/var/is_buffer.js
+++ /dev/null
@@ -1,12 +0,0 @@
-'use strict';
-
-module.exports = function is_buffer(vr) {
- // eslint-disable-line camelcase
- // discuss at: http://locutus.io/php/is_buffer/
- // original by: Brett Zamir (http://brett-zamir.me)
- // example 1: is_buffer('This could be binary or a regular string...')
- // returns 1: true
-
- return typeof vr === 'string';
-};
-//# sourceMappingURL=is_buffer.js.map \ No newline at end of file
diff --git a/node_modules/locutus/php/var/is_buffer.js.map b/node_modules/locutus/php/var/is_buffer.js.map
deleted file mode 100644
index d3d9dd4..0000000
--- a/node_modules/locutus/php/var/is_buffer.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["../../../src/php/var/is_buffer.js"],"names":["module","exports","is_buffer","vr"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,SAAT,CAAoBC,EAApB,EAAwB;AAAE;AACzC;AACA;AACA;AACA;;AAEA,SAAO,OAAOA,EAAP,KAAc,QAArB;AACD,CAPD","file":"is_buffer.js","sourcesContent":["module.exports = function is_buffer (vr) { // eslint-disable-line camelcase\n // discuss at: http://locutus.io/php/is_buffer/\n // original by: Brett Zamir (http://brett-zamir.me)\n // example 1: is_buffer('This could be binary or a regular string...')\n // returns 1: true\n\n return typeof vr === 'string'\n}\n"]} \ No newline at end of file
diff --git a/node_modules/locutus/php/var/is_callable.js b/node_modules/locutus/php/var/is_callable.js
deleted file mode 100644
index 962d742..0000000
--- a/node_modules/locutus/php/var/is_callable.js
+++ /dev/null
@@ -1,84 +0,0 @@
-'use strict';
-
-var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
-
-module.exports = function is_callable(mixedVar, syntaxOnly, callableName) {
- // eslint-disable-line camelcase
- // discuss at: http://locutus.io/php/is_callable/
- // original by: Brett Zamir (http://brett-zamir.me)
- // input by: François
- // improved by: Brett Zamir (http://brett-zamir.me)
- // note 1: The variable callableName cannot work as a string variable passed by
- // note 1: reference as in PHP (since JavaScript does not support passing
- // note 1: strings by reference), but instead will take the name of
- // note 1: a global variable and set that instead.
- // note 1: When used on an object, depends on a constructor property
- // note 1: being kept on the object prototype
- // note 2: Depending on the `callableName` that is passed, this function can use eval.
- // note 2: The eval input is however checked to only allow valid function names,
- // note 2: So it should not be unsafer than uses without eval (seeing as you can)
- // note 2: already pass any function to be executed here.
- // example 1: is_callable('is_callable')
- // returns 1: true
- // example 2: is_callable('bogusFunction', true)
- // returns 2: true // gives true because does not do strict checking
- // example 3: function SomeClass () {}
- // example 3: SomeClass.prototype.someMethod = function (){}
- // example 3: var testObj = new SomeClass()
- // example 3: is_callable([testObj, 'someMethod'], true, 'myVar')
- // example 3: var $result = myVar
- // returns 3: 'SomeClass::someMethod'
- // example 4: is_callable(function () {})
- // returns 4: true
-
- var $global = typeof window !== 'undefined' ? window : global;
-
- var validJSFunctionNamePattern = /^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;
-
- var name = '';
- var obj = {};
- var method = '';
- var validFunctionName = false;
-
- var getFuncName = function getFuncName(fn) {
- var name = /\W*function\s+([\w$]+)\s*\(/.exec(fn);
- if (!name) {
- return '(Anonymous)';
- }
- return name[1];
- };
-
- if (typeof mixedVar === 'string') {
- obj = $global;
- method = mixedVar;
- name = mixedVar;
- validFunctionName = !!name.match(validJSFunctionNamePattern);
- } else if (typeof mixedVar === 'function') {
- return true;
- } else if (Object.prototype.toString.call(mixedVar) === '[object Array]' && mixedVar.length === 2 && _typeof(mixedVar[0]) === 'object' && typeof mixedVar[1] === 'string') {
- obj = mixedVar[0];
- method = mixedVar[1];
- name = (obj.constructor && getFuncName(obj.constructor)) + '::' + method;
- } else {
- return false;
- }
-
- if (syntaxOnly || typeof obj[method] === 'function') {
- if (callableName) {
- $global[callableName] = name;
- }
- return true;
- }
-
- // validFunctionName avoids exploits
- if (validFunctionName && typeof eval(method) === 'function') {
- // eslint-disable-line no-eval
- if (callableName) {
- $global[callableName] = name;
- }
- return true;
- }
-
- return false;
-};
-//# sourceMappingURL=is_callable.js.map \ No newline at end of file
diff --git a/node_modules/locutus/php/var/is_callable.js.map b/node_modules/locutus/php/var/is_callable.js.map
deleted file mode 100644
index 6c2fc21..0000000
--- a/node_modules/locutus/php/var/is_callable.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["../../../src/php/var/is_callable.js"],"names":["module","exports","is_callable","mixedVar","syntaxOnly","callableName","$global","window","global","validJSFunctionNamePattern","name","obj","method","validFunctionName","getFuncName","fn","exec","match","Object","prototype","toString","call","length","constructor","eval"],"mappings":";;;;AAAAA,OAAOC,OAAP,GAAiB,SAASC,WAAT,CAAsBC,QAAtB,EAAgCC,UAAhC,EAA4CC,YAA5C,EAA0D;AAAE;AAC3E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAIC,UAAW,OAAOC,MAAP,KAAkB,WAAlB,GAAgCA,MAAhC,GAAyCC,MAAxD;;AAEA,MAAIC,6BAA6B,kDAAjC;;AAEA,MAAIC,OAAO,EAAX;AACA,MAAIC,MAAM,EAAV;AACA,MAAIC,SAAS,EAAb;AACA,MAAIC,oBAAoB,KAAxB;;AAEA,MAAIC,cAAc,SAAdA,WAAc,CAAUC,EAAV,EAAc;AAC9B,QAAIL,OAAQ,6BAAD,CAAgCM,IAAhC,CAAqCD,EAArC,CAAX;AACA,QAAI,CAACL,IAAL,EAAW;AACT,aAAO,aAAP;AACD;AACD,WAAOA,KAAK,CAAL,CAAP;AACD,GAND;;AAQA,MAAI,OAAOP,QAAP,KAAoB,QAAxB,EAAkC;AAChCQ,UAAML,OAAN;AACAM,aAAST,QAAT;AACAO,WAAOP,QAAP;AACAU,wBAAoB,CAAC,CAACH,KAAKO,KAAL,CAAWR,0BAAX,CAAtB;AACD,GALD,MAKO,IAAI,OAAON,QAAP,KAAoB,UAAxB,EAAoC;AACzC,WAAO,IAAP;AACD,GAFM,MAEA,IAAIe,OAAOC,SAAP,CAAiBC,QAAjB,CAA0BC,IAA1B,CAA+BlB,QAA/B,MAA6C,gBAA7C,IACTA,SAASmB,MAAT,KAAoB,CADX,IAET,QAAOnB,SAAS,CAAT,CAAP,MAAuB,QAFd,IAGT,OAAOA,SAAS,CAAT,CAAP,KAAuB,QAHlB,EAG4B;AACjCQ,UAAMR,SAAS,CAAT,CAAN;AACAS,aAAST,SAAS,CAAT,CAAT;AACAO,WAAO,CAACC,IAAIY,WAAJ,IAAmBT,YAAYH,IAAIY,WAAhB,CAApB,IAAoD,IAApD,GAA2DX,MAAlE;AACD,GAPM,MAOA;AACL,WAAO,KAAP;AACD;;AAED,MAAIR,cAAc,OAAOO,IAAIC,MAAJ,CAAP,KAAuB,UAAzC,EAAqD;AACnD,QAAIP,YAAJ,EAAkB;AAChBC,cAAQD,YAAR,IAAwBK,IAAxB;AACD;AACD,WAAO,IAAP;AACD;;AAED;AACA,MAAIG,qBAAqB,OAAOW,KAAKZ,MAAL,CAAP,KAAwB,UAAjD,EAA6D;AAAE;AAC7D,QAAIP,YAAJ,EAAkB;AAChBC,cAAQD,YAAR,IAAwBK,IAAxB;AACD;AACD,WAAO,IAAP;AACD;;AAED,SAAO,KAAP;AACD,CA/ED","file":"is_callable.js","sourcesContent":["module.exports = function is_callable (mixedVar, syntaxOnly, callableName) { // eslint-disable-line camelcase\n // discuss at: http://locutus.io/php/is_callable/\n // original by: Brett Zamir (http://brett-zamir.me)\n // input by: François\n // improved by: Brett Zamir (http://brett-zamir.me)\n // note 1: The variable callableName cannot work as a string variable passed by\n // note 1: reference as in PHP (since JavaScript does not support passing\n // note 1: strings by reference), but instead will take the name of\n // note 1: a global variable and set that instead.\n // note 1: When used on an object, depends on a constructor property\n // note 1: being kept on the object prototype\n // note 2: Depending on the `callableName` that is passed, this function can use eval.\n // note 2: The eval input is however checked to only allow valid function names,\n // note 2: So it should not be unsafer than uses without eval (seeing as you can)\n // note 2: already pass any function to be executed here.\n // example 1: is_callable('is_callable')\n // returns 1: true\n // example 2: is_callable('bogusFunction', true)\n // returns 2: true // gives true because does not do strict checking\n // example 3: function SomeClass () {}\n // example 3: SomeClass.prototype.someMethod = function (){}\n // example 3: var testObj = new SomeClass()\n // example 3: is_callable([testObj, 'someMethod'], true, 'myVar')\n // example 3: var $result = myVar\n // returns 3: 'SomeClass::someMethod'\n // example 4: is_callable(function () {})\n // returns 4: true\n\n var $global = (typeof window !== 'undefined' ? window : global)\n\n var validJSFunctionNamePattern = /^[_$a-zA-Z\\xA0-\\uFFFF][_$a-zA-Z0-9\\xA0-\\uFFFF]*$/\n\n var name = ''\n var obj = {}\n var method = ''\n var validFunctionName = false\n\n var getFuncName = function (fn) {\n var name = (/\\W*function\\s+([\\w$]+)\\s*\\(/).exec(fn)\n if (!name) {\n return '(Anonymous)'\n }\n return name[1]\n }\n\n if (typeof mixedVar === 'string') {\n obj = $global\n method = mixedVar\n name = mixedVar\n validFunctionName = !!name.match(validJSFunctionNamePattern)\n } else if (typeof mixedVar === 'function') {\n return true\n } else if (Object.prototype.toString.call(mixedVar) === '[object Array]' &&\n mixedVar.length === 2 &&\n typeof mixedVar[0] === 'object' &&\n typeof mixedVar[1] === 'string') {\n obj = mixedVar[0]\n method = mixedVar[1]\n name = (obj.constructor && getFuncName(obj.constructor)) + '::' + method\n } else {\n return false\n }\n\n if (syntaxOnly || typeof obj[method] === 'function') {\n if (callableName) {\n $global[callableName] = name\n }\n return true\n }\n\n // validFunctionName avoids exploits\n if (validFunctionName && typeof eval(method) === 'function') { // eslint-disable-line no-eval\n if (callableName) {\n $global[callableName] = name\n }\n return true\n }\n\n return false\n}\n"]} \ No newline at end of file
diff --git a/node_modules/locutus/php/var/is_double.js b/node_modules/locutus/php/var/is_double.js
deleted file mode 100644
index 7def351..0000000
--- a/node_modules/locutus/php/var/is_double.js
+++ /dev/null
@@ -1,15 +0,0 @@
-'use strict';
-
-module.exports = function is_double(mixedVar) {
- // eslint-disable-line camelcase
- // discuss at: http://locutus.io/php/is_double/
- // original by: Paulo Freitas
- // note 1: 1.0 is simplified to 1 before it can be accessed by the function, this makes
- // note 1: it different from the PHP implementation. We can't fix this unfortunately.
- // example 1: is_double(186.31)
- // returns 1: true
-
- var _isFloat = require('../var/is_float');
- return _isFloat(mixedVar);
-};
-//# sourceMappingURL=is_double.js.map \ No newline at end of file
diff --git a/node_modules/locutus/php/var/is_double.js.map b/node_modules/locutus/php/var/is_double.js.map
deleted file mode 100644
index 4b9e697..0000000
--- a/node_modules/locutus/php/var/is_double.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["../../../src/php/var/is_double.js"],"names":["module","exports","is_double","mixedVar","_isFloat","require"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,SAAT,CAAoBC,QAApB,EAA8B;AAAE;AAC/C;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAIC,WAAWC,QAAQ,iBAAR,CAAf;AACA,SAAOD,SAASD,QAAT,CAAP;AACD,CAVD","file":"is_double.js","sourcesContent":["module.exports = function is_double (mixedVar) { // eslint-disable-line camelcase\n // discuss at: http://locutus.io/php/is_double/\n // original by: Paulo Freitas\n // note 1: 1.0 is simplified to 1 before it can be accessed by the function, this makes\n // note 1: it different from the PHP implementation. We can't fix this unfortunately.\n // example 1: is_double(186.31)\n // returns 1: true\n\n var _isFloat = require('../var/is_float')\n return _isFloat(mixedVar)\n}\n"]} \ No newline at end of file
diff --git a/node_modules/locutus/php/var/is_float.js b/node_modules/locutus/php/var/is_float.js
deleted file mode 100644
index f8f8871..0000000
--- a/node_modules/locutus/php/var/is_float.js
+++ /dev/null
@@ -1,17 +0,0 @@
-"use strict";
-
-module.exports = function is_float(mixedVar) {
- // eslint-disable-line camelcase
- // discuss at: http://locutus.io/php/is_float/
- // original by: Paulo Freitas
- // bugfixed by: Brett Zamir (http://brett-zamir.me)
- // improved by: WebDevHobo (http://webdevhobo.blogspot.com/)
- // improved by: Rafał Kukawski (http://blog.kukawski.pl)
- // note 1: 1.0 is simplified to 1 before it can be accessed by the function, this makes
- // note 1: it different from the PHP implementation. We can't fix this unfortunately.
- // example 1: is_float(186.31)
- // returns 1: true
-
- return +mixedVar === mixedVar && (!isFinite(mixedVar) || !!(mixedVar % 1));
-};
-//# sourceMappingURL=is_float.js.map \ No newline at end of file
diff --git a/node_modules/locutus/php/var/is_float.js.map b/node_modules/locutus/php/var/is_float.js.map
deleted file mode 100644
index d31ea40..0000000
--- a/node_modules/locutus/php/var/is_float.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["../../../src/php/var/is_float.js"],"names":["module","exports","is_float","mixedVar","isFinite"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,QAAT,CAAmBC,QAAnB,EAA6B;AAAE;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAAO,CAACA,QAAD,KAAcA,QAAd,KAA2B,CAACC,SAASD,QAAT,CAAD,IAAuB,CAAC,EAAEA,WAAW,CAAb,CAAnD,CAAP;AACD,CAZD","file":"is_float.js","sourcesContent":["module.exports = function is_float (mixedVar) { // eslint-disable-line camelcase\n // discuss at: http://locutus.io/php/is_float/\n // original by: Paulo Freitas\n // bugfixed by: Brett Zamir (http://brett-zamir.me)\n // improved by: WebDevHobo (http://webdevhobo.blogspot.com/)\n // improved by: Rafał Kukawski (http://blog.kukawski.pl)\n // note 1: 1.0 is simplified to 1 before it can be accessed by the function, this makes\n // note 1: it different from the PHP implementation. We can't fix this unfortunately.\n // example 1: is_float(186.31)\n // returns 1: true\n\n return +mixedVar === mixedVar && (!isFinite(mixedVar) || !!(mixedVar % 1))\n}\n"]} \ No newline at end of file
diff --git a/node_modules/locutus/php/var/is_int.js b/node_modules/locutus/php/var/is_int.js
deleted file mode 100644
index f234c4e..0000000
--- a/node_modules/locutus/php/var/is_int.js
+++ /dev/null
@@ -1,25 +0,0 @@
-"use strict";
-
-module.exports = function is_int(mixedVar) {
- // eslint-disable-line camelcase
- // discuss at: http://locutus.io/php/is_int/
- // original by: Alex
- // improved by: Kevin van Zonneveld (http://kvz.io)
- // improved by: WebDevHobo (http://webdevhobo.blogspot.com/)
- // improved by: Rafał Kukawski (http://blog.kukawski.pl)
- // revised by: Matt Bradley
- // bugfixed by: Kevin van Zonneveld (http://kvz.io)
- // note 1: 1.0 is simplified to 1 before it can be accessed by the function, this makes
- // note 1: it different from the PHP implementation. We can't fix this unfortunately.
- // example 1: is_int(23)
- // returns 1: true
- // example 2: is_int('23')
- // returns 2: false
- // example 3: is_int(23.5)
- // returns 3: false
- // example 4: is_int(true)
- // returns 4: false
-
- return mixedVar === +mixedVar && isFinite(mixedVar) && !(mixedVar % 1);
-};
-//# sourceMappingURL=is_int.js.map \ No newline at end of file
diff --git a/node_modules/locutus/php/var/is_int.js.map b/node_modules/locutus/php/var/is_int.js.map
deleted file mode 100644
index 93801e9..0000000
--- a/node_modules/locutus/php/var/is_int.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["../../../src/php/var/is_int.js"],"names":["module","exports","is_int","mixedVar","isFinite"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,MAAT,CAAiBC,QAAjB,EAA2B;AAAE;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAAOA,aAAa,CAACA,QAAd,IAA0BC,SAASD,QAAT,CAA1B,IAAgD,EAAEA,WAAW,CAAb,CAAvD;AACD,CApBD","file":"is_int.js","sourcesContent":["module.exports = function is_int (mixedVar) { // eslint-disable-line camelcase\n // discuss at: http://locutus.io/php/is_int/\n // original by: Alex\n // improved by: Kevin van Zonneveld (http://kvz.io)\n // improved by: WebDevHobo (http://webdevhobo.blogspot.com/)\n // improved by: Rafał Kukawski (http://blog.kukawski.pl)\n // revised by: Matt Bradley\n // bugfixed by: Kevin van Zonneveld (http://kvz.io)\n // note 1: 1.0 is simplified to 1 before it can be accessed by the function, this makes\n // note 1: it different from the PHP implementation. We can't fix this unfortunately.\n // example 1: is_int(23)\n // returns 1: true\n // example 2: is_int('23')\n // returns 2: false\n // example 3: is_int(23.5)\n // returns 3: false\n // example 4: is_int(true)\n // returns 4: false\n\n return mixedVar === +mixedVar && isFinite(mixedVar) && !(mixedVar % 1)\n}\n"]} \ No newline at end of file
diff --git a/node_modules/locutus/php/var/is_integer.js b/node_modules/locutus/php/var/is_integer.js
deleted file mode 100644
index f3ab898..0000000
--- a/node_modules/locutus/php/var/is_integer.js
+++ /dev/null
@@ -1,17 +0,0 @@
-'use strict';
-
-module.exports = function is_integer(mixedVar) {
- // eslint-disable-line camelcase
- // discuss at: http://locutus.io/php/is_integer/
- // original by: Paulo Freitas
- // note 1: 1.0 is simplified to 1 before it can be accessed by the function, this makes
- // note 1: it different from the PHP implementation. We can't fix this unfortunately.
- // example 1: is_integer(186.31)
- // returns 1: false
- // example 2: is_integer(12)
- // returns 2: true
-
- var _isInt = require('../var/is_int');
- return _isInt(mixedVar);
-};
-//# sourceMappingURL=is_integer.js.map \ No newline at end of file
diff --git a/node_modules/locutus/php/var/is_integer.js.map b/node_modules/locutus/php/var/is_integer.js.map
deleted file mode 100644
index 97ce877..0000000
--- a/node_modules/locutus/php/var/is_integer.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["../../../src/php/var/is_integer.js"],"names":["module","exports","is_integer","mixedVar","_isInt","require"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,UAAT,CAAqBC,QAArB,EAA+B;AAAE;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAIC,SAASC,QAAQ,eAAR,CAAb;AACA,SAAOD,OAAOD,QAAP,CAAP;AACD,CAZD","file":"is_integer.js","sourcesContent":["module.exports = function is_integer (mixedVar) { // eslint-disable-line camelcase\n // discuss at: http://locutus.io/php/is_integer/\n // original by: Paulo Freitas\n // note 1: 1.0 is simplified to 1 before it can be accessed by the function, this makes\n // note 1: it different from the PHP implementation. We can't fix this unfortunately.\n // example 1: is_integer(186.31)\n // returns 1: false\n // example 2: is_integer(12)\n // returns 2: true\n\n var _isInt = require('../var/is_int')\n return _isInt(mixedVar)\n}\n"]} \ No newline at end of file
diff --git a/node_modules/locutus/php/var/is_long.js b/node_modules/locutus/php/var/is_long.js
deleted file mode 100644
index 848e8b8..0000000
--- a/node_modules/locutus/php/var/is_long.js
+++ /dev/null
@@ -1,15 +0,0 @@
-'use strict';
-
-module.exports = function is_long(mixedVar) {
- // eslint-disable-line camelcase
- // discuss at: http://locutus.io/php/is_long/
- // original by: Paulo Freitas
- // note 1: 1.0 is simplified to 1 before it can be accessed by the function, this makes
- // note 1: it different from the PHP implementation. We can't fix this unfortunately.
- // example 1: is_long(186.31)
- // returns 1: true
-
- var _isFloat = require('../var/is_float');
- return _isFloat(mixedVar);
-};
-//# sourceMappingURL=is_long.js.map \ No newline at end of file
diff --git a/node_modules/locutus/php/var/is_long.js.map b/node_modules/locutus/php/var/is_long.js.map
deleted file mode 100644
index ff211b3..0000000
--- a/node_modules/locutus/php/var/is_long.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["../../../src/php/var/is_long.js"],"names":["module","exports","is_long","mixedVar","_isFloat","require"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,OAAT,CAAkBC,QAAlB,EAA4B;AAAE;AAC7C;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAIC,WAAWC,QAAQ,iBAAR,CAAf;AACA,SAAOD,SAASD,QAAT,CAAP;AACD,CAVD","file":"is_long.js","sourcesContent":["module.exports = function is_long (mixedVar) { // eslint-disable-line camelcase\n // discuss at: http://locutus.io/php/is_long/\n // original by: Paulo Freitas\n // note 1: 1.0 is simplified to 1 before it can be accessed by the function, this makes\n // note 1: it different from the PHP implementation. We can't fix this unfortunately.\n // example 1: is_long(186.31)\n // returns 1: true\n\n var _isFloat = require('../var/is_float')\n return _isFloat(mixedVar)\n}\n"]} \ No newline at end of file
diff --git a/node_modules/locutus/php/var/is_null.js b/node_modules/locutus/php/var/is_null.js
deleted file mode 100644
index 6883e95..0000000
--- a/node_modules/locutus/php/var/is_null.js
+++ /dev/null
@@ -1,14 +0,0 @@
-"use strict";
-
-module.exports = function is_null(mixedVar) {
- // eslint-disable-line camelcase
- // discuss at: http://locutus.io/php/is_null/
- // original by: Kevin van Zonneveld (http://kvz.io)
- // example 1: is_null('23')
- // returns 1: false
- // example 2: is_null(null)
- // returns 2: true
-
- return mixedVar === null;
-};
-//# sourceMappingURL=is_null.js.map \ No newline at end of file
diff --git a/node_modules/locutus/php/var/is_null.js.map b/node_modules/locutus/php/var/is_null.js.map
deleted file mode 100644
index 805c8c4..0000000
--- a/node_modules/locutus/php/var/is_null.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["../../../src/php/var/is_null.js"],"names":["module","exports","is_null","mixedVar"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,OAAT,CAAkBC,QAAlB,EAA4B;AAAE;AAC7C;AACA;AACA;AACA;AACA;AACA;;AAEA,SAAQA,aAAa,IAArB;AACD,CATD","file":"is_null.js","sourcesContent":["module.exports = function is_null (mixedVar) { // eslint-disable-line camelcase\n // discuss at: http://locutus.io/php/is_null/\n // original by: Kevin van Zonneveld (http://kvz.io)\n // example 1: is_null('23')\n // returns 1: false\n // example 2: is_null(null)\n // returns 2: true\n\n return (mixedVar === null)\n}\n"]} \ No newline at end of file
diff --git a/node_modules/locutus/php/var/is_numeric.js b/node_modules/locutus/php/var/is_numeric.js
deleted file mode 100644
index b4076a2..0000000
--- a/node_modules/locutus/php/var/is_numeric.js
+++ /dev/null
@@ -1,31 +0,0 @@
-'use strict';
-
-module.exports = function is_numeric(mixedVar) {
- // eslint-disable-line camelcase
- // discuss at: http://locutus.io/php/is_numeric/
- // original by: Kevin van Zonneveld (http://kvz.io)
- // improved by: David
- // improved by: taith
- // bugfixed by: Tim de Koning
- // bugfixed by: WebDevHobo (http://webdevhobo.blogspot.com/)
- // bugfixed by: Brett Zamir (http://brett-zamir.me)
- // bugfixed by: Denis Chenu (http://shnoulle.net)
- // example 1: is_numeric(186.31)
- // returns 1: true
- // example 2: is_numeric('Kevin van Zonneveld')
- // returns 2: false
- // example 3: is_numeric(' +186.31e2')
- // returns 3: true
- // example 4: is_numeric('')
- // returns 4: false
- // example 5: is_numeric([])
- // returns 5: false
- // example 6: is_numeric('1 ')
- // returns 6: false
-
- var whitespace = [' ', '\n', '\r', '\t', '\f', '\x0b', '\xa0', '\u2000', '\u2001', '\u2002', '\u2003', '\u2004', '\u2005', '\u2006', '\u2007', '\u2008', '\u2009', '\u200A', '\u200B', '\u2028', '\u2029', '\u3000'].join('');
-
- // @todo: Break this up using many single conditions with early returns
- return (typeof mixedVar === 'number' || typeof mixedVar === 'string' && whitespace.indexOf(mixedVar.slice(-1)) === -1) && mixedVar !== '' && !isNaN(mixedVar);
-};
-//# sourceMappingURL=is_numeric.js.map \ No newline at end of file
diff --git a/node_modules/locutus/php/var/is_numeric.js.map b/node_modules/locutus/php/var/is_numeric.js.map
deleted file mode 100644
index 57a8c24..0000000
--- a/node_modules/locutus/php/var/is_numeric.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["../../../src/php/var/is_numeric.js"],"names":["module","exports","is_numeric","mixedVar","whitespace","join","indexOf","slice","isNaN"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,UAAT,CAAqBC,QAArB,EAA+B;AAAE;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAIC,aAAa,CACf,GADe,EAEf,IAFe,EAGf,IAHe,EAIf,IAJe,EAKf,IALe,EAMf,MANe,EAOf,MAPe,EAQf,QARe,EASf,QATe,EAUf,QAVe,EAWf,QAXe,EAYf,QAZe,EAaf,QAbe,EAcf,QAde,EAef,QAfe,EAgBf,QAhBe,EAiBf,QAjBe,EAkBf,QAlBe,EAmBf,QAnBe,EAoBf,QApBe,EAqBf,QArBe,EAsBf,QAtBe,EAuBfC,IAvBe,CAuBV,EAvBU,CAAjB;;AAyBA;AACA,SAAO,CAAC,OAAOF,QAAP,KAAoB,QAApB,IACL,OAAOA,QAAP,KAAoB,QAApB,IACDC,WAAWE,OAAX,CAAmBH,SAASI,KAAT,CAAe,CAAC,CAAhB,CAAnB,MAA2C,CAAC,CAFvC,KAGLJ,aAAa,EAHR,IAIL,CAACK,MAAML,QAAN,CAJH;AAKD,CArDD","file":"is_numeric.js","sourcesContent":["module.exports = function is_numeric (mixedVar) { // eslint-disable-line camelcase\n // discuss at: http://locutus.io/php/is_numeric/\n // original by: Kevin van Zonneveld (http://kvz.io)\n // improved by: David\n // improved by: taith\n // bugfixed by: Tim de Koning\n // bugfixed by: WebDevHobo (http://webdevhobo.blogspot.com/)\n // bugfixed by: Brett Zamir (http://brett-zamir.me)\n // bugfixed by: Denis Chenu (http://shnoulle.net)\n // example 1: is_numeric(186.31)\n // returns 1: true\n // example 2: is_numeric('Kevin van Zonneveld')\n // returns 2: false\n // example 3: is_numeric(' +186.31e2')\n // returns 3: true\n // example 4: is_numeric('')\n // returns 4: false\n // example 5: is_numeric([])\n // returns 5: false\n // example 6: is_numeric('1 ')\n // returns 6: false\n\n var whitespace = [\n ' ',\n '\\n',\n '\\r',\n '\\t',\n '\\f',\n '\\x0b',\n '\\xa0',\n '\\u2000',\n '\\u2001',\n '\\u2002',\n '\\u2003',\n '\\u2004',\n '\\u2005',\n '\\u2006',\n '\\u2007',\n '\\u2008',\n '\\u2009',\n '\\u200a',\n '\\u200b',\n '\\u2028',\n '\\u2029',\n '\\u3000'\n ].join('')\n\n // @todo: Break this up using many single conditions with early returns\n return (typeof mixedVar === 'number' ||\n (typeof mixedVar === 'string' &&\n whitespace.indexOf(mixedVar.slice(-1)) === -1)) &&\n mixedVar !== '' &&\n !isNaN(mixedVar)\n}\n"]} \ No newline at end of file
diff --git a/node_modules/locutus/php/var/is_object.js b/node_modules/locutus/php/var/is_object.js
deleted file mode 100644
index 2b29c92..0000000
--- a/node_modules/locutus/php/var/is_object.js
+++ /dev/null
@@ -1,23 +0,0 @@
-'use strict';
-
-var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
-
-module.exports = function is_object(mixedVar) {
- // eslint-disable-line camelcase
- // discuss at: http://locutus.io/php/is_object/
- // original by: Kevin van Zonneveld (http://kvz.io)
- // improved by: Legaev Andrey
- // improved by: Michael White (http://getsprink.com)
- // example 1: is_object('23')
- // returns 1: false
- // example 2: is_object({foo: 'bar'})
- // returns 2: true
- // example 3: is_object(null)
- // returns 3: false
-
- if (Object.prototype.toString.call(mixedVar) === '[object Array]') {
- return false;
- }
- return mixedVar !== null && (typeof mixedVar === 'undefined' ? 'undefined' : _typeof(mixedVar)) === 'object';
-};
-//# sourceMappingURL=is_object.js.map \ No newline at end of file
diff --git a/node_modules/locutus/php/var/is_object.js.map b/node_modules/locutus/php/var/is_object.js.map
deleted file mode 100644
index 0a6e31d..0000000
--- a/node_modules/locutus/php/var/is_object.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["../../../src/php/var/is_object.js"],"names":["module","exports","is_object","mixedVar","Object","prototype","toString","call"],"mappings":";;;;AAAAA,OAAOC,OAAP,GAAiB,SAASC,SAAT,CAAoBC,QAApB,EAA8B;AAAE;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAIC,OAAOC,SAAP,CAAiBC,QAAjB,CAA0BC,IAA1B,CAA+BJ,QAA/B,MAA6C,gBAAjD,EAAmE;AACjE,WAAO,KAAP;AACD;AACD,SAAOA,aAAa,IAAb,IAAqB,QAAOA,QAAP,yCAAOA,QAAP,OAAoB,QAAhD;AACD,CAhBD","file":"is_object.js","sourcesContent":["module.exports = function is_object (mixedVar) { // eslint-disable-line camelcase\n // discuss at: http://locutus.io/php/is_object/\n // original by: Kevin van Zonneveld (http://kvz.io)\n // improved by: Legaev Andrey\n // improved by: Michael White (http://getsprink.com)\n // example 1: is_object('23')\n // returns 1: false\n // example 2: is_object({foo: 'bar'})\n // returns 2: true\n // example 3: is_object(null)\n // returns 3: false\n\n if (Object.prototype.toString.call(mixedVar) === '[object Array]') {\n return false\n }\n return mixedVar !== null && typeof mixedVar === 'object'\n}\n"]} \ No newline at end of file
diff --git a/node_modules/locutus/php/var/is_real.js b/node_modules/locutus/php/var/is_real.js
deleted file mode 100644
index 932cfd4..0000000
--- a/node_modules/locutus/php/var/is_real.js
+++ /dev/null
@@ -1,15 +0,0 @@
-'use strict';
-
-module.exports = function is_real(mixedVar) {
- // eslint-disable-line camelcase
- // discuss at: http://locutus.io/php/is_real/
- // original by: Brett Zamir (http://brett-zamir.me)
- // note 1: 1.0 is simplified to 1 before it can be accessed by the function, this makes
- // note 1: it different from the PHP implementation. We can't fix this unfortunately.
- // example 1: is_real(186.31)
- // returns 1: true
-
- var _isFloat = require('../var/is_float');
- return _isFloat(mixedVar);
-};
-//# sourceMappingURL=is_real.js.map \ No newline at end of file
diff --git a/node_modules/locutus/php/var/is_real.js.map b/node_modules/locutus/php/var/is_real.js.map
deleted file mode 100644
index 771afff..0000000
--- a/node_modules/locutus/php/var/is_real.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["../../../src/php/var/is_real.js"],"names":["module","exports","is_real","mixedVar","_isFloat","require"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,OAAT,CAAkBC,QAAlB,EAA4B;AAAE;AAC7C;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAIC,WAAWC,QAAQ,iBAAR,CAAf;AACA,SAAOD,SAASD,QAAT,CAAP;AACD,CAVD","file":"is_real.js","sourcesContent":["module.exports = function is_real (mixedVar) { // eslint-disable-line camelcase\n // discuss at: http://locutus.io/php/is_real/\n // original by: Brett Zamir (http://brett-zamir.me)\n // note 1: 1.0 is simplified to 1 before it can be accessed by the function, this makes\n // note 1: it different from the PHP implementation. We can't fix this unfortunately.\n // example 1: is_real(186.31)\n // returns 1: true\n\n var _isFloat = require('../var/is_float')\n return _isFloat(mixedVar)\n}\n"]} \ No newline at end of file
diff --git a/node_modules/locutus/php/var/is_scalar.js b/node_modules/locutus/php/var/is_scalar.js
deleted file mode 100644
index 16df4c4..0000000
--- a/node_modules/locutus/php/var/is_scalar.js
+++ /dev/null
@@ -1,17 +0,0 @@
-"use strict";
-
-var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
-
-module.exports = function is_scalar(mixedVar) {
- // eslint-disable-line camelcase
- // discuss at: http://locutus.io/php/is_scalar/
- // original by: Paulo Freitas
- // example 1: is_scalar(186.31)
- // returns 1: true
- // example 2: is_scalar({0: 'Kevin van Zonneveld'})
- // returns 2: false
-
- return (/boolean|number|string/.test(typeof mixedVar === "undefined" ? "undefined" : _typeof(mixedVar))
- );
-};
-//# sourceMappingURL=is_scalar.js.map \ No newline at end of file
diff --git a/node_modules/locutus/php/var/is_scalar.js.map b/node_modules/locutus/php/var/is_scalar.js.map
deleted file mode 100644
index 3f28f10..0000000
--- a/node_modules/locutus/php/var/is_scalar.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["../../../src/php/var/is_scalar.js"],"names":["module","exports","is_scalar","mixedVar","test"],"mappings":";;;;AAAAA,OAAOC,OAAP,GAAiB,SAASC,SAAT,CAAoBC,QAApB,EAA8B;AAAE;AAC/C;AACA;AACA;AACA;AACA;AACA;;AAEA,SAAQ,wBAAD,CAA0BC,IAA1B,QAAsCD,QAAtC,yCAAsCA,QAAtC;AAAP;AACD,CATD","file":"is_scalar.js","sourcesContent":["module.exports = function is_scalar (mixedVar) { // eslint-disable-line camelcase\n // discuss at: http://locutus.io/php/is_scalar/\n // original by: Paulo Freitas\n // example 1: is_scalar(186.31)\n // returns 1: true\n // example 2: is_scalar({0: 'Kevin van Zonneveld'})\n // returns 2: false\n\n return (/boolean|number|string/).test(typeof mixedVar)\n}\n"]} \ No newline at end of file
diff --git a/node_modules/locutus/php/var/is_string.js b/node_modules/locutus/php/var/is_string.js
deleted file mode 100644
index b3560eb..0000000
--- a/node_modules/locutus/php/var/is_string.js
+++ /dev/null
@@ -1,14 +0,0 @@
-'use strict';
-
-module.exports = function is_string(mixedVar) {
- // eslint-disable-line camelcase
- // discuss at: http://locutus.io/php/is_string/
- // original by: Kevin van Zonneveld (http://kvz.io)
- // example 1: is_string('23')
- // returns 1: true
- // example 2: is_string(23.5)
- // returns 2: false
-
- return typeof mixedVar === 'string';
-};
-//# sourceMappingURL=is_string.js.map \ No newline at end of file
diff --git a/node_modules/locutus/php/var/is_string.js.map b/node_modules/locutus/php/var/is_string.js.map
deleted file mode 100644
index 12243be..0000000
--- a/node_modules/locutus/php/var/is_string.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["../../../src/php/var/is_string.js"],"names":["module","exports","is_string","mixedVar"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,SAAT,CAAoBC,QAApB,EAA8B;AAAE;AAC/C;AACA;AACA;AACA;AACA;AACA;;AAEA,SAAQ,OAAOA,QAAP,KAAoB,QAA5B;AACD,CATD","file":"is_string.js","sourcesContent":["module.exports = function is_string (mixedVar) { // eslint-disable-line camelcase\n // discuss at: http://locutus.io/php/is_string/\n // original by: Kevin van Zonneveld (http://kvz.io)\n // example 1: is_string('23')\n // returns 1: true\n // example 2: is_string(23.5)\n // returns 2: false\n\n return (typeof mixedVar === 'string')\n}\n"]} \ No newline at end of file
diff --git a/node_modules/locutus/php/var/is_unicode.js b/node_modules/locutus/php/var/is_unicode.js
deleted file mode 100644
index 52b0a94..0000000
--- a/node_modules/locutus/php/var/is_unicode.js
+++ /dev/null
@@ -1,39 +0,0 @@
-'use strict';
-
-module.exports = function is_unicode(vr) {
- // eslint-disable-line camelcase
- // discuss at: http://locutus.io/php/is_unicode/
- // original by: Brett Zamir (http://brett-zamir.me)
- // note 1: Almost all strings in JavaScript should be Unicode
- // example 1: is_unicode('We the peoples of the United Nations...!')
- // returns 1: true
-
- if (typeof vr !== 'string') {
- return false;
- }
-
- // If surrogates occur outside of high-low pairs, then this is not Unicode
- var arr = [];
- var highSurrogate = '[\uD800-\uDBFF]';
- var lowSurrogate = '[\uDC00-\uDFFF]';
- var highSurrogateBeforeAny = new RegExp(highSurrogate + '([\\s\\S])', 'g');
- var lowSurrogateAfterAny = new RegExp('([\\s\\S])' + lowSurrogate, 'g');
- var singleLowSurrogate = new RegExp('^' + lowSurrogate + '$');
- var singleHighSurrogate = new RegExp('^' + highSurrogate + '$');
-
- while ((arr = highSurrogateBeforeAny.exec(vr)) !== null) {
- if (!arr[1] || !arr[1].match(singleLowSurrogate)) {
- // If high not followed by low surrogate
- return false;
- }
- }
- while ((arr = lowSurrogateAfterAny.exec(vr)) !== null) {
- if (!arr[1] || !arr[1].match(singleHighSurrogate)) {
- // If low not preceded by high surrogate
- return false;
- }
- }
-
- return true;
-};
-//# sourceMappingURL=is_unicode.js.map \ No newline at end of file
diff --git a/node_modules/locutus/php/var/is_unicode.js.map b/node_modules/locutus/php/var/is_unicode.js.map
deleted file mode 100644
index fbfa483..0000000
--- a/node_modules/locutus/php/var/is_unicode.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["../../../src/php/var/is_unicode.js"],"names":["module","exports","is_unicode","vr","arr","highSurrogate","lowSurrogate","highSurrogateBeforeAny","RegExp","lowSurrogateAfterAny","singleLowSurrogate","singleHighSurrogate","exec","match"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,UAAT,CAAqBC,EAArB,EAAyB;AAAE;AAC1C;AACA;AACA;AACA;AACA;;AAEA,MAAI,OAAOA,EAAP,KAAc,QAAlB,EAA4B;AAC1B,WAAO,KAAP;AACD;;AAED;AACA,MAAIC,MAAM,EAAV;AACA,MAAIC,gBAAgB,iBAApB;AACA,MAAIC,eAAe,iBAAnB;AACA,MAAIC,yBAAyB,IAAIC,MAAJ,CAAWH,gBAAgB,YAA3B,EAAyC,GAAzC,CAA7B;AACA,MAAII,uBAAuB,IAAID,MAAJ,CAAW,eAAeF,YAA1B,EAAwC,GAAxC,CAA3B;AACA,MAAII,qBAAqB,IAAIF,MAAJ,CAAW,MAAMF,YAAN,GAAqB,GAAhC,CAAzB;AACA,MAAIK,sBAAsB,IAAIH,MAAJ,CAAW,MAAMH,aAAN,GAAsB,GAAjC,CAA1B;;AAEA,SAAO,CAACD,MAAMG,uBAAuBK,IAAvB,CAA4BT,EAA5B,CAAP,MAA4C,IAAnD,EAAyD;AACvD,QAAI,CAACC,IAAI,CAAJ,CAAD,IAAW,CAACA,IAAI,CAAJ,EAAOS,KAAP,CAAaH,kBAAb,CAAhB,EAAkD;AAChD;AACA,aAAO,KAAP;AACD;AACF;AACD,SAAO,CAACN,MAAMK,qBAAqBG,IAArB,CAA0BT,EAA1B,CAAP,MAA0C,IAAjD,EAAuD;AACrD,QAAI,CAACC,IAAI,CAAJ,CAAD,IAAW,CAACA,IAAI,CAAJ,EAAOS,KAAP,CAAaF,mBAAb,CAAhB,EAAmD;AACjD;AACA,aAAO,KAAP;AACD;AACF;;AAED,SAAO,IAAP;AACD,CAlCD","file":"is_unicode.js","sourcesContent":["module.exports = function is_unicode (vr) { // eslint-disable-line camelcase\n // discuss at: http://locutus.io/php/is_unicode/\n // original by: Brett Zamir (http://brett-zamir.me)\n // note 1: Almost all strings in JavaScript should be Unicode\n // example 1: is_unicode('We the peoples of the United Nations...!')\n // returns 1: true\n\n if (typeof vr !== 'string') {\n return false\n }\n\n // If surrogates occur outside of high-low pairs, then this is not Unicode\n var arr = []\n var highSurrogate = '[\\uD800-\\uDBFF]'\n var lowSurrogate = '[\\uDC00-\\uDFFF]'\n var highSurrogateBeforeAny = new RegExp(highSurrogate + '([\\\\s\\\\S])', 'g')\n var lowSurrogateAfterAny = new RegExp('([\\\\s\\\\S])' + lowSurrogate, 'g')\n var singleLowSurrogate = new RegExp('^' + lowSurrogate + '$')\n var singleHighSurrogate = new RegExp('^' + highSurrogate + '$')\n\n while ((arr = highSurrogateBeforeAny.exec(vr)) !== null) {\n if (!arr[1] || !arr[1].match(singleLowSurrogate)) {\n // If high not followed by low surrogate\n return false\n }\n }\n while ((arr = lowSurrogateAfterAny.exec(vr)) !== null) {\n if (!arr[1] || !arr[1].match(singleHighSurrogate)) {\n // If low not preceded by high surrogate\n return false\n }\n }\n\n return true\n}\n"]} \ No newline at end of file
diff --git a/node_modules/locutus/php/var/isset.js b/node_modules/locutus/php/var/isset.js
deleted file mode 100644
index 48108c2..0000000
--- a/node_modules/locutus/php/var/isset.js
+++ /dev/null
@@ -1,32 +0,0 @@
-'use strict';
-
-module.exports = function isset() {
- // discuss at: http://locutus.io/php/isset/
- // original by: Kevin van Zonneveld (http://kvz.io)
- // improved by: FremyCompany
- // improved by: Onno Marsman (https://twitter.com/onnomarsman)
- // improved by: Rafał Kukawski (http://blog.kukawski.pl)
- // example 1: isset( undefined, true)
- // returns 1: false
- // example 2: isset( 'Kevin van Zonneveld' )
- // returns 2: true
-
- var a = arguments;
- var l = a.length;
- var i = 0;
- var undef;
-
- if (l === 0) {
- throw new Error('Empty isset');
- }
-
- while (i !== l) {
- if (a[i] === undef || a[i] === null) {
- return false;
- }
- i++;
- }
-
- return true;
-};
-//# sourceMappingURL=isset.js.map \ No newline at end of file
diff --git a/node_modules/locutus/php/var/isset.js.map b/node_modules/locutus/php/var/isset.js.map
deleted file mode 100644
index c62da64..0000000
--- a/node_modules/locutus/php/var/isset.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["../../../src/php/var/isset.js"],"names":["module","exports","isset","a","arguments","l","length","i","undef","Error"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,KAAT,GAAkB;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAIC,IAAIC,SAAR;AACA,MAAIC,IAAIF,EAAEG,MAAV;AACA,MAAIC,IAAI,CAAR;AACA,MAAIC,KAAJ;;AAEA,MAAIH,MAAM,CAAV,EAAa;AACX,UAAM,IAAII,KAAJ,CAAU,aAAV,CAAN;AACD;;AAED,SAAOF,MAAMF,CAAb,EAAgB;AACd,QAAIF,EAAEI,CAAF,MAASC,KAAT,IAAkBL,EAAEI,CAAF,MAAS,IAA/B,EAAqC;AACnC,aAAO,KAAP;AACD;AACDA;AACD;;AAED,SAAO,IAAP;AACD,CA5BD","file":"isset.js","sourcesContent":["module.exports = function isset () {\n // discuss at: http://locutus.io/php/isset/\n // original by: Kevin van Zonneveld (http://kvz.io)\n // improved by: FremyCompany\n // improved by: Onno Marsman (https://twitter.com/onnomarsman)\n // improved by: Rafał Kukawski (http://blog.kukawski.pl)\n // example 1: isset( undefined, true)\n // returns 1: false\n // example 2: isset( 'Kevin van Zonneveld' )\n // returns 2: true\n\n var a = arguments\n var l = a.length\n var i = 0\n var undef\n\n if (l === 0) {\n throw new Error('Empty isset')\n }\n\n while (i !== l) {\n if (a[i] === undef || a[i] === null) {\n return false\n }\n i++\n }\n\n return true\n}\n"]} \ No newline at end of file
diff --git a/node_modules/locutus/php/var/print_r.js b/node_modules/locutus/php/var/print_r.js
deleted file mode 100644
index 534ebe3..0000000
--- a/node_modules/locutus/php/var/print_r.js
+++ /dev/null
@@ -1,75 +0,0 @@
-'use strict';
-
-var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
-
-module.exports = function print_r(array, returnVal) {
- // eslint-disable-line camelcase
- // discuss at: http://locutus.io/php/print_r/
- // original by: Michael White (http://getsprink.com)
- // improved by: Ben Bryan
- // improved by: Brett Zamir (http://brett-zamir.me)
- // improved by: Kevin van Zonneveld (http://kvz.io)
- // input by: Brett Zamir (http://brett-zamir.me)
- // example 1: print_r(1, true)
- // returns 1: '1'
-
- var echo = require('../strings/echo');
-
- var output = '';
- var padChar = ' ';
- var padVal = 4;
-
- var _repeatChar = function _repeatChar(len, padChar) {
- var str = '';
- for (var i = 0; i < len; i++) {
- str += padChar;
- }
- return str;
- };
- var _formatArray = function _formatArray(obj, curDepth, padVal, padChar) {
- if (curDepth > 0) {
- curDepth++;
- }
-
- var basePad = _repeatChar(padVal * curDepth, padChar);
- var thickPad = _repeatChar(padVal * (curDepth + 1), padChar);
- var str = '';
-
- if ((typeof obj === 'undefined' ? 'undefined' : _typeof(obj)) === 'object' && obj !== null && obj.constructor) {
- str += 'Array\n' + basePad + '(\n';
- for (var key in obj) {
- if (Object.prototype.toString.call(obj[key]) === '[object Array]') {
- str += thickPad;
- str += '[';
- str += key;
- str += '] => ';
- str += _formatArray(obj[key], curDepth + 1, padVal, padChar);
- } else {
- str += thickPad;
- str += '[';
- str += key;
- str += '] => ';
- str += obj[key];
- str += '\n';
- }
- }
- str += basePad + ')\n';
- } else if (obj === null || obj === undefined) {
- str = '';
- } else {
- // for our "resource" class
- str = obj.toString();
- }
-
- return str;
- };
-
- output = _formatArray(array, 0, padVal, padChar);
-
- if (returnVal !== true) {
- echo(output);
- return true;
- }
- return output;
-};
-//# sourceMappingURL=print_r.js.map \ No newline at end of file
diff --git a/node_modules/locutus/php/var/print_r.js.map b/node_modules/locutus/php/var/print_r.js.map
deleted file mode 100644
index 964adcc..0000000
--- a/node_modules/locutus/php/var/print_r.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["../../../src/php/var/print_r.js"],"names":["module","exports","print_r","array","returnVal","echo","require","output","padChar","padVal","_repeatChar","len","str","i","_formatArray","obj","curDepth","basePad","thickPad","constructor","key","Object","prototype","toString","call","undefined"],"mappings":";;;;AAAAA,OAAOC,OAAP,GAAiB,SAASC,OAAT,CAAkBC,KAAlB,EAAyBC,SAAzB,EAAoC;AAAE;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAIC,OAAOC,QAAQ,iBAAR,CAAX;;AAEA,MAAIC,SAAS,EAAb;AACA,MAAIC,UAAU,GAAd;AACA,MAAIC,SAAS,CAAb;;AAEA,MAAIC,cAAc,SAAdA,WAAc,CAAUC,GAAV,EAAeH,OAAf,EAAwB;AACxC,QAAII,MAAM,EAAV;AACA,SAAK,IAAIC,IAAI,CAAb,EAAgBA,IAAIF,GAApB,EAAyBE,GAAzB,EAA8B;AAC5BD,aAAOJ,OAAP;AACD;AACD,WAAOI,GAAP;AACD,GAND;AAOA,MAAIE,eAAe,SAAfA,YAAe,CAAUC,GAAV,EAAeC,QAAf,EAAyBP,MAAzB,EAAiCD,OAAjC,EAA0C;AAC3D,QAAIQ,WAAW,CAAf,EAAkB;AAChBA;AACD;;AAED,QAAIC,UAAUP,YAAYD,SAASO,QAArB,EAA+BR,OAA/B,CAAd;AACA,QAAIU,WAAWR,YAAYD,UAAUO,WAAW,CAArB,CAAZ,EAAqCR,OAArC,CAAf;AACA,QAAII,MAAM,EAAV;;AAEA,QAAI,QAAOG,GAAP,yCAAOA,GAAP,OAAe,QAAf,IACFA,QAAQ,IADN,IAEFA,IAAII,WAFN,EAEmB;AACjBP,aAAO,YAAYK,OAAZ,GAAsB,KAA7B;AACA,WAAK,IAAIG,GAAT,IAAgBL,GAAhB,EAAqB;AACnB,YAAIM,OAAOC,SAAP,CAAiBC,QAAjB,CAA0BC,IAA1B,CAA+BT,IAAIK,GAAJ,CAA/B,MAA6C,gBAAjD,EAAmE;AACjER,iBAAOM,QAAP;AACAN,iBAAO,GAAP;AACAA,iBAAOQ,GAAP;AACAR,iBAAO,OAAP;AACAA,iBAAOE,aAAaC,IAAIK,GAAJ,CAAb,EAAuBJ,WAAW,CAAlC,EAAqCP,MAArC,EAA6CD,OAA7C,CAAP;AACD,SAND,MAMO;AACLI,iBAAOM,QAAP;AACAN,iBAAO,GAAP;AACAA,iBAAOQ,GAAP;AACAR,iBAAO,OAAP;AACAA,iBAAOG,IAAIK,GAAJ,CAAP;AACAR,iBAAO,IAAP;AACD;AACF;AACDA,aAAOK,UAAU,KAAjB;AACD,KArBD,MAqBO,IAAIF,QAAQ,IAAR,IAAgBA,QAAQU,SAA5B,EAAuC;AAC5Cb,YAAM,EAAN;AACD,KAFM,MAEA;AACL;AACAA,YAAMG,IAAIQ,QAAJ,EAAN;AACD;;AAED,WAAOX,GAAP;AACD,GAtCD;;AAwCAL,WAASO,aAAaX,KAAb,EAAoB,CAApB,EAAuBM,MAAvB,EAA+BD,OAA/B,CAAT;;AAEA,MAAIJ,cAAc,IAAlB,EAAwB;AACtBC,SAAKE,MAAL;AACA,WAAO,IAAP;AACD;AACD,SAAOA,MAAP;AACD,CAtED","file":"print_r.js","sourcesContent":["module.exports = function print_r (array, returnVal) { // eslint-disable-line camelcase\n // discuss at: http://locutus.io/php/print_r/\n // original by: Michael White (http://getsprink.com)\n // improved by: Ben Bryan\n // improved by: Brett Zamir (http://brett-zamir.me)\n // improved by: Kevin van Zonneveld (http://kvz.io)\n // input by: Brett Zamir (http://brett-zamir.me)\n // example 1: print_r(1, true)\n // returns 1: '1'\n\n var echo = require('../strings/echo')\n\n var output = ''\n var padChar = ' '\n var padVal = 4\n\n var _repeatChar = function (len, padChar) {\n var str = ''\n for (var i = 0; i < len; i++) {\n str += padChar\n }\n return str\n }\n var _formatArray = function (obj, curDepth, padVal, padChar) {\n if (curDepth > 0) {\n curDepth++\n }\n\n var basePad = _repeatChar(padVal * curDepth, padChar)\n var thickPad = _repeatChar(padVal * (curDepth + 1), padChar)\n var str = ''\n\n if (typeof obj === 'object' &&\n obj !== null &&\n obj.constructor) {\n str += 'Array\\n' + basePad + '(\\n'\n for (var key in obj) {\n if (Object.prototype.toString.call(obj[key]) === '[object Array]') {\n str += thickPad\n str += '['\n str += key\n str += '] => '\n str += _formatArray(obj[key], curDepth + 1, padVal, padChar)\n } else {\n str += thickPad\n str += '['\n str += key\n str += '] => '\n str += obj[key]\n str += '\\n'\n }\n }\n str += basePad + ')\\n'\n } else if (obj === null || obj === undefined) {\n str = ''\n } else {\n // for our \"resource\" class\n str = obj.toString()\n }\n\n return str\n }\n\n output = _formatArray(array, 0, padVal, padChar)\n\n if (returnVal !== true) {\n echo(output)\n return true\n }\n return output\n}\n"]} \ No newline at end of file
diff --git a/node_modules/locutus/php/var/serialize.js b/node_modules/locutus/php/var/serialize.js
deleted file mode 100644
index 63cb8e8..0000000
--- a/node_modules/locutus/php/var/serialize.js
+++ /dev/null
@@ -1,128 +0,0 @@
-'use strict';
-
-var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
-
-module.exports = function serialize(mixedValue) {
- // discuss at: http://locutus.io/php/serialize/
- // original by: Arpad Ray (mailto:arpad@php.net)
- // improved by: Dino
- // improved by: Le Torbi (http://www.letorbi.de/)
- // improved by: Kevin van Zonneveld (http://kvz.io/)
- // bugfixed by: Andrej Pavlovic
- // bugfixed by: Garagoth
- // bugfixed by: Russell Walker (http://www.nbill.co.uk/)
- // bugfixed by: Jamie Beck (http://www.terabit.ca/)
- // bugfixed by: Kevin van Zonneveld (http://kvz.io/)
- // bugfixed by: Ben (http://benblume.co.uk/)
- // bugfixed by: Codestar (http://codestarlive.com/)
- // bugfixed by: idjem (https://github.com/idjem)
- // input by: DtTvB (http://dt.in.th/2008-09-16.string-length-in-bytes.html)
- // input by: Martin (http://www.erlenwiese.de/)
- // note 1: We feel the main purpose of this function should be to ease
- // note 1: the transport of data between php & js
- // note 1: Aiming for PHP-compatibility, we have to translate objects to arrays
- // example 1: serialize(['Kevin', 'van', 'Zonneveld'])
- // returns 1: 'a:3:{i:0;s:5:"Kevin";i:1;s:3:"van";i:2;s:9:"Zonneveld";}'
- // example 2: serialize({firstName: 'Kevin', midName: 'van'})
- // returns 2: 'a:2:{s:9:"firstName";s:5:"Kevin";s:7:"midName";s:3:"van";}'
- // example 3: serialize( {'ü': 'ü', '四': '四', '𠜎': '𠜎'})
- // returns 3: 'a:3:{s:2:"ü";s:2:"ü";s:3:"四";s:3:"四";s:4:"𠜎";s:4:"𠜎";}'
-
- var val, key, okey;
- var ktype = '';
- var vals = '';
- var count = 0;
-
- var _utf8Size = function _utf8Size(str) {
- return ~-encodeURI(str).split(/%..|./).length;
- };
-
- var _getType = function _getType(inp) {
- var match;
- var key;
- var cons;
- var types;
- var type = typeof inp === 'undefined' ? 'undefined' : _typeof(inp);
-
- if (type === 'object' && !inp) {
- return 'null';
- }
-
- if (type === 'object') {
- if (!inp.constructor) {
- return 'object';
- }
- cons = inp.constructor.toString();
- match = cons.match(/(\w+)\(/);
- if (match) {
- cons = match[1].toLowerCase();
- }
- types = ['boolean', 'number', 'string', 'array'];
- for (key in types) {
- if (cons === types[key]) {
- type = types[key];
- break;
- }
- }
- }
- return type;
- };
-
- var type = _getType(mixedValue);
-
- switch (type) {
- case 'function':
- val = '';
- break;
- case 'boolean':
- val = 'b:' + (mixedValue ? '1' : '0');
- break;
- case 'number':
- val = (Math.round(mixedValue) === mixedValue ? 'i' : 'd') + ':' + mixedValue;
- break;
- case 'string':
- val = 's:' + _utf8Size(mixedValue) + ':"' + mixedValue + '"';
- break;
- case 'array':
- case 'object':
- val = 'a';
- /*
- if (type === 'object') {
- var objname = mixedValue.constructor.toString().match(/(\w+)\(\)/);
- if (objname === undefined) {
- return;
- }
- objname[1] = serialize(objname[1]);
- val = 'O' + objname[1].substring(1, objname[1].length - 1);
- }
- */
-
- for (key in mixedValue) {
- if (mixedValue.hasOwnProperty(key)) {
- ktype = _getType(mixedValue[key]);
- if (ktype === 'function') {
- continue;
- }
-
- okey = key.match(/^[0-9]+$/) ? parseInt(key, 10) : key;
- vals += serialize(okey) + serialize(mixedValue[key]);
- count++;
- }
- }
- val += ':' + count + ':{' + vals + '}';
- break;
- case 'undefined':
- default:
- // Fall-through
- // if the JS object has a property which contains a null value,
- // the string cannot be unserialized by PHP
- val = 'N';
- break;
- }
- if (type !== 'object' && type !== 'array') {
- val += ';';
- }
-
- return val;
-};
-//# sourceMappingURL=serialize.js.map \ No newline at end of file
diff --git a/node_modules/locutus/php/var/serialize.js.map b/node_modules/locutus/php/var/serialize.js.map
deleted file mode 100644
index 29940bf..0000000
--- a/node_modules/locutus/php/var/serialize.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["../../../src/php/var/serialize.js"],"names":["module","exports","serialize","mixedValue","val","key","okey","ktype","vals","count","_utf8Size","str","encodeURI","split","length","_getType","inp","match","cons","types","type","constructor","toString","toLowerCase","Math","round","hasOwnProperty","parseInt"],"mappings":";;;;AAAAA,OAAOC,OAAP,GAAiB,SAASC,SAAT,CAAoBC,UAApB,EAAgC;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAIC,GAAJ,EAASC,GAAT,EAAcC,IAAd;AACA,MAAIC,QAAQ,EAAZ;AACA,MAAIC,OAAO,EAAX;AACA,MAAIC,QAAQ,CA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A;AACF,SAAK,QAAL;AACEC,YAAM,OAAOM,UAAUP,UAAV,CAAP,GAA+B,IAA/B,GAAsCA,UAAtC,GAAmD,GAAzD;AACA;AACF,SAAK,OAAL;AACA,SAAK,QAAL;AACEC,YAAM,GAAN;AACA;;;;;;;;;;;AAWA,WAAKC,GAAL,IAAYF,UAAZ,EAAwB;AACtB,YAAIA,WAAWuB,cAAX,CAA0BrB,GAA1B,CAAJ,EAAoC;AAClCE,kBAAQQ,SAASZ,WAAWE,GAAX,CAAT,CAAR;AACA,cAAIE,UAAU,UAAd,EAA0B;AACxB;AACD;;AAEDD,iBAAQD,IAAIY,KAAJ,CAAU,UAAV,IAAwBU,SAAStB,GAAT,EAAc,EAAd,CAAxB,GAA4CA,GAApD;AACAG,kBAAQN,UAAUI,IAAV,IAAkBJ,UAAUC,WAAWE,GAAX,CAAV,CAA1B;AACAI;AACD;AACF;AACDL,aAAO,MAAMK,KAAN,GAAc,IAAd,GAAqBD,IAArB,GAA4B,GAAnC;AACA;AACF,SAAK,WAAL;AACA;AACE;AACA;AACA;AACAJ,YAAM,GAAN;AACA;AA/CJ;AAiDA,MAAIgB,SAAS,QAAT,IAAqBA,SAAS,OAAlC,EAA2C;AACzChB,WAAO,GAAP;AACD;;AAED,SAAOA,GAAP;AACD,CA1HD","file":"serialize.js","sourcesContent":["module.exports = function serialize (mixedValue) {\n // discuss at: http://locutus.io/php/serialize/\n // original by: Arpad Ray (mailto:arpad@php.net)\n // improved by: Dino\n // improved by: Le Torbi (http://www.letorbi.de/)\n // improved by: Kevin van Zonneveld (http://kvz.io/)\n // bugfixed by: Andrej Pavlovic\n // bugfixed by: Garagoth\n // bugfixed by: Russell Walker (http://www.nbill.co.uk/)\n // bugfixed by: Jamie Beck (http://www.terabit.ca/)\n // bugfixed by: Kevin van Zonneveld (http://kvz.io/)\n // bugfixed by: Ben (http://benblume.co.uk/)\n // bugfixed by: Codestar (http://codestarlive.com/)\n // bugfixed by: idjem (https://github.com/idjem)\n // input by: DtTvB (http://dt.in.th/2008-09-16.string-length-in-bytes.html)\n // input by: Martin (http://www.erlenwiese.de/)\n // note 1: We feel the main purpose of this function should be to ease\n // note 1: the transport of data between php & js\n // note 1: Aiming for PHP-compatibility, we have to translate objects to arrays\n // example 1: serialize(['Kevin', 'van', 'Zonneveld'])\n // returns 1: 'a:3:{i:0;s:5:\"Kevin\";i:1;s:3:\"van\";i:2;s:9:\"Zonneveld\";}'\n // example 2: serialize({firstName: 'Kevin', midName: 'van'})\n // returns 2: 'a:2:{s:9:\"firstName\";s:5:\"Kevin\";s:7:\"midName\";s:3:\"van\";}'\n // example 3: serialize( {'ü': 'ü', '四': '四', '𠜎': '𠜎'})\n // returns 3: 'a:3:{s:2:\"ü\";s:2:\"ü\";s:3:\"四\";s:3:\"四\";s:4:\"𠜎\";s:4:\"𠜎\";}'\n\n var val, key, okey\n var ktype = ''\n var vals = ''\n var count = 0\n\n var _utf8Size = function (str) {\n return ~-encodeURI(str).split(/%..|./).length\n }\n\n var _getType = function (inp) {\n var match\n var key\n var cons\n var types\n var type = typeof inp\n\n if (type === 'object' && !inp) {\n return 'null'\n }\n\n if (type === 'object') {\n if (!inp.constructor) {\n return 'object'\n }\n cons = inp.constructor.toString()\n match = cons.match(/(\\w+)\\(/)\n if (match) {\n cons = match[1].toLowerCase()\n }\n types = ['boolean', 'number', 'string', 'array']\n for (key in types) {\n if (cons === types[key]) {\n type = types[key]\n break\n }\n }\n }\n return type\n }\n\n var type = _getType(mixedValue)\n\n switch (type) {\n case 'function':\n val = ''\n break\n case 'boolean':\n val = 'b:' + (mixedValue ? '1' : '0')\n break\n case 'number':\n val = (Math.round(mixedValue) === mixedValue ? 'i' : 'd') + ':' + mixedValue\n break\n case 'string':\n val = 's:' + _utf8Size(mixedValue) + ':\"' + mixedValue + '\"'\n break\n case 'array':\n case 'object':\n val = 'a'\n /*\n if (type === 'object') {\n var objname = mixedValue.constructor.toString().match(/(\\w+)\\(\\)/);\n if (objname === undefined) {\n return;\n }\n objname[1] = serialize(objname[1]);\n val = 'O' + objname[1].substring(1, objname[1].length - 1);\n }\n */\n\n for (key in mixedValue) {\n if (mixedValue.hasOwnProperty(key)) {\n ktype = _getType(mixedValue[key])\n if (ktype === 'function') {\n continue\n }\n\n okey = (key.match(/^[0-9]+$/) ? parseInt(key, 10) : key)\n vals += serialize(okey) + serialize(mixedValue[key])\n count++\n }\n }\n val += ':' + count + ':{' + vals + '}'\n break\n case 'undefined':\n default:\n // Fall-through\n // if the JS object has a property which contains a null value,\n // the string cannot be unserialized by PHP\n val = 'N'\n break\n }\n if (type !== 'object' && type !== 'array') {\n val += ';'\n }\n\n return val\n}\n"]} \ No newline at end of file
diff --git a/node_modules/locutus/php/var/strval.js b/node_modules/locutus/php/var/strval.js
deleted file mode 100644
index a9d9b08..0000000
--- a/node_modules/locutus/php/var/strval.js
+++ /dev/null
@@ -1,36 +0,0 @@
-'use strict';
-
-module.exports = function strval(str) {
- // discuss at: http://locutus.io/php/strval/
- // original by: Brett Zamir (http://brett-zamir.me)
- // improved by: Kevin van Zonneveld (http://kvz.io)
- // bugfixed by: Brett Zamir (http://brett-zamir.me)
- // example 1: strval({red: 1, green: 2, blue: 3, white: 4})
- // returns 1: 'Object'
-
- var gettype = require('../var/gettype');
- var type = '';
-
- if (str === null) {
- return '';
- }
-
- type = gettype(str);
-
- // Comment out the entire switch if you want JS-like
- // behavior instead of PHP behavior
- switch (type) {
- case 'boolean':
- if (str === true) {
- return '1';
- }
- return '';
- case 'array':
- return 'Array';
- case 'object':
- return 'Object';
- }
-
- return str;
-};
-//# sourceMappingURL=strval.js.map \ No newline at end of file
diff --git a/node_modules/locutus/php/var/strval.js.map b/node_modules/locutus/php/var/strval.js.map
deleted file mode 100644
index 4661716..0000000
--- a/node_modules/locutus/php/var/strval.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["../../../src/php/var/strval.js"],"names":["module","exports","strval","str","gettype","require","type"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,MAAT,CAAiBC,GAAjB,EAAsB;AACrC;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAIC,UAAUC,QAAQ,gBAAR,CAAd;AACA,MAAIC,OAAO,EAAX;;AAEA,MAAIH,QAAQ,IAAZ,EAAkB;AAChB,WAAO,EAAP;AACD;;AAEDG,SAAOF,QAAQD,GAAR,CAAP;;AAEA;AACA;AACA,UAAQG,IAAR;AACE,SAAK,SAAL;AACE,UAAIH,QAAQ,IAAZ,EAAkB;AAChB,eAAO,GAAP;AACD;AACD,aAAO,EAAP;AACF,SAAK,OAAL;AACE,aAAO,OAAP;AACF,SAAK,QAAL;AACE,aAAO,QAAP;AATJ;;AAYA,SAAOA,GAAP;AACD,CAhCD","file":"strval.js","sourcesContent":["module.exports = function strval (str) {\n // discuss at: http://locutus.io/php/strval/\n // original by: Brett Zamir (http://brett-zamir.me)\n // improved by: Kevin van Zonneveld (http://kvz.io)\n // bugfixed by: Brett Zamir (http://brett-zamir.me)\n // example 1: strval({red: 1, green: 2, blue: 3, white: 4})\n // returns 1: 'Object'\n\n var gettype = require('../var/gettype')\n var type = ''\n\n if (str === null) {\n return ''\n }\n\n type = gettype(str)\n\n // Comment out the entire switch if you want JS-like\n // behavior instead of PHP behavior\n switch (type) {\n case 'boolean':\n if (str === true) {\n return '1'\n }\n return ''\n case 'array':\n return 'Array'\n case 'object':\n return 'Object'\n }\n\n return str\n}\n"]} \ No newline at end of file
diff --git a/node_modules/locutus/php/var/unserialize.js b/node_modules/locutus/php/var/unserialize.js
deleted file mode 100644
index 048a133..0000000
--- a/node_modules/locutus/php/var/unserialize.js
+++ /dev/null
@@ -1,204 +0,0 @@
-'use strict';
-
-module.exports = function unserialize(data) {
- // discuss at: http://locutus.io/php/unserialize/
- // original by: Arpad Ray (mailto:arpad@php.net)
- // improved by: Pedro Tainha (http://www.pedrotainha.com)
- // improved by: Kevin van Zonneveld (http://kvz.io)
- // improved by: Kevin van Zonneveld (http://kvz.io)
- // improved by: Chris
- // improved by: James
- // improved by: Le Torbi
- // improved by: Eli Skeggs
- // bugfixed by: dptr1988
- // bugfixed by: Kevin van Zonneveld (http://kvz.io)
- // bugfixed by: Brett Zamir (http://brett-zamir.me)
- // bugfixed by: philippsimon (https://github.com/philippsimon/)
- // revised by: d3x
- // input by: Brett Zamir (http://brett-zamir.me)
- // input by: Martin (http://www.erlenwiese.de/)
- // input by: kilops
- // input by: Jaroslaw Czarniak
- // input by: lovasoa (https://github.com/lovasoa/)
- // note 1: We feel the main purpose of this function should be
- // note 1: to ease the transport of data between php & js
- // note 1: Aiming for PHP-compatibility, we have to translate objects to arrays
- // example 1: unserialize('a:3:{i:0;s:5:"Kevin";i:1;s:3:"van";i:2;s:9:"Zonneveld";}')
- // returns 1: ['Kevin', 'van', 'Zonneveld']
- // example 2: unserialize('a:2:{s:9:"firstName";s:5:"Kevin";s:7:"midName";s:3:"van";}')
- // returns 2: {firstName: 'Kevin', midName: 'van'}
- // example 3: unserialize('a:3:{s:2:"ü";s:2:"ü";s:3:"四";s:3:"四";s:4:"𠜎";s:4:"𠜎";}')
- // returns 3: {'ü': 'ü', '四': '四', '𠜎': '𠜎'}
-
- var $global = typeof window !== 'undefined' ? window : global;
-
- var utf8Overhead = function utf8Overhead(str) {
- var s = str.length;
- for (var i = str.length - 1; i >= 0; i--) {
- var code = str.charCodeAt(i);
- if (code > 0x7f && code <= 0x7ff) {
- s++;
- } else if (code > 0x7ff && code <= 0xffff) {
- s += 2;
- }
- // trail surrogate
- if (code >= 0xDC00 && code <= 0xDFFF) {
- i--;
- }
- }
- return s - 1;
- };
- var error = function error(type, msg, filename, line) {
- throw new $global[type](msg, filename, line);
- };
- var readUntil = function readUntil(data, offset, stopchr) {
- var i = 2;
- var buf = [];
- var chr = data.slice(offset, offset + 1);
-
- while (chr !== stopchr) {
- if (i + offset > data.length) {
- error('Error', 'Invalid');
- }
- buf.push(chr);
- chr = data.slice(offset + (i - 1), offset + i);
- i += 1;
- }
- return [buf.length, buf.join('')];
- };
- var readChrs = function readChrs(data, offset, length) {
- var i, chr, buf;
-
- buf = [];
- for (i = 0; i < length; i++) {
- chr = data.slice(offset + (i - 1), offset + i);
- buf.push(chr);
- length -= utf8Overhead(chr);
- }
- return [buf.length, buf.join('')];
- };
- function _unserialize(data, offset) {
- var dtype;
- var dataoffset;
- var keyandchrs;
- var keys;
- var contig;
- var length;
- var array;
- var readdata;
- var readData;
- var ccount;
- var stringlength;
- var i;
- var key;
- var kprops;
- var kchrs;
- var vprops;
- var vchrs;
- var value;
- var chrs = 0;
- var typeconvert = function typeconvert(x) {
- return x;
- };
-
- if (!offset) {
- offset = 0;
- }
- dtype = data.slice(offset, offset + 1).toLowerCase();
-
- dataoffset = offset + 2;
-
- switch (dtype) {
- case 'i':
- typeconvert = function typeconvert(x) {
- return parseInt(x, 10);
- };
- readData = readUntil(data, dataoffset, ';');
- chrs = readData[0];
- readdata = readData[1];
- dataoffset += chrs + 1;
- break;
- case 'b':
- typeconvert = function typeconvert(x) {
- return parseInt(x, 10) !== 0;
- };
- readData = readUntil(data, dataoffset, ';');
- chrs = readData[0];
- readdata = readData[1];
- dataoffset += chrs + 1;
- break;
- case 'd':
- typeconvert = function typeconvert(x) {
- return parseFloat(x);
- };
- readData = readUntil(data, dataoffset, ';');
- chrs = readData[0];
- readdata = readData[1];
- dataoffset += chrs + 1;
- break;
- case 'n':
- readdata = null;
- break;
- case 's':
- ccount = readUntil(data, dataoffset, ':');
- chrs = ccount[0];
- stringlength = ccount[1];
- dataoffset += chrs + 2;
-
- readData = readChrs(data, dataoffset + 1, parseInt(stringlength, 10));
- chrs = readData[0];
- readdata = readData[1];
- dataoffset += chrs + 2;
- if (chrs !== parseInt(stringlength, 10) && chrs !== readdata.length) {
- error('SyntaxError', 'String length mismatch');
- }
- break;
- case 'a':
- readdata = {};
-
- keyandchrs = readUntil(data, dataoffset, ':');
- chrs = keyandchrs[0];
- keys = keyandchrs[1];
- dataoffset += chrs + 2;
-
- length = parseInt(keys, 10);
- contig = true;
-
- for (i = 0; i < length; i++) {
- kprops = _unserialize(data, dataoffset);
- kchrs = kprops[1];
- key = kprops[2];
- dataoffset += kchrs;
-
- vprops = _unserialize(data, dataoffset);
- vchrs = vprops[1];
- value = vprops[2];
- dataoffset += vchrs;
-
- if (key !== i) {
- contig = false;
- }
-
- readdata[key] = value;
- }
-
- if (contig) {
- array = new Array(length);
- for (i = 0; i < length; i++) {
- array[i] = readdata[i];
- }
- readdata = array;
- }
-
- dataoffset += 1;
- break;
- default:
- error('SyntaxError', 'Unknown / Unhandled data type(s): ' + dtype);
- break;
- }
- return [dtype, dataoffset - offset, typeconvert(readdata)];
- }
-
- return _unserialize(data + '', 0)[2];
-};
-//# sourceMappingURL=unserialize.js.map \ No newline at end of file
diff --git a/node_modules/locutus/php/var/unserialize.js.map b/node_modules/locutus/php/var/unserialize.js.map
deleted file mode 100644
index dbf9160..0000000
--- a/node_modules/locutus/php/var/unserialize.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["../../../src/php/var/unserialize.js"],"names":["module","exports","unserialize","data","$global","window","global","utf8Overhead","str","s","length","i","code","charCodeAt","error","type","msg","filename","line","readUntil","offset","stopchr","buf","chr","slice","push","join","readChrs","_unserialize","dtype","dataoffset","keyandchrs","keys","contig","array","readdata","readData","ccount","stringlength","key","kprops","kchrs","vprops","vchrs","value","chrs","typeconvert","x","toLowerCase","parseInt","parseFloat","Array"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,WAAT,CAAsBC,IAAtB,EAA4B;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAIC,UAAW,OAAOC,MAAP,KAAkB,WAAlB,GAAgCA,MAAhC,GAAyCC,MAAxD;;AAEA,MAAIC,eAAe,SAAfA,YAAe,CAAUC,GAAV,EAAe;AAChC,QAAIC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serialize.js","sourcesContent":["module.exports = function unserialize (data) {\n // discuss at: http://locutus.io/php/unserialize/\n // original by: Arpad Ray (mailto:arpad@php.net)\n // improved by: Pedro Tainha (http://www.pedrotainha.com)\n // improved by: Kevin van Zonneveld (http://kvz.io)\n // improved by: Kevin van Zonneveld (http://kvz.io)\n // improved by: Chris\n // improved by: James\n // improved by: Le Torbi\n // improved by: Eli Skeggs\n // bugfixed by: dptr1988\n // bugfixed by: Kevin van Zonneveld (http://kvz.io)\n // bugfixed by: Brett Zamir (http://brett-zamir.me)\n // bugfixed by: philippsimon (https://github.com/philippsimon/)\n // revised by: d3x\n // input by: Brett Zamir (http://brett-zamir.me)\n // input by: Martin (http://www.erlenwiese.de/)\n // input by: kilops\n // input by: Jaroslaw Czarniak\n // input by: lovasoa (https://github.com/lovasoa/)\n // note 1: We feel the main purpose of this function should be\n // note 1: to ease the transport of data between php & js\n // note 1: Aiming for PHP-compatibility, we have to translate objects to arrays\n // example 1: unserialize('a:3:{i:0;s:5:\"Kevin\";i:1;s:3:\"van\";i:2;s:9:\"Zonneveld\";}')\n // returns 1: ['Kevin', 'van', 'Zonneveld']\n // example 2: unserialize('a:2:{s:9:\"firstName\";s:5:\"Kevin\";s:7:\"midName\";s:3:\"van\";}')\n // returns 2: {firstName: 'Kevin', midName: 'van'}\n // example 3: unserialize('a:3:{s:2:\"ü\";s:2:\"ü\";s:3:\"四\";s:3:\"四\";s:4:\"𠜎\";s:4:\"𠜎\";}')\n // returns 3: {'ü': 'ü', '四': '四', '𠜎': '𠜎'}\n\n var $global = (typeof window !== 'undefined' ? window : global)\n\n var utf8Overhead = function (str) {\n var s = str.length\n for (var i = str.length - 1; i >= 0; i--) {\n var code = str.charCodeAt(i)\n if (code > 0x7f && code <= 0x7ff) {\n s++\n } else if (code > 0x7ff && code <= 0xffff) {\n s += 2\n }\n // trail surrogate\n if (code >= 0xDC00 && code <= 0xDFFF) {\n i--\n }\n }\n return s - 1\n }\n var error = function (type,\n msg, filename, line) {\n throw new $global[type](msg, filename, line)\n }\n var readUntil = function (data, offset, stopchr) {\n var i = 2\n var buf = []\n var chr = data.slice(offset, offset + 1)\n\n while (chr !== stopchr) {\n if ((i + offset) > data.length) {\n error('Error', 'Invalid')\n }\n buf.push(chr)\n chr = data.slice(offset + (i - 1), offset + i)\n i += 1\n }\n return [buf.length, buf.join('')]\n }\n var readChrs = function (data, offset, length) {\n var i, chr, buf\n\n buf = []\n for (i = 0; i < length; i++) {\n chr = data.slice(offset + (i - 1), offset + i)\n buf.push(chr)\n length -= utf8Overhead(chr)\n }\n return [buf.length, buf.join('')]\n }\n function _unserialize (data, offset) {\n var dtype\n var dataoffset\n var keyandchrs\n var keys\n var contig\n var length\n var array\n var readdata\n var readData\n var ccount\n var stringlength\n var i\n var key\n var kprops\n var kchrs\n var vprops\n var vchrs\n var value\n var chrs = 0\n var typeconvert = function (x) {\n return x\n }\n\n if (!offset) {\n offset = 0\n }\n dtype = (data.slice(offset, offset + 1)).toLowerCase()\n\n dataoffset = offset + 2\n\n switch (dtype) {\n case 'i':\n typeconvert = function (x) {\n return parseInt(x, 10)\n }\n readData = readUntil(data, dataoffset, ';')\n chrs = readData[0]\n readdata = readData[1]\n dataoffset += chrs + 1\n break\n case 'b':\n typeconvert = function (x) {\n return parseInt(x, 10) !== 0\n }\n readData = readUntil(data, dataoffset, ';')\n chrs = readData[0]\n readdata = readData[1]\n dataoffset += chrs + 1\n break\n case 'd':\n typeconvert = function (x) {\n return parseFloat(x)\n }\n readData = readUntil(data, dataoffset, ';')\n chrs = readData[0]\n readdata = readData[1]\n dataoffset += chrs + 1\n break\n case 'n':\n readdata = null\n break\n case 's':\n ccount = readUntil(data, dataoffset, ':')\n chrs = ccount[0]\n stringlength = ccount[1]\n dataoffset += chrs + 2\n\n readData = readChrs(data, dataoffset + 1, parseInt(stringlength, 10))\n chrs = readData[0]\n readdata = readData[1]\n dataoffset += chrs + 2\n if (chrs !== parseInt(stringlength, 10) && chrs !== readdata.length) {\n error('SyntaxError', 'String length mismatch')\n }\n break\n case 'a':\n readdata = {}\n\n keyandchrs = readUntil(data, dataoffset, ':')\n chrs = keyandchrs[0]\n keys = keyandchrs[1]\n dataoffset += chrs + 2\n\n length = parseInt(keys, 10)\n contig = true\n\n for (i = 0; i < length; i++) {\n kprops = _unserialize(data, dataoffset)\n kchrs = kprops[1]\n key = kprops[2]\n dataoffset += kchrs\n\n vprops = _unserialize(data, dataoffset)\n vchrs = vprops[1]\n value = vprops[2]\n dataoffset += vchrs\n\n if (key !== i) {\n contig = false\n }\n\n readdata[key] = value\n }\n\n if (contig) {\n array = new Array(length)\n for (i = 0; i < length; i++) {\n array[i] = readdata[i]\n }\n readdata = array\n }\n\n dataoffset += 1\n break\n default:\n error('SyntaxError', 'Unknown / Unhandled data type(s): ' + dtype)\n break\n }\n return [dtype, dataoffset - offset, typeconvert(readdata)]\n }\n\n return _unserialize((data + ''), 0)[2]\n}\n"]} \ No newline at end of file
diff --git a/node_modules/locutus/php/var/var_dump.js b/node_modules/locutus/php/var/var_dump.js
deleted file mode 100644
index 96cf6e6..0000000
--- a/node_modules/locutus/php/var/var_dump.js
+++ /dev/null
@@ -1,173 +0,0 @@
-'use strict';
-
-var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
-
-module.exports = function var_dump() {
- // eslint-disable-line camelcase
- // discuss at: http://locutus.io/php/var_dump/
- // original by: Brett Zamir (http://brett-zamir.me)
- // improved by: Zahlii
- // improved by: Brett Zamir (http://brett-zamir.me)
- // note 1: For returning a string, use var_export() with the second argument set to true
- // test: skip-all
- // example 1: var_dump(1)
- // returns 1: 'int(1)'
-
- var echo = require('../strings/echo');
- var output = '';
- var padChar = ' ';
- var padVal = 4;
- var lgth = 0;
- var i = 0;
-
- var _getFuncName = function _getFuncName(fn) {
- var name = /\W*function\s+([\w$]+)\s*\(/.exec(fn);
- if (!name) {
- return '(Anonymous)';
- }
- return name[1];
- };
-
- var _repeatChar = function _repeatChar(len, padChar) {
- var str = '';
- for (var i = 0; i < len; i++) {
- str += padChar;
- }
- return str;
- };
- var _getInnerVal = function _getInnerVal(val, thickPad) {
- var ret = '';
- if (val === null) {
- ret = 'NULL';
- } else if (typeof val === 'boolean') {
- ret = 'bool(' + val + ')';
- } else if (typeof val === 'string') {
- ret = 'string(' + val.length + ') "' + val + '"';
- } else if (typeof val === 'number') {
- if (parseFloat(val) === parseInt(val, 10)) {
- ret = 'int(' + val + ')';
- } else {
- ret = 'float(' + val + ')';
- }
- } else if (typeof val === 'undefined') {
- // The remaining are not PHP behavior because these values
- // only exist in this exact form in JavaScript
- ret = 'undefined';
- } else if (typeof val === 'function') {
- var funcLines = val.toString().split('\n');
- ret = '';
- for (var i = 0, fll = funcLines.length; i < fll; i++) {
- ret += (i !== 0 ? '\n' + thickPad : '') + funcLines[i];
- }
- } else if (val instanceof Date) {
- ret = 'Date(' + val + ')';
- } else if (val instanceof RegExp) {
- ret = 'RegExp(' + val + ')';
- } else if (val.nodeName) {
- // Different than PHP's DOMElement
- switch (val.nodeType) {
- case 1:
- if (typeof val.namespaceURI === 'undefined' || val.namespaceURI === 'http://www.w3.org/1999/xhtml') {
- // Undefined namespace could be plain XML, but namespaceURI not widely supported
- ret = 'HTMLElement("' + val.nodeName + '")';
- } else {
- ret = 'XML Element("' + val.nodeName + '")';
- }
- break;
- case 2:
- ret = 'ATTRIBUTE_NODE(' + val.nodeName + ')';
- break;
- case 3:
- ret = 'TEXT_NODE(' + val.nodeValue + ')';
- break;
- case 4:
- ret = 'CDATA_SECTION_NODE(' + val.nodeValue + ')';
- break;
- case 5:
- ret = 'ENTITY_REFERENCE_NODE';
- break;
- case 6:
- ret = 'ENTITY_NODE';
- break;
- case 7:
- ret = 'PROCESSING_INSTRUCTION_NODE(' + val.nodeName + ':' + val.nodeValue + ')';
- break;
- case 8:
- ret = 'COMMENT_NODE(' + val.nodeValue + ')';
- break;
- case 9:
- ret = 'DOCUMENT_NODE';
- break;
- case 10:
- ret = 'DOCUMENT_TYPE_NODE';
- break;
- case 11:
- ret = 'DOCUMENT_FRAGMENT_NODE';
- break;
- case 12:
- ret = 'NOTATION_NODE';
- break;
- }
- }
- return ret;
- };
-
- var _formatArray = function _formatArray(obj, curDepth, padVal, padChar) {
- if (curDepth > 0) {
- curDepth++;
- }
-
- var basePad = _repeatChar(padVal * (curDepth - 1), padChar);
- var thickPad = _repeatChar(padVal * (curDepth + 1), padChar);
- var str = '';
- var val = '';
-
- if ((typeof obj === 'undefined' ? 'undefined' : _typeof(obj)) === 'object' && obj !== null) {
- if (obj.constructor && _getFuncName(obj.constructor) === 'LOCUTUS_Resource') {
- return obj.var_dump();
- }
- lgth = 0;
- for (var someProp in obj) {
- if (obj.hasOwnProperty(someProp)) {
- lgth++;
- }
- }
- str += 'array(' + lgth + ') {\n';
- for (var key in obj) {
- var objVal = obj[key];
- if ((typeof objVal === 'undefined' ? 'undefined' : _typeof(objVal)) === 'object' && objVal !== null && !(objVal instanceof Date) && !(objVal instanceof RegExp) && !objVal.nodeName) {
- str += thickPad;
- str += '[';
- str += key;
- str += '] =>\n';
- str += thickPad;
- str += _formatArray(objVal, curDepth + 1, padVal, padChar);
- } else {
- val = _getInnerVal(objVal, thickPad);
- str += thickPad;
- str += '[';
- str += key;
- str += '] =>\n';
- str += thickPad;
- str += val;
- str += '\n';
- }
- }
- str += basePad + '}\n';
- } else {
- str = _getInnerVal(obj, thickPad);
- }
- return str;
- };
-
- output = _formatArray(arguments[0], 0, padVal, padChar);
- for (i = 1; i < arguments.length; i++) {
- output += '\n' + _formatArray(arguments[i], 0, padVal, padChar);
- }
-
- echo(output);
-
- // Not how PHP does it, but helps us test:
- return output;
-};
-//# sourceMappingURL=var_dump.js.map \ No newline at end of file
diff --git a/node_modules/locutus/php/var/var_dump.js.map b/node_modules/locutus/php/var/var_dump.js.map
deleted file mode 100644
index dacfb43..0000000
--- a/node_modules/locutus/php/var/var_dump.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["../../../src/php/var/var_dump.js"],"names":["module","exports","var_dump","echo","require","output","padChar","padVal","lgth","i","_getFuncName","fn","name","exec","_repeatChar","len","str","_getInnerVal","val","thickPad","ret","length","parseFloat","parseInt","funcLines","toString","split","fll","Date","RegExp","nodeName","nodeType","namespaceURI","nodeValue","_formatArray","obj","curDepth","basePad","constructor","someProp","hasOwnProperty","key","objVal","arguments"],"mappings":";;;;AAAAA,OAAOC,OAAP,GAAiB,SAASC,QAAT,GAAqB;AAAE;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAIC,OAAOC,QAAQ,iBAAR,CAAX;AACA,MAAIC,SAAS,EAAb;AACA,MAAIC,UAAU,GAAd;AACA,MAAIC,SAAS,CAAb;AACA,MAAIC,OAAO,CAAX;AACA,MAAIC,IAAI,CAAR;;AAEA,MAAIC,eAAe,SAAfA,YAAe,CAAUC,EAAV,EAAc;AAC/B,QAAIC,OAAQ,6BAAD,CACRC,IADQ,CACHF,EADG,CAAX;AAEA,QAAI,CAACC,IAAL,EAAW;AACT,aAAO,aAAP;AACD;AACD,WAAOA,KAAK,CAAL,CAAP;AACD,GAPD;;AASA,MAAIE,cAAc,SAAdA,WAAc,CAAUC,GAAV,EAAeT,OAAf,EAAwB;AACxC,QAAIU,MAAM,EAAV;AACA,SAAK,IAAIP,IAAI,CAAb,EAAgBA,IAAIM,GAApB,EAAyBN,GAAzB,EAA8B;AAC5BO,aAAOV,OAAP;AACD;AACD,WAAOU,GAAP;AACD,GAND;AAOA,MAAIC,eAAe,SAAfA,YAAe,CAAUC,GAAV,EAAeC,QAAf,EAAyB;AAC1C,QAAIC,MAAM,EAAV;AACA,QAAIF,QAAQ,IAAZ,EAAkB;AAChBE,YAAM,MAAN;AACD,KAFD,MAEO,IAAI,OAAOF,GAAP,KAAe,SAAnB,EAA8B;AACnCE,YAAM,UAAUF,GAAV,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,EAAkCZ,GAAlC,EAAuC;AACrCJ,cAAU,OAAO6B,aAAaS,UAAUlC,CAAV,CAAb,EAA2B,CAA3B,EAA8BF,MAA9B,EAAsCD,OAAtC,CAAjB;AACD;;AAEDH,OAAKE,MAAL;;AAEA;AACA,SAAOA,MAAP;AACD,CA7KD","file":"var_dump.js","sourcesContent":["module.exports = function var_dump () { // eslint-disable-line camelcase\n // discuss at: http://locutus.io/php/var_dump/\n // original by: Brett Zamir (http://brett-zamir.me)\n // improved by: Zahlii\n // improved by: Brett Zamir (http://brett-zamir.me)\n // note 1: For returning a string, use var_export() with the second argument set to true\n // test: skip-all\n // example 1: var_dump(1)\n // returns 1: 'int(1)'\n\n var echo = require('../strings/echo')\n var output = ''\n var padChar = ' '\n var padVal = 4\n var lgth = 0\n var i = 0\n\n var _getFuncName = function (fn) {\n var name = (/\\W*function\\s+([\\w$]+)\\s*\\(/)\n .exec(fn)\n if (!name) {\n return '(Anonymous)'\n }\n return name[1]\n }\n\n var _repeatChar = function (len, padChar) {\n var str = ''\n for (var i = 0; i < len; i++) {\n str += padChar\n }\n return str\n }\n var _getInnerVal = function (val, thickPad) {\n var ret = ''\n if (val === null) {\n ret = 'NULL'\n } else if (typeof val === 'boolean') {\n ret = 'bool(' + val + ')'\n } else if (typeof val === 'string') {\n ret = 'string(' + val.length + ') \"' + val + '\"'\n } else if (typeof val === 'number') {\n if (parseFloat(val) === parseInt(val, 10)) {\n ret = 'int(' + val + ')'\n } else {\n ret = 'float(' + val + ')'\n }\n } else if (typeof val === 'undefined') {\n // The remaining are not PHP behavior because these values\n // only exist in this exact form in JavaScript\n ret = 'undefined'\n } else if (typeof val === 'function') {\n var funcLines = val.toString()\n .split('\\n')\n ret = ''\n for (var i = 0, fll = funcLines.length; i < fll; i++) {\n ret += (i !== 0 ? '\\n' + thickPad : '') + funcLines[i]\n }\n } else if (val instanceof Date) {\n ret = 'Date(' + val + ')'\n } else if (val instanceof RegExp) {\n ret = 'RegExp(' + val + ')'\n } else if (val.nodeName) {\n // Different than PHP's DOMElement\n switch (val.nodeType) {\n case 1:\n if (typeof val.namespaceURI === 'undefined' ||\n val.namespaceURI === 'http://www.w3.org/1999/xhtml') {\n // Undefined namespace could be plain XML, but namespaceURI not widely supported\n ret = 'HTMLElement(\"' + val.nodeName + '\")'\n } else {\n ret = 'XML Element(\"' + val.nodeName + '\")'\n }\n break\n case 2:\n ret = 'ATTRIBUTE_NODE(' + val.nodeName + ')'\n break\n case 3:\n ret = 'TEXT_NODE(' + val.nodeValue + ')'\n break\n case 4:\n ret = 'CDATA_SECTION_NODE(' + val.nodeValue + ')'\n break\n case 5:\n ret = 'ENTITY_REFERENCE_NODE'\n break\n case 6:\n ret = 'ENTITY_NODE'\n break\n case 7:\n ret = 'PROCESSING_INSTRUCTION_NODE(' + val.nodeName + ':' + val.nodeValue + ')'\n break\n case 8:\n ret = 'COMMENT_NODE(' + val.nodeValue + ')'\n break\n case 9:\n ret = 'DOCUMENT_NODE'\n break\n case 10:\n ret = 'DOCUMENT_TYPE_NODE'\n break\n case 11:\n ret = 'DOCUMENT_FRAGMENT_NODE'\n break\n case 12:\n ret = 'NOTATION_NODE'\n break\n }\n }\n return ret\n }\n\n var _formatArray = function (obj, curDepth, padVal, padChar) {\n if (curDepth > 0) {\n curDepth++\n }\n\n var basePad = _repeatChar(padVal * (curDepth - 1), padChar)\n var thickPad = _repeatChar(padVal * (curDepth + 1), padChar)\n var str = ''\n var val = ''\n\n if (typeof obj === 'object' && obj !== null) {\n if (obj.constructor && _getFuncName(obj.constructor) === 'LOCUTUS_Resource') {\n return obj.var_dump()\n }\n lgth = 0\n for (var someProp in obj) {\n if (obj.hasOwnProperty(someProp)) {\n lgth++\n }\n }\n str += 'array(' + lgth + ') {\\n'\n for (var key in obj) {\n var objVal = obj[key]\n if (typeof objVal === 'object' &&\n objVal !== null &&\n !(objVal instanceof Date) &&\n !(objVal instanceof RegExp) &&\n !objVal.nodeName) {\n str += thickPad\n str += '['\n str += key\n str += '] =>\\n'\n str += thickPad\n str += _formatArray(objVal, curDepth + 1, padVal, padChar)\n } else {\n val = _getInnerVal(objVal, thickPad)\n str += thickPad\n str += '['\n str += key\n str += '] =>\\n'\n str += thickPad\n str += val\n str += '\\n'\n }\n }\n str += basePad + '}\\n'\n } else {\n str = _getInnerVal(obj, thickPad)\n }\n return str\n }\n\n output = _formatArray(arguments[0], 0, padVal, padChar)\n for (i = 1; i < arguments.length; i++) {\n output += '\\n' + _formatArray(arguments[i], 0, padVal, padChar)\n }\n\n echo(output)\n\n // Not how PHP does it, but helps us test:\n return output\n}\n"]} \ No newline at end of file
diff --git a/node_modules/locutus/php/var/var_export.js b/node_modules/locutus/php/var/var_export.js
deleted file mode 100644
index eec6b3a..0000000
--- a/node_modules/locutus/php/var/var_export.js
+++ /dev/null
@@ -1,121 +0,0 @@
-'use strict';
-
-var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
-
-module.exports = function var_export(mixedExpression, boolReturn) {
- // eslint-disable-line camelcase
- // discuss at: http://locutus.io/php/var_export/
- // original by: Philip Peterson
- // improved by: johnrembo
- // improved by: Brett Zamir (http://brett-zamir.me)
- // input by: Brian Tafoya (http://www.premasolutions.com/)
- // input by: Hans Henrik (http://hanshenrik.tk/)
- // bugfixed by: Brett Zamir (http://brett-zamir.me)
- // bugfixed by: Brett Zamir (http://brett-zamir.me)
- // example 1: var_export(null)
- // returns 1: null
- // example 2: var_export({0: 'Kevin', 1: 'van', 2: 'Zonneveld'}, true)
- // returns 2: "array (\n 0 => 'Kevin',\n 1 => 'van',\n 2 => 'Zonneveld'\n)"
- // example 3: var data = 'Kevin'
- // example 3: var_export(data, true)
- // returns 3: "'Kevin'"
-
- var echo = require('../strings/echo');
- var retstr = '';
- var iret = '';
- var value;
- var cnt = 0;
- var x = [];
- var i = 0;
- var funcParts = [];
- // We use the last argument (not part of PHP) to pass in
- // our indentation level
- var idtLevel = arguments[2] || 2;
- var innerIndent = '';
- var outerIndent = '';
- var getFuncName = function getFuncName(fn) {
- var name = /\W*function\s+([\w$]+)\s*\(/.exec(fn);
- if (!name) {
- return '(Anonymous)';
- }
- return name[1];
- };
-
- var _makeIndent = function _makeIndent(idtLevel) {
- return new Array(idtLevel + 1).join(' ');
- };
- var __getType = function __getType(inp) {
- var i = 0;
- var match;
- var types;
- var cons;
- var type = typeof inp === 'undefined' ? 'undefined' : _typeof(inp);
- if (type === 'object' && inp && inp.constructor && getFuncName(inp.constructor) === 'LOCUTUS_Resource') {
- return 'resource';
- }
- if (type === 'function') {
- return 'function';
- }
- if (type === 'object' && !inp) {
- // Should this be just null?
- return 'null';
- }
- if (type === 'object') {
- if (!inp.constructor) {
- return 'object';
- }
- cons = inp.constructor.toString();
- match = cons.match(/(\w+)\(/);
- if (match) {
- cons = match[1].toLowerCase();
- }
- types = ['boolean', 'number', 'string', 'array'];
- for (i = 0; i < types.length; i++) {
- if (cons === types[i]) {
- type = types[i];
- break;
- }
- }
- }
- return type;
- };
- var type = __getType(mixedExpression);
-
- if (type === null) {
- retstr = 'NULL';
- } else if (type === 'array' || type === 'object') {
- outerIndent = _makeIndent(idtLevel - 2);
- innerIndent = _makeIndent(idtLevel);
- for (i in mixedExpression) {
- value = var_export(mixedExpression[i], 1, idtLevel + 2);
- value = typeof value === 'string' ? value.replace(/</g, '&lt;').replace(/>/g, '&gt;') : value;
- x[cnt++] = innerIndent + i + ' => ' + (__getType(mixedExpression[i]) === 'array' ? '\n' : '') + value;
- }
- iret = x.join(',\n');
- retstr = outerIndent + 'array (\n' + iret + '\n' + outerIndent + ')';
- } else if (type === 'function') {
- funcParts = mixedExpression.toString().match(/function .*?\((.*?)\) \{([\s\S]*)\}/);
-
- // For lambda functions, var_export() outputs such as the following:
- // '\000lambda_1'. Since it will probably not be a common use to
- // expect this (unhelpful) form, we'll use another PHP-exportable
- // construct, create_function() (though dollar signs must be on the
- // variables in JavaScript); if using instead in JavaScript and you
- // are using the namespaced version, note that create_function() will
- // not be available as a global
- retstr = "create_function ('" + funcParts[1] + "', '" + funcParts[2].replace(new RegExp("'", 'g'), "\\'") + "')";
- } else if (type === 'resource') {
- // Resources treated as null for var_export
- retstr = 'NULL';
- } else {
- retstr = typeof mixedExpression !== 'string' ? mixedExpression : "'" + mixedExpression.replace(/(["'])/g, '\\$1').replace(/\0/g, '\\0') + "'";
- }
-
- if (!boolReturn) {
- echo(retstr);
- return null;
- }
-
- return retstr;
-};
-//# sourceMappingURL=var_export.js.map \ No newline at end of file
diff --git a/node_modules/locutus/php/var/var_export.js.map b/node_modules/locutus/php/var/var_export.js.map
deleted file mode 100644
index 03812d2..0000000
--- a/node_modules/locutus/php/var/var_export.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["../../../src/php/var/var_export.js"],"names":["module","exports","var_export","mixedExpression","boolReturn","echo","require","retstr","iret","value","cnt","x","i","funcParts","idtLevel","arguments","innerIndent","outerIndent","getFuncName","fn","name","exec","_makeIndent","Array","join","__getType","inp","match","types","cons","type","constructor","toString","toLowerCase","length","replace","RegExp"],"mappings":";;;;AAAAA,OAAOC,OAAP,GAAiB,SAASC,UAAT,CAAqBC,eAArB,EAAsCC,UAAtC,EAAkD;AAAE;AACnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAIC,OAAOC,QAAQ,iBAAR,CAAX;AACA,MAAIC,SAAS,EAAb;AACA,MAAIC,OAAO,EAAX;AACA,MAAIC,KAAJ;AACA,MAAIC,MAAM,CAAV;AACA,MAAIC,IAAI,EAAR;AACA,MAAIC,IAAI,CAAR;AACA,MAAIC,YAAY,EAAhB;AACA;AACA;AACA,MAAIC,WAAWC,UAAU,CAAV,KAAgB,CAA/B;AACA,MAAIC,cAAc,EAAlB;AACA,MAAIC,cAAc,EAAlB;AACA,MAAIC,cAAc,SAAdA,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AIN,SAAS,UAAb,EAAyB;AAC9B;AACAvB,aAAS,MAAT;AACD,GAHM,MAGA;AACLA,aAAS,OAAOJ,eAAP,KAA2B,QAA3B,GAAsCA,eAAtC,GACL,MAAMA,gBAAgBgC,OAAhB,CAAwB,SAAxB,EAAmC,MAAnC,EAA2CA,OAA3C,CAAmD,KAAnD,EAA0D,KAA1D,CAAN,GAAyE,GAD7E;AAED;;AAED,MAAI,CAAC/B,UAAL,EAAiB;AACfC,SAAKE,MAAL;AACA,WAAO,IAAP;AACD;;AAED,SAAOA,MAAP;AACD,CAxHD","file":"var_export.js","sourcesContent":["module.exports = function var_export (mixedExpression, boolReturn) { // eslint-disable-line camelcase\n // discuss at: http://locutus.io/php/var_export/\n // original by: Philip Peterson\n // improved by: johnrembo\n // improved by: Brett Zamir (http://brett-zamir.me)\n // input by: Brian Tafoya (http://www.premasolutions.com/)\n // input by: Hans Henrik (http://hanshenrik.tk/)\n // bugfixed by: Brett Zamir (http://brett-zamir.me)\n // bugfixed by: Brett Zamir (http://brett-zamir.me)\n // example 1: var_export(null)\n // returns 1: null\n // example 2: var_export({0: 'Kevin', 1: 'van', 2: 'Zonneveld'}, true)\n // returns 2: \"array (\\n 0 => 'Kevin',\\n 1 => 'van',\\n 2 => 'Zonneveld'\\n)\"\n // example 3: var data = 'Kevin'\n // example 3: var_export(data, true)\n // returns 3: \"'Kevin'\"\n\n var echo = require('../strings/echo')\n var retstr = ''\n var iret = ''\n var value\n var cnt = 0\n var x = []\n var i = 0\n var funcParts = []\n // We use the last argument (not part of PHP) to pass in\n // our indentation level\n var idtLevel = arguments[2] || 2\n var innerIndent = ''\n var outerIndent = ''\n var getFuncName = function (fn) {\n var name = (/\\W*function\\s+([\\w$]+)\\s*\\(/).exec(fn)\n if (!name) {\n return '(Anonymous)'\n }\n return name[1]\n }\n\n var _makeIndent = function (idtLevel) {\n return (new Array(idtLevel + 1))\n .join(' ')\n }\n var __getType = function (inp) {\n var i = 0\n var match\n var types\n var cons\n var type = typeof inp\n if (type === 'object' && (inp && inp.constructor) &&\n getFuncName(inp.constructor) === 'LOCUTUS_Resource') {\n return 'resource'\n }\n if (type === 'function') {\n return 'function'\n }\n if (type === 'object' && !inp) {\n // Should this be just null?\n return 'null'\n }\n if (type === 'object') {\n if (!inp.constructor) {\n return 'object'\n }\n cons = inp.constructor.toString()\n match = cons.match(/(\\w+)\\(/)\n if (match) {\n cons = match[1].toLowerCase()\n }\n types = ['boolean', 'number', 'string', 'array']\n for (i = 0; i < types.length; i++) {\n if (cons === types[i]) {\n type = types[i]\n break\n }\n }\n }\n return type\n }\n var type = __getType(mixedExpression)\n\n if (type === null) {\n retstr = 'NULL'\n } else if (type === 'array' || type === 'object') {\n outerIndent = _makeIndent(idtLevel - 2)\n innerIndent = _makeIndent(idtLevel)\n for (i in mixedExpression) {\n value = var_export(mixedExpression[i], 1, idtLevel + 2)\n value = typeof value === 'string' ? value.replace(/</g, '&lt;')\n .replace(/>/g, '&gt;') : value\n x[cnt++] = innerIndent + i + ' => ' +\n (__getType(mixedExpression[i]) === 'array' ? '\\n' : '') + value\n }\n iret = x.join(',\\n')\n retstr = outerIndent + 'array (\\n' + iret + '\\n' + outerIndent + ')'\n } else if (type === 'function') {\n funcParts = mixedExpression.toString().match(/function .*?\\((.*?)\\) \\{([\\s\\S]*)\\}/)\n\n // For lambda functions, var_export() outputs such as the following:\n // '\\000lambda_1'. Since it will probably not be a common use to\n // expect this (unhelpful) form, we'll use another PHP-exportable\n // construct, create_function() (though dollar signs must be on the\n // variables in JavaScript); if using instead in JavaScript and you\n // are using the namespaced version, note that create_function() will\n // not be available as a global\n retstr = \"create_function ('\" + funcParts[1] + \"', '\" +\n funcParts[2].replace(new RegExp(\"'\", 'g'), \"\\\\'\") + \"')\"\n } else if (type === 'resource') {\n // Resources treated as null for var_export\n retstr = 'NULL'\n } else {\n retstr = typeof mixedExpression !== 'string' ? mixedExpression\n : \"'\" + mixedExpression.replace(/([\"'])/g, '\\\\$1').replace(/\\0/g, '\\\\0') + \"'\"\n }\n\n if (!boolReturn) {\n echo(retstr)\n return null\n }\n\n return retstr\n}\n"]} \ No newline at end of file