Comparing version 4.0.6 to 4.0.7
@@ -5,9 +5,9 @@ /*! | ||
"copywrite": "Copyright (c) 2017", | ||
"date": "2019-07-15T12:24:00.566Z", | ||
"date": "2019-07-16T10:17:20.647Z", | ||
"describe": "", | ||
"description": "This method removes whitespace from the left and right end of a string.", | ||
"file": "trim-x.js", | ||
"hash": "cec978494873b9a458bd", | ||
"hash": "69d1270887bcbaab1bfe", | ||
"license": "MIT", | ||
"version": "4.0.6" | ||
"version": "4.0.7" | ||
} | ||
@@ -272,3 +272,3 @@ */ | ||
// CONCATENATED MODULE: ./node_modules/trim-left-x/node_modules/is-nil-x/dist/is-nil-x.esm.js | ||
// CONCATENATED MODULE: ./node_modules/is-nil-x/dist/is-nil-x.esm.js | ||
/** | ||
@@ -286,3 +286,3 @@ * Checks if `value` is `null` or `undefined`. | ||
// CONCATENATED MODULE: ./node_modules/trim-left-x/node_modules/require-object-coercible-x/dist/require-object-coercible-x.esm.js | ||
// CONCATENATED MODULE: ./node_modules/require-object-coercible-x/dist/require-object-coercible-x.esm.js | ||
@@ -311,3 +311,3 @@ /** | ||
// CONCATENATED MODULE: ./node_modules/trim-left-x/node_modules/to-string-x/dist/to-string-x.esm.js | ||
// CONCATENATED MODULE: ./node_modules/to-string-x/dist/to-string-x.esm.js | ||
@@ -333,3 +333,3 @@ var ERROR_MESSAGE = 'Cannot convert a Symbol value to a string'; | ||
// CONCATENATED MODULE: ./node_modules/trim-left-x/node_modules/require-coercible-to-string-x/dist/require-coercible-to-string-x.esm.js | ||
// CONCATENATED MODULE: ./node_modules/require-coercible-to-string-x/dist/require-coercible-to-string-x.esm.js | ||
@@ -350,3 +350,3 @@ | ||
// CONCATENATED MODULE: ./node_modules/trim-left-x/node_modules/white-space-x/dist/white-space-x.esm.js | ||
// CONCATENATED MODULE: ./node_modules/white-space-x/dist/white-space-x.esm.js | ||
/** | ||
@@ -696,385 +696,2 @@ * A record of a white space character. | ||
// CONCATENATED MODULE: ./node_modules/is-nil-x/dist/is-nil-x.esm.js | ||
/** | ||
* Checks if `value` is `null` or `undefined`. | ||
* | ||
* @param {*} [value] - The value to check. | ||
* @returns {boolean} Returns `true` if `value` is nullish, else `false`. | ||
*/ | ||
function is_nil_x_esm_isNil(value) { | ||
/* eslint-disable-next-line lodash/prefer-is-nil */ | ||
return value === null || typeof value === 'undefined'; | ||
} | ||
// CONCATENATED MODULE: ./node_modules/require-object-coercible-x/dist/require-object-coercible-x.esm.js | ||
/** | ||
* The abstract operation RequireObjectCoercible throws an error if argument | ||
* is a value that cannot be converted to an Object using ToObject. | ||
* | ||
* @param {*} [value] - The `value` to check. | ||
* @throws {TypeError} If `value` is a `null` or `undefined`. | ||
* @returns {string} The `value`. | ||
*/ | ||
function require_object_coercible_x_esm_requireObjectCoercible(value) { | ||
if (is_nil_x_esm_isNil(value)) { | ||
throw new TypeError("Cannot call method on ".concat(value)); | ||
} | ||
return value; | ||
} | ||
// CONCATENATED MODULE: ./node_modules/to-string-x/dist/to-string-x.esm.js | ||
var to_string_x_esm_ERROR_MESSAGE = 'Cannot convert a Symbol value to a string'; | ||
var to_string_x_esm_castString = to_string_x_esm_ERROR_MESSAGE.constructor; | ||
/** | ||
* The abstract operation ToString converts argument to a value of type String. | ||
* | ||
* @param {*} [value] - The value to convert to a string. | ||
* @throws {TypeError} If `value` is a Symbol. | ||
* @returns {string} The converted value. | ||
*/ | ||
function to_string_x_esm_ToString(value) { | ||
if (is_symbol_default()(value)) { | ||
throw new TypeError(to_string_x_esm_ERROR_MESSAGE); | ||
} | ||
return to_string_x_esm_castString(value); | ||
} | ||
// CONCATENATED MODULE: ./node_modules/require-coercible-to-string-x/dist/require-coercible-to-string-x.esm.js | ||
/** | ||
* This method requires an argument is corecible then converts using ToString. | ||
* | ||
* @param {*} [value] - The value to converted to a string. | ||
* @throws {TypeError} If value is null or undefined. | ||
* @returns {string} The value as a string. | ||
*/ | ||
function require_coercible_to_string_x_esm_requireCoercibleToString(value) { | ||
return to_string_x_esm_ToString(require_object_coercible_x_esm_requireObjectCoercible(value)); | ||
} | ||
// CONCATENATED MODULE: ./node_modules/white-space-x/dist/white-space-x.esm.js | ||
/** | ||
* A record of a white space character. | ||
* | ||
* @typedef {object} CharRecord | ||
* @property {number} code - The character code. | ||
* @property {string} description - A description of the character. | ||
* @property {boolean} es5 - Whether the spec lists this as a white space. | ||
* @property {boolean} es2015 - Whether the spec lists this as a white space. | ||
* @property {boolean} es2016 - Whether the spec lists this as a white space. | ||
* @property {boolean} es2017 - Whether the spec lists this as a white space. | ||
* @property {boolean} es2018 - Whether the spec lists this as a white space. | ||
* @property {string} string - The character string. | ||
*/ | ||
/** | ||
* An array of the whitespace char codes, string, descriptions and language | ||
* presence in the specifications. | ||
* | ||
* @type Array.<CharRecord> | ||
*/ | ||
var white_space_x_esm_list = [{ | ||
code: 0x0009, | ||
description: 'Tab', | ||
es5: true, | ||
es2015: true, | ||
es2016: true, | ||
es2017: true, | ||
es2018: true, | ||
string: "\t" | ||
}, { | ||
code: 0x000a, | ||
description: 'Line Feed', | ||
es5: true, | ||
es2015: true, | ||
es2016: true, | ||
es2017: true, | ||
es2018: true, | ||
string: "\n" | ||
}, { | ||
code: 0x000b, | ||
description: 'Vertical Tab', | ||
es5: true, | ||
es2015: true, | ||
es2016: true, | ||
es2017: true, | ||
es2018: true, | ||
string: "\x0B" | ||
}, { | ||
code: 0x000c, | ||
description: 'Form Feed', | ||
es5: true, | ||
es2015: true, | ||
es2016: true, | ||
es2017: true, | ||
es2018: true, | ||
string: "\f" | ||
}, { | ||
code: 0x000d, | ||
description: 'Carriage Return', | ||
es5: true, | ||
es2015: true, | ||
es2016: true, | ||
es2017: true, | ||
es2018: true, | ||
string: "\r" | ||
}, { | ||
code: 0x0020, | ||
description: 'Space', | ||
es5: true, | ||
es2015: true, | ||
es2016: true, | ||
es2017: true, | ||
es2018: true, | ||
string: " " | ||
}, | ||
/* | ||
{ | ||
code: 0x0085, | ||
description: 'Next line', | ||
es5: false, | ||
es2015: false, | ||
es2016: false, | ||
es2017: false, | ||
es2018: false, | ||
string: '\u0085' | ||
} | ||
*/ | ||
{ | ||
code: 0x00a0, | ||
description: 'No-break space', | ||
es5: true, | ||
es2015: true, | ||
es2016: true, | ||
es2017: true, | ||
es2018: true, | ||
string: "\xA0" | ||
}, { | ||
code: 0x1680, | ||
description: 'Ogham space mark', | ||
es5: true, | ||
es2015: true, | ||
es2016: true, | ||
es2017: true, | ||
es2018: true, | ||
string: "\u1680" | ||
}, { | ||
code: 0x180e, | ||
description: 'Mongolian vowel separator', | ||
es5: true, | ||
es2015: true, | ||
es2016: true, | ||
es2017: false, | ||
es2018: false, | ||
string: "\u180E" | ||
}, { | ||
code: 0x2000, | ||
description: 'En quad', | ||
es5: true, | ||
es2015: true, | ||
es2016: true, | ||
es2017: true, | ||
es2018: true, | ||
string: "\u2000" | ||
}, { | ||
code: 0x2001, | ||
description: 'Em quad', | ||
es5: true, | ||
es2015: true, | ||
es2016: true, | ||
es2017: true, | ||
es2018: true, | ||
string: "\u2001" | ||
}, { | ||
code: 0x2002, | ||
description: 'En space', | ||
es5: true, | ||
es2015: true, | ||
es2016: true, | ||
es2017: true, | ||
es2018: true, | ||
string: "\u2002" | ||
}, { | ||
code: 0x2003, | ||
description: 'Em space', | ||
es5: true, | ||
es2015: true, | ||
es2016: true, | ||
es2017: true, | ||
es2018: true, | ||
string: "\u2003" | ||
}, { | ||
code: 0x2004, | ||
description: 'Three-per-em space', | ||
es5: true, | ||
es2015: true, | ||
es2016: true, | ||
es2017: true, | ||
es2018: true, | ||
string: "\u2004" | ||
}, { | ||
code: 0x2005, | ||
description: 'Four-per-em space', | ||
es5: true, | ||
es2015: true, | ||
es2016: true, | ||
es2017: true, | ||
es2018: true, | ||
string: "\u2005" | ||
}, { | ||
code: 0x2006, | ||
description: 'Six-per-em space', | ||
es5: true, | ||
es2015: true, | ||
es2016: true, | ||
es2017: true, | ||
es2018: true, | ||
string: "\u2006" | ||
}, { | ||
code: 0x2007, | ||
description: 'Figure space', | ||
es5: true, | ||
es2015: true, | ||
es2016: true, | ||
es2017: true, | ||
es2018: true, | ||
string: "\u2007" | ||
}, { | ||
code: 0x2008, | ||
description: 'Punctuation space', | ||
es5: true, | ||
es2015: true, | ||
es2016: true, | ||
es2017: true, | ||
es2018: true, | ||
string: "\u2008" | ||
}, { | ||
code: 0x2009, | ||
description: 'Thin space', | ||
es5: true, | ||
es2015: true, | ||
es2016: true, | ||
es2017: true, | ||
es2018: true, | ||
string: "\u2009" | ||
}, { | ||
code: 0x200a, | ||
description: 'Hair space', | ||
es5: true, | ||
es2015: true, | ||
es2016: true, | ||
es2017: true, | ||
es2018: true, | ||
string: "\u200A" | ||
}, | ||
/* | ||
{ | ||
code: 0x200b, | ||
description: 'Zero width space', | ||
es5: false, | ||
es2015: false, | ||
es2016: false, | ||
es2017: false, | ||
es2018: false, | ||
string: '\u200b' | ||
}, | ||
*/ | ||
{ | ||
code: 0x2028, | ||
description: 'Line separator', | ||
es5: true, | ||
es2015: true, | ||
es2016: true, | ||
es2017: true, | ||
es2018: true, | ||
string: "\u2028" | ||
}, { | ||
code: 0x2029, | ||
description: 'Paragraph separator', | ||
es5: true, | ||
es2015: true, | ||
es2016: true, | ||
es2017: true, | ||
es2018: true, | ||
string: "\u2029" | ||
}, { | ||
code: 0x202f, | ||
description: 'Narrow no-break space', | ||
es5: true, | ||
es2015: true, | ||
es2016: true, | ||
es2017: true, | ||
es2018: true, | ||
string: "\u202F" | ||
}, { | ||
code: 0x205f, | ||
description: 'Medium mathematical space', | ||
es5: true, | ||
es2015: true, | ||
es2016: true, | ||
es2017: true, | ||
es2018: true, | ||
string: "\u205F" | ||
}, { | ||
code: 0x3000, | ||
description: 'Ideographic space', | ||
es5: true, | ||
es2015: true, | ||
es2016: true, | ||
es2017: true, | ||
es2018: true, | ||
string: "\u3000" | ||
}, { | ||
code: 0xfeff, | ||
description: 'Byte Order Mark', | ||
es5: true, | ||
es2015: true, | ||
es2016: true, | ||
es2017: true, | ||
es2018: true, | ||
string: "\uFEFF" | ||
}]; | ||
/** | ||
* A string of the ES5 to ES2016 whitespace characters. | ||
* | ||
* @type string | ||
*/ | ||
var white_space_x_esm_stringES2016 = ''; | ||
/** | ||
* A string of the ES2017 to ES2018 whitespace characters. | ||
* | ||
* @type string | ||
*/ | ||
var white_space_x_esm_stringES2018 = ''; | ||
var dist_white_space_x_esm_length = white_space_x_esm_list.length; | ||
for (var white_space_x_esm_i = 0; white_space_x_esm_i < dist_white_space_x_esm_length; white_space_x_esm_i += 1) { | ||
if (white_space_x_esm_list[white_space_x_esm_i].es2016) { | ||
white_space_x_esm_stringES2016 += white_space_x_esm_list[white_space_x_esm_i].string; | ||
} | ||
if (white_space_x_esm_list[white_space_x_esm_i].es2018) { | ||
white_space_x_esm_stringES2018 += white_space_x_esm_list[white_space_x_esm_i].string; | ||
} | ||
} | ||
var white_space_x_esm_string2018 = white_space_x_esm_stringES2018; | ||
/* harmony default export */ var dist_white_space_x_esm = (white_space_x_esm_string2018); | ||
var white_space_x_esm_string2016 = white_space_x_esm_stringES2016; | ||
// CONCATENATED MODULE: ./node_modules/trim-right-x/dist/trim-right-x.esm.js | ||
@@ -1085,4 +702,4 @@ | ||
var trim_right_x_esm_RegExpCtr = /none/.constructor; | ||
var reRight2016 = new trim_right_x_esm_RegExpCtr("[".concat(white_space_x_esm_string2016, "]+$")); | ||
var reRight2018 = new trim_right_x_esm_RegExpCtr("[".concat(dist_white_space_x_esm, "]+$")); | ||
var reRight2016 = new trim_right_x_esm_RegExpCtr("[".concat(string2016, "]+$")); | ||
var reRight2018 = new trim_right_x_esm_RegExpCtr("[".concat(white_space_x_esm, "]+$")); | ||
var trim_right_x_esm_replace = trim_right_x_esm_EMPTY_STRING.replace; | ||
@@ -1098,3 +715,3 @@ /** | ||
function trimRight2016(string) { | ||
return trim_right_x_esm_replace.call(require_coercible_to_string_x_esm_requireCoercibleToString(string), reRight2016, trim_right_x_esm_EMPTY_STRING); | ||
return trim_right_x_esm_replace.call(requireCoercibleToString(string), reRight2016, trim_right_x_esm_EMPTY_STRING); | ||
} | ||
@@ -1110,3 +727,3 @@ /** | ||
function trimRight2018(string) { | ||
return trim_right_x_esm_replace.call(require_coercible_to_string_x_esm_requireCoercibleToString(string), reRight2018, trim_right_x_esm_EMPTY_STRING); | ||
return trim_right_x_esm_replace.call(requireCoercibleToString(string), reRight2018, trim_right_x_esm_EMPTY_STRING); | ||
} | ||
@@ -1113,0 +730,0 @@ |
@@ -5,12 +5,12 @@ /*! | ||
"copywrite": "Copyright (c) 2017", | ||
"date": "2019-07-15T12:24:00.566Z", | ||
"date": "2019-07-16T10:17:20.647Z", | ||
"describe": "", | ||
"description": "This method removes whitespace from the left and right end of a string.", | ||
"file": "trim-x.min.js", | ||
"hash": "c4a650ea177049fe04ca", | ||
"hash": "5858c9ecf729f5253ca5", | ||
"license": "MIT", | ||
"version": "4.0.6" | ||
"version": "4.0.7" | ||
} | ||
*/ | ||
!function(e,s){"object"==typeof exports&&"object"==typeof module?module.exports=s():"function"==typeof define&&define.amd?define([],s):"object"==typeof exports?exports.trimX=s():e.trimX=s()}(function(){"use strict";return"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:Function("return this")()}(),function(){return function(e){var s={};function t(r){if(s[r])return s[r].exports;var n=s[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,t),n.l=!0,n.exports}return t.m=e,t.c=s,t.d=function(e,s,r){t.o(e,s)||Object.defineProperty(e,s,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,s){if(1&s&&(e=t(e)),8&s)return e;if(4&s&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&s&&"string"!=typeof e)for(var n in e)t.d(r,n,function(s){return e[s]}.bind(null,n));return r},t.n=function(e){var s=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(s,"a",s),s},t.o=function(e,s){return Object.prototype.hasOwnProperty.call(e,s)},t.p="",t(t.s=4)}([function(e,s,t){"use strict";var r=Object.prototype.toString;if(t(1)()){var n=Symbol.prototype.toString,o=/^Symbol\(.*\)$/;e.exports=function(e){if("symbol"==typeof e)return!0;if("[object Symbol]"!==r.call(e))return!1;try{return function(e){return"symbol"==typeof e.valueOf()&&o.test(n.call(e))}(e)}catch(e){return!1}}}else e.exports=function(e){return!1}},function(e,s,t){"use strict";(function(s){var r=s.Symbol,n=t(3);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&n())))}}).call(this,t(2))},function(e,s){var t;t=function(){return this}();try{t=t||new Function("return this")()}catch(e){"object"==typeof window&&(t=window)}e.exports=t},function(e,s,t){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},s=Symbol("test"),t=Object(s);if("string"==typeof s)return!1;if("[object Symbol]"!==Object.prototype.toString.call(s))return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;for(s in e[s]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==s)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,s))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var n=Object.getOwnPropertyDescriptor(e,s);if(42!==n.value||!0!==n.enumerable)return!1}return!0}},function(e,s,t){"use strict";t.r(s);var r=t(0),n=t.n(r),o="Cannot convert a Symbol value to a string",i=o.constructor;function c(e){return function(e){if(n()(e))throw new TypeError(o);return i(e)}(function(e){if(function(e){return null==e}(e))throw new TypeError("Cannot call method on ".concat(e));return e}(e))}for(var p=[{code:9,description:"Tab",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\t"},{code:10,description:"Line Feed",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\n"},{code:11,description:"Vertical Tab",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\v"},{code:12,description:"Form Feed",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\f"},{code:13,description:"Carriage Return",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\r"},{code:32,description:"Space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:160,description:"No-break space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:5760,description:"Ogham space mark",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:6158,description:"Mongolian vowel separator",es5:!0,es2015:!0,es2016:!0,es2017:!1,es2018:!1,string:""},{code:8192,description:"En quad",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8193,description:"Em quad",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8194,description:"En space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8195,description:"Em space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8196,description:"Three-per-em space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8197,description:"Four-per-em space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8198,description:"Six-per-em space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8199,description:"Figure space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8200,description:"Punctuation space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8201,description:"Thin space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8202,description:"Hair space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8232,description:"Line separator",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\u2028"},{code:8233,description:"Paragraph separator",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\u2029"},{code:8239,description:"Narrow no-break space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8287,description:"Medium mathematical space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:12288,description:"Ideographic space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:65279,description:"Byte Order Mark",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\ufeff"}],a="",u="",d=p.length,f=0;f<d;f+=1)p[f].es2016&&(a+=p[f].string),p[f].es2018&&(u+=p[f].string);var l=u,g="",y=/none/.constructor,b=new y("^[".concat(a,"]+")),m=new y("^[".concat(l,"]+")),w=g.replace;var v="Cannot convert a Symbol value to a string",O=v.constructor;function h(e){return function(e){if(n()(e))throw new TypeError(v);return O(e)}(function(e){if(function(e){return null==e}(e))throw new TypeError("Cannot call method on ".concat(e));return e}(e))}for(var S=[{code:9,description:"Tab",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\t"},{code:10,description:"Line Feed",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\n"},{code:11,description:"Vertical Tab",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\v"},{code:12,description:"Form Feed",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\f"},{code:13,description:"Carriage Return",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\r"},{code:32,description:"Space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:160,description:"No-break space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:5760,description:"Ogham space mark",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:6158,description:"Mongolian vowel separator",es5:!0,es2015:!0,es2016:!0,es2017:!1,es2018:!1,string:""},{code:8192,description:"En quad",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8193,description:"Em quad",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8194,description:"En space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8195,description:"Em space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8196,description:"Three-per-em space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8197,description:"Four-per-em space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8198,description:"Six-per-em space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8199,description:"Figure space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8200,description:"Punctuation space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8201,description:"Thin space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8202,description:"Hair space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8232,description:"Line separator",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\u2028"},{code:8233,description:"Paragraph separator",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\u2029"},{code:8239,description:"Narrow no-break space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8287,description:"Medium mathematical space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:12288,description:"Ideographic space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:65279,description:"Byte Order Mark",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\ufeff"}],j="",x="",P=S.length,T=0;T<P;T+=1)S[T].es2016&&(j+=S[T].string),S[T].es2018&&(x+=S[T].string);var E=x,F="",k=/none/.constructor,M=new k("[".concat(j,"]+$")),C=new k("[".concat(E,"]+$")),N=F.replace;function _(e){return function(e){return w.call(c(e),b,g)}(function(e){return N.call(h(e),M,F)}(e))}function q(e){return function(e){return w.call(c(e),m,g)}(function(e){return N.call(h(e),C,F)}(e))}t.d(s,"trim2016",function(){return _}),t.d(s,"default",function(){return q})}])}); | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.trimX=t():e.trimX=t()}(function(){"use strict";return"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:Function("return this")()}(),function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var s=t[n]={i:n,l:!1,exports:{}};return e[n].call(s.exports,s,s.exports,r),s.l=!0,s.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)r.d(n,s,function(t){return e[t]}.bind(null,s));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=4)}([function(e,t,r){"use strict";var n=Object.prototype.toString;if(r(1)()){var s=Symbol.prototype.toString,o=/^Symbol\(.*\)$/;e.exports=function(e){if("symbol"==typeof e)return!0;if("[object Symbol]"!==n.call(e))return!1;try{return function(e){return"symbol"==typeof e.valueOf()&&o.test(s.call(e))}(e)}catch(e){return!1}}}else e.exports=function(e){return!1}},function(e,t,r){"use strict";(function(t){var n=t.Symbol,s=r(3);e.exports=function(){return"function"==typeof n&&("function"==typeof Symbol&&("symbol"==typeof n("foo")&&("symbol"==typeof Symbol("bar")&&s())))}}).call(this,r(2))},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var s=Object.getOwnPropertyDescriptor(e,t);if(42!==s.value||!0!==s.enumerable)return!1}return!0}},function(e,t,r){"use strict";r.r(t);var n=r(0),s=r.n(n),o="Cannot convert a Symbol value to a string",i=o.constructor;function c(e){return function(e){if(s()(e))throw new TypeError(o);return i(e)}(function(e){if(function(e){return null==e}(e))throw new TypeError("Cannot call method on ".concat(e));return e}(e))}for(var u=[{code:9,description:"Tab",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\t"},{code:10,description:"Line Feed",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\n"},{code:11,description:"Vertical Tab",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\v"},{code:12,description:"Form Feed",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\f"},{code:13,description:"Carriage Return",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\r"},{code:32,description:"Space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:160,description:"No-break space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:5760,description:"Ogham space mark",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:6158,description:"Mongolian vowel separator",es5:!0,es2015:!0,es2016:!0,es2017:!1,es2018:!1,string:""},{code:8192,description:"En quad",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8193,description:"Em quad",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8194,description:"En space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8195,description:"Em space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8196,description:"Three-per-em space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8197,description:"Four-per-em space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8198,description:"Six-per-em space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8199,description:"Figure space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8200,description:"Punctuation space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8201,description:"Thin space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8202,description:"Hair space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8232,description:"Line separator",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\u2028"},{code:8233,description:"Paragraph separator",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\u2029"},{code:8239,description:"Narrow no-break space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8287,description:"Medium mathematical space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:12288,description:"Ideographic space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:65279,description:"Byte Order Mark",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\ufeff"}],p="",f="",a=u.length,d=0;d<a;d+=1)u[d].es2016&&(p+=u[d].string),u[d].es2018&&(f+=u[d].string);var l=f,y=p,b="",g=/none/.constructor,m=new g("^[".concat(y,"]+")),O=new g("^[".concat(l,"]+")),j=b.replace;var w="",v=/none/.constructor,S=new v("[".concat(y,"]+$")),h=new v("[".concat(l,"]+$")),x=w.replace;function P(e){return function(e){return j.call(c(e),m,b)}(function(e){return x.call(c(e),S,w)}(e))}function T(e){return function(e){return j.call(c(e),O,b)}(function(e){return x.call(c(e),h,w)}(e))}r.d(t,"trim2016",function(){return P}),r.d(t,"default",function(){return T})}])}); | ||
//# sourceMappingURL=trim-x.min.js.map |
{ | ||
"name": "trim-x", | ||
"version": "4.0.6", | ||
"version": "4.0.7", | ||
"description": "This method removes whitespace from the left and right end of a string.", | ||
@@ -52,4 +52,4 @@ "homepage": "https://github.com/Xotic750/trim-x", | ||
"dependencies": { | ||
"trim-left-x": "^4.0.6", | ||
"trim-right-x": "^4.0.5" | ||
"trim-left-x": "^4.0.7", | ||
"trim-right-x": "^4.0.6" | ||
}, | ||
@@ -70,3 +70,3 @@ "devDependencies": { | ||
"@types/jest": "^24.0.15", | ||
"@types/node": "^12.6.2", | ||
"@types/node": "^12.6.3", | ||
"babel-core": "^7.0.0-0", | ||
@@ -76,3 +76,3 @@ "babel-eslint": "^10.0.2", | ||
"babel-plugin-lodash": "^3.3.4", | ||
"caniuse-lite": "^1.0.30000983", | ||
"caniuse-lite": "^1.0.30000984", | ||
"chalk": "^2.4.2", | ||
@@ -123,3 +123,3 @@ "concurrently": "^4.1.1", | ||
"webpack-bundle-analyzer": "^3.3.2", | ||
"webpack-cli": "^3.3.5", | ||
"webpack-cli": "^3.3.6", | ||
"webpack-merge": "^4.2.1" | ||
@@ -126,0 +126,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
92113
755
Updatedtrim-left-x@^4.0.7
Updatedtrim-right-x@^4.0.6