Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

string-pad-start-x

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

string-pad-start-x - npm Package Compare versions

Comparing version 2.0.16 to 2.0.17

src/.eslintrc.js

176

dist/string-pad-start-x.js

@@ -5,9 +5,9 @@ /*!

"copywrite": "Copyright (c) 2017",
"date": "2019-07-27T14:44:16.901Z",
"date": "2019-07-31T22:43:13.507Z",
"describe": "",
"description": "Pads a string with another string (repeated, if needed).",
"file": "string-pad-start-x.js",
"hash": "d9e24b2ae462128709e5",
"hash": "b43e9073075bcdaf1c2f",
"license": "MIT",
"version": "2.0.16"
"version": "2.0.17"
}

@@ -944,5 +944,3 @@ */

// CONCATENATED MODULE: ./node_modules/is-function-x/dist/is-function-x.esm.js
var is_function_x_esm_this = undefined;
function is_function_x_esm_newArrowCheck(innerThis, boundThis) { if (innerThis !== boundThis) { throw new TypeError("Cannot instantiate an arrow function"); } }

@@ -954,6 +952,3 @@

var FunctionCtr = attempt_x_esm.constructor;
var castBoolean = true.constructor;
var is_function_x_esm_SPACE = ' ';

@@ -966,10 +961,8 @@ var fToString = attempt_x_esm.toString;

var test = ctrRx.test;
var hasNativeClass = attempt_x_esm(function () {
is_function_x_esm_newArrowCheck(this, is_function_x_esm_this);
var hasNativeClass = attempt_x_esm(function attemptee() {
/* eslint-disable-next-line babel/new-cap */
return FunctionCtr('"use strict"; return class My {};')();
}.bind(undefined)).threw === false;
}).threw === false;
var testClassstring = function _testClassstring(value) {
var is_function_x_esm_testClassString = function testClassString(value) {
return test.call(ctrRx, normalize_space_x_esm(replace_comments_x_esm(fToString.call(value), is_function_x_esm_SPACE)));

@@ -979,3 +972,3 @@ };

var isES6ClassFn = function isES6ClassFunc(value) {
var result = attempt_x_esm(testClassstring, value);
var result = attempt_x_esm(is_function_x_esm_testClassString, value);
return result.threw === false && result.value;

@@ -1001,2 +994,7 @@ };

};
var is_function_x_esm_compareTags = function compareTags(value) {
var strTag = to_string_tag_x_esm(value);
return strTag === funcTag || strTag === genTag || strTag === asyncTag;
};
/**

@@ -1021,8 +1019,7 @@ * Checks if `value` is classified as a `Function` object.

if (hasNativeClass && castBoolean(allowClass) === false && isES6ClassFn(value)) {
if (hasNativeClass && to_boolean_x_esm(allowClass) === false && isES6ClassFn(value)) {
return false;
}
var strTag = to_string_tag_x_esm(value);
return strTag === funcTag || strTag === genTag || strTag === asyncTag;
return is_function_x_esm_compareTags(value);
};

@@ -1049,7 +1046,3 @@

var DEFAULT = 'default';
/** @type {StringConstructor} */
var StringCtr = STRING.constructor;
/** @type {NumberConstructor} */
var NumberCtr = ZERO.constructor;

@@ -1065,2 +1058,10 @@ /* eslint-disable-next-line compat/compat */

