trim-left-x
Advanced tools
Comparing version 4.0.9 to 4.0.10
@@ -27,6 +27,8 @@ import requireCoercibleToString from 'require-coercible-to-string-x'; | ||
export default function trimLeft2018(string) { | ||
var trimLeft2018 = function trimLeft2018(string) { | ||
return replace.call(requireCoercibleToString(string), reLeft, EMPTY_STRING); | ||
} | ||
}; | ||
export default trimLeft2018; | ||
//# sourceMappingURL=trim-left-x.esm.js.map |
@@ -5,9 +5,9 @@ /*! | ||
"copywrite": "Copyright (c) 2017", | ||
"date": "2019-07-16T21:05:45.026Z", | ||
"date": "2019-07-17T15:18:46.173Z", | ||
"describe": "", | ||
"description": "This method removes whitespace from the left end of a string.", | ||
"file": "trim-left-x.js", | ||
"hash": "5ddc0e410c5124ffbefd", | ||
"hash": "ad50f7cb71db075b69ec", | ||
"license": "MIT", | ||
"version": "4.0.9" | ||
"version": "4.0.10" | ||
} | ||
@@ -279,8 +279,10 @@ */ | ||
*/ | ||
function isNil(value) { | ||
var isNil = function isNil(value) { | ||
/* eslint-disable-next-line lodash/prefer-is-nil */ | ||
return value === null || typeof value === 'undefined'; | ||
} | ||
}; | ||
/* harmony default export */ var is_nil_x_esm = (isNil); | ||
// CONCATENATED MODULE: ./node_modules/require-object-coercible-x/dist/require-object-coercible-x.esm.js | ||
@@ -297,4 +299,4 @@ | ||
function requireObjectCoercible(value) { | ||
if (isNil(value)) { | ||
var require_object_coercible_x_esm_requireObjectCoercible = function requireObjectCoercible(value) { | ||
if (is_nil_x_esm(value)) { | ||
throw new TypeError("Cannot call method on ".concat(value)); | ||
@@ -304,5 +306,7 @@ } | ||
return value; | ||
} | ||
}; | ||
/* harmony default export */ var require_object_coercible_x_esm = (require_object_coercible_x_esm_requireObjectCoercible); | ||
// EXTERNAL MODULE: ./node_modules/is-symbol/index.js | ||
@@ -324,3 +328,3 @@ var is_symbol = __webpack_require__(0); | ||
function ToString(value) { | ||
var to_string_x_esm_ToString = function ToString(value) { | ||
if (is_symbol_default()(value)) { | ||
@@ -331,5 +335,7 @@ throw new TypeError(ERROR_MESSAGE); | ||
return castString(value); | ||
} | ||
}; | ||
/* harmony default export */ var to_string_x_esm = (to_string_x_esm_ToString); | ||
// CONCATENATED MODULE: ./node_modules/require-coercible-to-string-x/dist/require-coercible-to-string-x.esm.js | ||
@@ -346,7 +352,9 @@ | ||
function requireCoercibleToString(value) { | ||
return ToString(requireObjectCoercible(value)); | ||
} | ||
var require_coercible_to_string_x_esm_requireCoercibleToString = function requireCoercibleToString(value) { | ||
return to_string_x_esm(require_object_coercible_x_esm(value)); | ||
}; | ||
/* harmony default export */ var require_coercible_to_string_x_esm = (require_coercible_to_string_x_esm_requireCoercibleToString); | ||
// CONCATENATED MODULE: ./node_modules/white-space-x/dist/white-space-x.esm.js | ||
@@ -667,3 +675,2 @@ /** | ||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "trimLeft2016", function() { return trimLeft2016; }); | ||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return trimLeft2018; }); | ||
@@ -685,3 +692,3 @@ | ||
function trimLeft2016(string) { | ||
return replace.call(requireCoercibleToString(string), reLeft2016, EMPTY_STRING); | ||
return replace.call(require_coercible_to_string_x_esm(string), reLeft2016, EMPTY_STRING); | ||
} | ||
@@ -696,8 +703,10 @@ /** | ||
function trimLeft2018(string) { | ||
return replace.call(requireCoercibleToString(string), reLeft, EMPTY_STRING); | ||
} | ||
var trim_left_x_esm_trimLeft2018 = function trimLeft2018(string) { | ||
return replace.call(require_coercible_to_string_x_esm(string), reLeft, EMPTY_STRING); | ||
}; | ||
/* harmony default export */ var trim_left_x_esm = __webpack_exports__["default"] = (trim_left_x_esm_trimLeft2018); | ||
/***/ }) | ||
@@ -704,0 +713,0 @@ /******/ ]); |
@@ -5,12 +5,12 @@ /*! | ||
"copywrite": "Copyright (c) 2017", | ||
"date": "2019-07-16T21:05:45.026Z", | ||
"date": "2019-07-17T15:18:46.173Z", | ||
"describe": "", | ||
"description": "This method removes whitespace from the left end of a string.", | ||
"file": "trim-left-x.min.js", | ||
"hash": "3de1601ed19846964b49", | ||
"hash": "5c691e4076b07052704c", | ||
"license": "MIT", | ||
"version": "4.0.9" | ||
"version": "4.0.10" | ||
} | ||
*/ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.trimLeftX=t():e.trimLeftX=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;r.d(t,"trimLeft2016",function(){return v}),r.d(t,"default",function(){return S});var b="",g=/none/.constructor,m=new g("^[".concat(y,"]+")),O=new g("^[".concat(l,"]+")),j=b.replace;function v(e){return j.call(c(e),m,b)}function S(e){return j.call(c(e),O,b)}}])}); | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.trimLeftX=t():e.trimLeftX=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);for(var n=function(e){return null==e},s=function(e){if(n(e))throw new TypeError("Cannot call method on ".concat(e));return e},o=r(0),i=r.n(o),c="Cannot convert a Symbol value to a string",u=c.constructor,p=function(e){if(i()(e))throw new TypeError(c);return u(e)},f=function(e){return p(s(e))},a=[{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"}],d="",l="",y=a.length,b=0;b<y;b+=1)a[b].es2016&&(d+=a[b].string),a[b].es2018&&(l+=a[b].string);var g=l,m=d;r.d(t,"trimLeft2016",function(){return h});var O="",j=/none/.constructor,S=new j("^[".concat(m,"]+")),v=new j("^[".concat(g,"]+")),w=O.replace;function h(e){return w.call(f(e),S,O)}t.default=function(e){return w.call(f(e),v,O)}}])}); | ||
//# sourceMappingURL=trim-left-x.min.js.map |
{ | ||
"name": "trim-left-x", | ||
"version": "4.0.9", | ||
"version": "4.0.10", | ||
"description": "This method removes whitespace from the left end of a string.", | ||
@@ -52,4 +52,4 @@ "homepage": "https://github.com/Xotic750/trim-left-x", | ||
"dependencies": { | ||
"require-coercible-to-string-x": "^2.0.8", | ||
"white-space-x": "^4.0.7" | ||
"require-coercible-to-string-x": "^2.0.9", | ||
"white-space-x": "^4.0.8" | ||
}, | ||
@@ -70,3 +70,3 @@ "devDependencies": { | ||
"@types/jest": "^24.0.15", | ||
"@types/node": "^12.6.3", | ||
"@types/node": "^12.6.6", | ||
"babel-core": "^7.0.0-0", | ||
@@ -87,3 +87,3 @@ "babel-eslint": "^10.0.2", | ||
"eslint-plugin-babel": "^5.3.0", | ||
"eslint-plugin-compat": "^3.2.0", | ||
"eslint-plugin-compat": "^3.3.0", | ||
"eslint-plugin-css-modules": "^2.11.0", | ||
@@ -93,4 +93,4 @@ "eslint-plugin-eslint-comments": "^3.1.2", | ||
"eslint-plugin-import": "^2.18.0", | ||
"eslint-plugin-jest": "^22.7.2", | ||
"eslint-plugin-jsdoc": "^15.3.5", | ||
"eslint-plugin-jest": "^22.9.0", | ||
"eslint-plugin-jsdoc": "^15.5.2", | ||
"eslint-plugin-json": "^1.4.0", | ||
@@ -122,3 +122,3 @@ "eslint-plugin-lodash": "^5.1.0", | ||
"typescript": "^3.5.3", | ||
"webpack": "^4.35.3", | ||
"webpack": "^4.36.0", | ||
"webpack-bundle-analyzer": "^3.3.2", | ||
@@ -125,0 +125,0 @@ "webpack-cli": "^3.3.6", |
@@ -28,4 +28,6 @@ import requireCoercibleToString from 'require-coercible-to-string-x'; | ||
*/ | ||
export default function trimLeft2018(string) { | ||
const trimLeft2018 = function trimLeft2018(string) { | ||
return replace.call(requireCoercibleToString(string), reLeft, EMPTY_STRING); | ||
} | ||
}; | ||
export default trimLeft2018; |
Sorry, the diff of this file is not supported yet
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
87307
717
Updatedwhite-space-x@^4.0.8