var orderLength = 2;
var assertHint = function assertHint(hint) {
if (typeof hint !== 'string' || hint !== NUMBER && hint !== STRING) {
throw new TypeError('hint must be "string" or "number"');
}
return hint;
};
/**

@@ -1072,9 +1073,6 @@ * @param {*} ordinary - The ordinary to convert.

var ordinaryToPrimitive = function _ordinaryToPrimitive(ordinary, hint) {
var to_primitive_x_esm_ordinaryToPrimitive = function ordinaryToPrimitive(ordinary, hint) {
require_object_coercible_x_esm(ordinary);
if (typeof hint !== 'string' || hint !== NUMBER && hint !== STRING) {
throw new TypeError('hint must be "string" or "number"');
}
assertHint(hint);
var methodNames = hint === STRING ? toStringOrder : toNumberOrder;

@@ -1105,3 +1103,3 @@ var method;

var getMethod = function _getMethod(object, property) {
var to_primitive_x_esm_getMethod = function getMethod(object, property) {
var func = object[property];

@@ -1152,3 +1150,3 @@

if (symToPrimitive) {
return getMethod(value, symToPrimitive);
return to_primitive_x_esm_getMethod(value, symToPrimitive);
}

@@ -1163,2 +1161,20 @@

};
var to_primitive_x_esm_evalExotic = function evalExotic(obj) {
var exoticToPrim = obj.exoticToPrim,
input = obj.input,
hint = obj.hint;
var result = exoticToPrim.call(input, hint);
if (is_primitive_default()(result)) {
return result;
}
throw new TypeError('unable to convert exotic object to primitive');
};
var to_primitive_x_esm_evalPrimitive = function evalPrimitive(input, hint) {
var newHint = hint === DEFAULT && (is_date_object_default()(input) || is_symbol_default()(input)) ? STRING : hint;
return to_primitive_x_esm_ordinaryToPrimitive(input, newHint === DEFAULT ? NUMBER : newHint);
};
/**

@@ -1174,3 +1190,3 @@ * This method converts a JavaScript object to a primitive value.

* @param {*} input - The input to convert.
* @param {NumberConstructor|StringConstructor} [preferredType] - The preferred type (String or Number).
* @param {Function} [preferredType] - The preferred type (String or Number).
* @throws {TypeError} If unable to convert input to a primitive.

@@ -1189,15 +1205,7 @@ * @returns {string|number} The converted input as a primitive.

var exoticToPrim = to_primitive_x_esm_getExoticToPrim(input);
if (typeof exoticToPrim !== 'undefined') {
var result = exoticToPrim.call(input, hint);
if (is_primitive_default()(result)) {
return result;
}
throw new TypeError('unable to convert exotic object to primitive');
}
var newHint = hint === DEFAULT && (is_date_object_default()(input) || is_symbol_default()(input)) ? STRING : hint;
return ordinaryToPrimitive(input, newHint === DEFAULT ? NUMBER : newHint);
return typeof exoticToPrim === 'undefined' ? to_primitive_x_esm_evalPrimitive(input, hint) : to_primitive_x_esm_evalExotic({
exoticToPrim: exoticToPrim,
input: input,
hint: hint
});
};

@@ -1279,3 +1287,3 @@

var isBinary = function _isBinary(value) {
var isBinary = function isBinary(value) {
return to_number_x_esm_test.call(binaryRegex, value);

@@ -1286,10 +1294,10 @@ };

var isOctal = function _isOctal(value) {
var isOctal = function isOctal(value) {
return to_number_x_esm_test.call(octalRegex, value);
};
var nonWSregex2018 = new RegExpConstructor("[\x85\u180E\u200B\uFFFE]", 'g');
var nonWSregex = new RegExpConstructor("[\x85\u180E\u200B\uFFFE]", 'g');
var hasNonWS2018 = function _hasNonWS(value) {
return to_number_x_esm_test.call(nonWSregex2018, value);
var hasNonWS = function hasNonWS(value) {
return to_number_x_esm_test.call(nonWSregex, value);
};

@@ -1299,7 +1307,51 @@

var isInvalidHexLiteral = function _isInvalidHexLiteral(value) {
var isInvalidHexLiteral = function isInvalidHexLiteral(value) {
return to_number_x_esm_test.call(invalidHexLiteral, value);
};
var to_number_x_esm_assertNotSymbol = function assertNotSymbol(value) {
if (is_symbol_default()(value)) {
throw new TypeError(to_number_x_esm_ERROR_MESSAGE);
}
return value;
};
var to_number_x_esm_parseBase = function parseBase(value, radix) {
return parse_int_x_esm(pStrSlice.call(value, testCharsCount), radix);
};
var parseString = function parseString(toNum, value) {
if (isBinary(value)) {
return toNum(to_number_x_esm_parseBase(value, binaryRadix));
}
if (isOctal(value)) {
return toNum(to_number_x_esm_parseBase(value, octalRadix));
}
return null;
};
var to_number_x_esm_convertString = function convertString(toNum, value) {
var val = parseString(toNum, value);
if (val !== null) {
return val;
}
if (hasNonWS(value) || isInvalidHexLiteral(value)) {
return nan_x_esm;
}
var trimmed = trim_x_esm(value);
if (trimmed !== value) {
return toNum(trimmed);
}
return null;
};
/**
* This method converts argument to a value of type Number. (ES2018).
* This method converts argument to a value of type Number. (ES2019).
*

@@ -1313,26 +1365,10 @@ * @param {*} [argument] - The argument to convert to a number.

var to_number_x_esm_toNumber = function toNumber(argument) {
var value = to_primitive_x_esm(argument, to_number_x_esm_castNumber);
var value = to_number_x_esm_assertNotSymbol(to_primitive_x_esm(argument, to_number_x_esm_castNumber));
if (is_symbol_default()(value)) {
throw new TypeError(to_number_x_esm_ERROR_MESSAGE);
}
if (typeof value === 'string') {
if (isBinary(value)) {
return toNumber(parse_int_x_esm(pStrSlice.call(value, testCharsCount), binaryRadix));
}
var val = to_number_x_esm_convertString(toNumber, value);
if (isOctal(value)) {
return toNumber(parse_int_x_esm(pStrSlice.call(value, testCharsCount), octalRadix));
if (val !== null) {
return val;
}
if (hasNonWS2018(value) || isInvalidHexLiteral(value)) {
return nan_x_esm;
}
var trimmed = trim_x_esm(value);
if (trimmed !== value) {
return toNumber(trimmed);
}
}

@@ -1339,0 +1375,0 @@

@@ -5,9 +5,9 @@ /*!

"copywrite": "Copyright (c) 2017",
"date": "2019-07-27T14:44:16.901Z",
"date": "2019-07-31T22:43:13.507Z",
"describe": "",
"description": "Pads a string with another string (repeated, if needed).",
"file": "string-pad-start-x.min.js",
"hash": "a34af76a1f8cb1bb5ee3",
"hash": "4319a54f2d72cde5bd9d",
"license": "MIT",
"version": "2.0.16"
"version": "2.0.17"
}

@@ -21,3 +21,3 @@ */

* Released under the MIT License.
*/e.exports=function(e){return"object"==typeof e?null===e:"function"!=typeof e}},function(e,t,r){"use strict";var n=Date.prototype.getDay,o=Object.prototype.toString,i="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){return"object"==typeof e&&null!==e&&(i?function(e){try{return n.call(e),!0}catch(e){return!1}}(e):"[object Date]"===o.call(e))}},function(e,t,r){"use strict";(function(t){var n=t.Symbol,o=r(5);e.exports=function(){return"function"==typeof n&&("function"==typeof Symbol&&("symbol"==typeof n("foo")&&("symbol"==typeof Symbol("bar")&&o())))}}).call(this,r(4))},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 o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},function(e,t,r){"use strict";r.r(t);var n=function(e){return null==e},o=function(e){if(n(e))throw new TypeError("Cannot call method on ".concat(e));return e},i=r(0),s=r.n(i),c="Cannot convert a Symbol value to a string",u=c.constructor,a=function(e){if(s()(e))throw new TypeError(c);return u(e)},f=function(e){try{for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return{threw:!1,value:e.apply(this,r)}}catch(e){return{threw:!0,value:e}}};for(var l=f(function(){return function(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}(this,void 0),"function"==typeof Symbol&&s()(Symbol(""))}.bind(void 0)),p=!1===l.threw&&!0===l.value,d=r(1),y=r.n(d),b=r(2),g=r.n(b),v=function(e){return!!e},m={}.toString,h=function(e){return null===e?"[object Null]":void 0===e?"[object Undefined]":m.call(e)},w=p&&s()(Symbol.toStringTag),S=function(e){return a(o(e))},j=[{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"}],O="",x=j.length,T=0;T<x;T+=1)j[T].es2016&&j[T].string,j[T].es2018&&(O+=j[T].string);var P=O,E=new(0,/none/.constructor)("^[".concat(P,"]+")),F="".replace,M=function(e){return F.call(S(e),E,"")},N=new(0,/none/.constructor)("[".concat(P,"]+$")),C="".replace,k=function(e){return C.call(S(e),N,"")},$=function(e){return M(k(e))},_=new(0,/none/.constructor)("[".concat(P,"]+"),"g"),D=" ".replace,A=function(e){return D.call($(e),_," ")},I=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,X="".replace,q=function(e,t){return X.call(S(e),I,arguments.length>1?a(t):"")};var L=f.constructor,B=(!0).constructor,G=f.toString,H=/^class /,R=H.test,U=!1===f(function(){return function(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}(this,void 0),L('"use strict"; return class My {};')()}.bind(void 0)).threw,V=function(e){return R.call(H,A(q(G.call(e)," ")))},z=function(e){var t=f(V,e);return!1===t.threw&&t.value},J=function(e,t){if(y()(e))return!1;if(w)return function(e,t){return!(U&&!1===t&&z(e)||!1!==f.call(e,G).threw)}(e,v(t));if(U&&!1===B(t)&&z(e))return!1;var r=h(e);return"[object Function]"===r||"[object GeneratorFunction]"===r||"[object AsyncFunction]"===r},K="string".constructor,Q=(0).constructor,W=p&&Symbol.toPrimitive,Y=p&&Symbol.prototype.valueOf,Z=["toString","valueOf"],ee=["valueOf","toString"],te=function(e,t){if(o(e),"string"!=typeof t||"number"!==t&&"string"!==t)throw new TypeError('hint must be "string" or "number"');for(var r,n,i="string"===t?Z:ee,s=0;s<2;s+=1)if(r=e[i[s]],J(r)&&(n=r.call(e),y()(n)))return n;throw new TypeError("No default value")},re=function(e,t){if(t){if(e===K)return"string";if(e===Q)return"number"}return"default"},ne=function(e){if(p){if(W)return function(e,t){var r=e[t];if(!1===n(r)){if(!1===J(r))throw new TypeError("".concat(r," returned for property ").concat(t," of object ").concat(e," is not a function"));return r}}(e,W);if(s()(e))return Y}},oe=function(e,t){if(y()(e))return e;var r=re(t,arguments.length>1),n=ne(e);if(void 0!==n){var o=n.call(e,r);if(y()(o))return o;throw new TypeError("unable to convert exotic object to primitive")}var i="default"===r&&(g()(e)||s()(e))?"string":r;return te(e,"default"===i?"number":i)},ie=parseInt,se=(0).constructor,ce="".charAt,ue=/^[-+]?0[xX]/,ae=ue.test,fe=function(e,t){var r=M(a(e));return"᠎"===ce.call(r,0)?NaN:ie(r,se(t)||(ae.call(ue,r)?16:10))},le=2..constructor,pe="Cannot convert a Symbol value to a number".slice,de=/^0b[01]+$/i,ye=de.test,be=/^0o[0-7]+$/i,ge=new(0,de.constructor)("[…᠎​￾]","g"),ve=/^[-+]0x[0-9a-f]+$/i,me=function e(t){var r=oe(t,le);if(s()(r))throw new TypeError("Cannot convert a Symbol value to a number");if("string"==typeof r){if(function(e){return ye.call(de,e)}(r))return e(fe(pe.call(r,2),2));if(function(e){return ye.call(be,e)}(r))return e(fe(pe.call(r,2),8));if(function(e){return ye.call(ge,e)}(r)||function(e){return ye.call(ve,e)}(r))return NaN;var n=$(r);if(n!==r)return e(n)}return le(r)},he=function(e){return e!=e},we=function(e){return"number"==typeof e&&!1===he(e)&&e!==1/0&&e!==-1/0},Se=function(e){var t=me(e);return 0===t||he(t)?t:t>0?1:-1},je=Math.abs,Oe=Math.floor,xe=function(e){var t=me(e);return he(t)?0:0===t||!1===we(t)?t:Se(t)*Oe(je(t))},Te=function(e){var t=xe(e);return t<=0?0:t>9007199254740991?9007199254740991:t},Pe="".slice;t.default=function(e,t){var r=a(o(e)),n=Te(r.length),i=arguments.length>2?arguments[2]:void 0,s=void 0===i?"":a(i);""===s&&(s=" ");var c=Te(t);if(c<=n)return r;for(var u=c-n;s.length<u;){var f=s.length,l=u-f;s+=f>l?Pe.call(s,0,l):s}var p=s.length>u?Pe.call(s,0,u):s;return p+r}}])});
*/e.exports=function(e){return"object"==typeof e?null===e:"function"!=typeof e}},function(e,t,r){"use strict";var n=Date.prototype.getDay,o=Object.prototype.toString,i="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){return"object"==typeof e&&null!==e&&(i?function(e){try{return n.call(e),!0}catch(e){return!1}}(e):"[object Date]"===o.call(e))}},function(e,t,r){"use strict";(function(t){var n=t.Symbol,o=r(5);e.exports=function(){return"function"==typeof n&&("function"==typeof Symbol&&("symbol"==typeof n("foo")&&("symbol"==typeof Symbol("bar")&&o())))}}).call(this,r(4))},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 o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},function(e,t,r){"use strict";r.r(t);var n=function(e){return null==e},o=function(e){if(n(e))throw new TypeError("Cannot call method on ".concat(e));return e},i=r(0),s=r.n(i),c="Cannot convert a Symbol value to a string",u=c.constructor,a=function(e){if(s()(e))throw new TypeError(c);return u(e)},f=function(e){try{for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return{threw:!1,value:e.apply(this,r)}}catch(e){return{threw:!0,value:e}}};for(var l=f(function(){return function(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}(this,void 0),"function"==typeof Symbol&&s()(Symbol(""))}.bind(void 0)),p=!1===l.threw&&!0===l.value,d=r(1),y=r.n(d),b=r(2),g=r.n(b),m=function(e){return!!e},v={}.toString,h=function(e){return null===e?"[object Null]":void 0===e?"[object Undefined]":v.call(e)},w=p&&s()(Symbol.toStringTag),S=function(e){return a(o(e))},j=[{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"}],O="",x=j.length,P=0;P<x;P+=1)j[P].es2016&&j[P].string,j[P].es2018&&(O+=j[P].string);var T=O,E=new(0,/none/.constructor)("^[".concat(T,"]+")),F="".replace,M=function(e){return F.call(S(e),E,"")},N=new(0,/none/.constructor)("[".concat(T,"]+$")),k="".replace,C=function(e){return k.call(S(e),N,"")},$=function(e){return M(C(e))},_=new(0,/none/.constructor)("[".concat(T,"]+"),"g"),D=" ".replace,A=function(e){return D.call($(e),_," ")},I=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,X="".replace,q=function(e,t){return X.call(S(e),I,arguments.length>1?a(t):"")},L=f.constructor,B=f.toString,G=/^class /,H=G.test,R=!1===f(function(){return L('"use strict"; return class My {};')()}).threw,U=function(e){return H.call(G,A(q(B.call(e)," ")))},V=function(e){var t=f(U,e);return!1===t.threw&&t.value},z=function(e,t){return!y()(e)&&(w?function(e,t){return!(R&&!1===t&&V(e)||!1!==f.call(e,B).threw)}(e,m(t)):(!R||!1!==m(t)||!V(e))&&function(e){var t=h(e);return"[object Function]"===t||"[object GeneratorFunction]"===t||"[object AsyncFunction]"===t}(e))},J="string".constructor,K=(0).constructor,Q=p&&Symbol.toPrimitive,W=p&&Symbol.prototype.valueOf,Y=["toString","valueOf"],Z=["valueOf","toString"],ee=function(e,t){o(e),function(e){if("string"!=typeof e||"number"!==e&&"string"!==e)throw new TypeError('hint must be "string" or "number"')}(t);for(var r,n,i="string"===t?Y:Z,s=0;s<2;s+=1)if(r=e[i[s]],z(r)&&(n=r.call(e),y()(n)))return n;throw new TypeError("No default value")},te=function(e,t){if(t){if(e===J)return"string";if(e===K)return"number"}return"default"},re=function(e){if(p){if(Q)return function(e,t){var r=e[t];if(!1===n(r)){if(!1===z(r))throw new TypeError("".concat(r," returned for property ").concat(t," of object ").concat(e," is not a function"));return r}}(e,Q);if(s()(e))return W}},ne=function(e){var t=e.exoticToPrim,r=e.input,n=e.hint,o=t.call(r,n);if(y()(o))return o;throw new TypeError("unable to convert exotic object to primitive")},oe=function(e,t){var r="default"===t&&(g()(e)||s()(e))?"string":t;return ee(e,"default"===r?"number":r)},ie=function(e,t){if(y()(e))return e;var r=te(t,arguments.length>1),n=re(e);return void 0===n?oe(e,r):ne({exoticToPrim:n,input:e,hint:r})},se=parseInt,ce=(0).constructor,ue="".charAt,ae=/^[-+]?0[xX]/,fe=ae.test,le=function(e,t){var r=M(a(e));return"᠎"===ue.call(r,0)?NaN:se(r,ce(t)||(fe.call(ae,r)?16:10))},pe=2..constructor,de="Cannot convert a Symbol value to a number".slice,ye=/^0b[01]+$/i,be=ye.test,ge=/^0o[0-7]+$/i,me=new(0,ye.constructor)("[…᠎​￾]","g"),ve=/^[-+]0x[0-9a-f]+$/i,he=function(e,t){return le(de.call(e,2),t)},we=function(e,t){return function(e){return be.call(ye,e)}(t)?e(he(t,2)):function(e){return be.call(ge,e)}(t)?e(he(t,8)):null},Se=function(e,t){var r=we(e,t);if(null!==r)return r;if(function(e){return be.call(me,e)}(t)||function(e){return be.call(ve,e)}(t))return NaN;var n=$(t);return n!==t?e(n):null},je=function e(t){var r=function(e){if(s()(e))throw new TypeError("Cannot convert a Symbol value to a number");return e}(ie(t,pe));if("string"==typeof r){var n=Se(e,r);if(null!==n)return n}return pe(r)},Oe=function(e){return e!=e},xe=function(e){return"number"==typeof e&&!1===Oe(e)&&e!==1/0&&e!==-1/0},Pe=function(e){var t=je(e);return 0===t||Oe(t)?t:t>0?1:-1},Te=Math.abs,Ee=Math.floor,Fe=function(e){var t=je(e);return Oe(t)?0:0===t||!1===xe(t)?t:Pe(t)*Ee(Te(t))},Me=function(e){var t=Fe(e);return t<=0?0:t>9007199254740991?9007199254740991:t},Ne="".slice;t.default=function(e,t){var r=a(o(e)),n=Me(r.length),i=arguments.length>2?arguments[2]:void 0,s=void 0===i?"":a(i);""===s&&(s=" ");var c=Me(t);if(c<=n)return r;for(var u=c-n;s.length<u;){var f=s.length,l=u-f;s+=f>l?Ne.call(s,0,l):s}var p=s.length>u?Ne.call(s,0,u):s;return p+r}}])});
//# sourceMappingURL=string-pad-start-x.min.js.map
{
"name": "string-pad-start-x",
"version": "2.0.16",
"version": "2.0.17",
"description": "Pads a string with another string (repeated, if needed).",

@@ -53,5 +53,5 @@ "homepage": "https://github.com/Xotic750/string-pad-start-x",

"dependencies": {
"require-object-coercible-x": "^2.0.26",
"to-length-x": "^4.0.25",
"to-string-x": "^2.0.34"
"require-object-coercible-x": "^2.0.27",
"to-length-x": "^4.0.26",
"to-string-x": "^2.0.35"
},

@@ -62,6 +62,2 @@ "devDependencies": {

"@babel/node": "^7.5.5",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-syntax-export-default-from": "^7.2.0",
"@babel/plugin-syntax-export-namespace-from": "^7.2.0",
"@babel/plugin-transform-property-mutators": "^7.2.0",

@@ -71,5 +67,5 @@ "@babel/plugin-transform-runtime": "^7.5.5",

"@babel/runtime": "^7.5.5",
"@prorenata/eslint-config-vue": "^1.13.14",
"@types/jest": "^24.0.15",
"@types/jest": "^24.0.16",
"@types/node": "^12.6.8",
"@xotic750/eslint-config-recommended": "^1.0.5",
"babel-core": "^7.0.0-0",

@@ -79,9 +75,5 @@ "babel-eslint": "^10.0.2",

"babel-plugin-lodash": "^3.3.4",
"caniuse-lite": "^1.0.30000986",
"chalk": "^2.4.2",
"concurrently": "^4.1.1",
"caniuse-lite": "^1.0.30000988",
"cross-env": "^5.2.0",
"eslint": "=5.16.0",
"eslint-config-airbnb-base": "^13.2.0",
"eslint-config-prettier": "^6.0.0",
"eslint-friendly-formatter": "^4.0.1",

@@ -96,4 +88,4 @@ "eslint-import-resolver-webpack": "^0.11.1",

"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jest": "^22.14.0",
"eslint-plugin-jsdoc": "^15.7.2",
"eslint-plugin-jest": "^22.14.1",
"eslint-plugin-jsdoc": "^15.8.0",
"eslint-plugin-json": "^1.4.0",

@@ -107,23 +99,17 @@ "eslint-plugin-lodash": "^5.1.0",

"eslint-plugin-switch-case": "^1.1.2",
"eslint-plugin-vue": "^5.2.3",
"friendly-errors-webpack-plugin": "^1.7.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^24.8.0",
"jest-cli": "^24.8.0",
"jest-file": "^1.0.0",
"jsdoc-to-markdown": "^5.0.0",
"lodash": "^4.17.15",
"lodash-webpack-plugin": "^0.11.5",
"mkdirp": "^0.5.1",
"node-notifier": "^5.4.0",
"nodemon": "^1.19.1",
"prettier": "=1.14.3",
"prettier": "^1.18.2",
"rimraf": "^2.6.3",
"semver": "^6.3.0",
"source-map-loader": "^0.2.4",
"strip-ansi": "^5.2.0",
"terser-webpack-plugin": "^1.3.0",
"terser-webpack-plugin": "^1.4.1",
"typescript": "^3.5.3",
"webpack": "^4.38.0",
"webpack-bundle-analyzer": "^3.3.2",
"webpack-bundle-analyzer": "^3.4.1",
"webpack-cli": "^3.3.6",

@@ -130,0 +116,0 @@ "webpack-merge": "^4.2.1"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc