change-case-bundled
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -24,3 +24,3 @@ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.changeCase = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){ | ||
},{"pascal-case":10,"tslib":14}],2:[function(require,module,exports){ | ||
},{"pascal-case":11,"tslib":18}],2:[function(require,module,exports){ | ||
"use strict"; | ||
@@ -41,3 +41,3 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
},{"no-case":8,"tslib":14,"upper-case-first":15}],3:[function(require,module,exports){ | ||
},{"no-case":9,"tslib":18,"upper-case-first":19}],3:[function(require,module,exports){ | ||
"use strict"; | ||
@@ -58,3 +58,3 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
},{"camel-case":1,"capital-case":2,"constant-case":4,"dot-case":5,"header-case":6,"no-case":8,"param-case":9,"pascal-case":10,"path-case":11,"sentence-case":12,"snake-case":13,"tslib":14}],4:[function(require,module,exports){ | ||
},{"camel-case":1,"capital-case":2,"constant-case":4,"dot-case":5,"header-case":6,"no-case":9,"param-case":10,"pascal-case":11,"path-case":12,"sentence-case":13,"snake-case":14,"tslib":18}],4:[function(require,module,exports){ | ||
"use strict"; | ||
@@ -71,3 +71,3 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
},{"no-case":8,"tslib":14,"upper-case":16}],5:[function(require,module,exports){ | ||
},{"no-case":9,"tslib":18,"upper-case":20}],5:[function(require,module,exports){ | ||
"use strict"; | ||
@@ -83,3 +83,3 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
},{"no-case":8,"tslib":14}],6:[function(require,module,exports){ | ||
},{"no-case":9,"tslib":18}],6:[function(require,module,exports){ | ||
"use strict"; | ||
@@ -95,6 +95,17 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
},{"capital-case":2,"tslib":14}],7:[function(require,module,exports){ | ||
},{"capital-case":2,"tslib":18}],7:[function(require,module,exports){ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** | ||
* Lower case the first character of an input string. | ||
*/ | ||
function lowerCaseFirst(input) { | ||
return input.charAt(0).toLowerCase() + input.substr(1); | ||
} | ||
exports.lowerCaseFirst = lowerCaseFirst; | ||
},{}],8:[function(require,module,exports){ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** | ||
* Source: ftp://ftp.unicode.org/Public/UCD/latest/ucd/SpecialCasing.txt | ||
@@ -149,3 +160,3 @@ */ | ||
},{}],8:[function(require,module,exports){ | ||
},{}],9:[function(require,module,exports){ | ||
"use strict"; | ||
@@ -189,3 +200,3 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
},{"lower-case":7}],9:[function(require,module,exports){ | ||
},{"lower-case":8}],10:[function(require,module,exports){ | ||
"use strict"; | ||
@@ -201,3 +212,3 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
},{"dot-case":5,"tslib":14}],10:[function(require,module,exports){ | ||
},{"dot-case":5,"tslib":18}],11:[function(require,module,exports){ | ||
"use strict"; | ||
@@ -226,3 +237,3 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
},{"no-case":8,"tslib":14}],11:[function(require,module,exports){ | ||
},{"no-case":9,"tslib":18}],12:[function(require,module,exports){ | ||
"use strict"; | ||
@@ -238,3 +249,3 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
},{"dot-case":5,"tslib":14}],12:[function(require,module,exports){ | ||
},{"dot-case":5,"tslib":18}],13:[function(require,module,exports){ | ||
"use strict"; | ||
@@ -258,3 +269,3 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
},{"no-case":8,"tslib":14,"upper-case-first":15}],13:[function(require,module,exports){ | ||
},{"no-case":9,"tslib":18,"upper-case-first":19}],14:[function(require,module,exports){ | ||
"use strict"; | ||
@@ -270,3 +281,63 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
},{"dot-case":5,"tslib":14}],14:[function(require,module,exports){ | ||
},{"dot-case":5,"tslib":18}],15:[function(require,module,exports){ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
function spongeCase(input) { | ||
var result = ""; | ||
for (var i = 0; i < input.length; i++) { | ||
result += | ||
Math.random() > 0.5 ? input[i].toUpperCase() : input[i].toLowerCase(); | ||
} | ||
return result; | ||
} | ||
exports.spongeCase = spongeCase; | ||
},{}],16:[function(require,module,exports){ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
function swapCase(input) { | ||
var result = ""; | ||
for (var i = 0; i < input.length; i++) { | ||
var lower = input[i].toLowerCase(); | ||
result += input[i] === lower ? input[i].toUpperCase() : lower; | ||
} | ||
return result; | ||
} | ||
exports.swapCase = swapCase; | ||
},{}],17:[function(require,module,exports){ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var SMALL_WORDS = /\b(?:an?d?|a[st]|because|but|by|en|for|i[fn]|neither|nor|o[fnr]|only|over|per|so|some|tha[tn]|the|to|up|upon|vs?\.?|versus|via|when|with|without|yet)\b/i; | ||
var TOKENS = /[^\s:–—-]+|./g; | ||
var WHITESPACE = /\s/; | ||
var IS_MANUAL_CASE = /.(?=[A-Z]|\..)/; | ||
var ALPHANUMERIC_PATTERN = /[A-Za-z0-9\u00C0-\u00FF]/; | ||
function titleCase(input) { | ||
var result = ""; | ||
var m; | ||
// tslint:disable-next-line | ||
while ((m = TOKENS.exec(input)) !== null) { | ||
var token = m[0], index = m.index; | ||
if ( | ||
// Ignore already capitalized words. | ||
!IS_MANUAL_CASE.test(token) && | ||
// Ignore small words except at beginning or end. | ||
(!SMALL_WORDS.test(token) || | ||
index === 0 || | ||
index + token.length === input.length) && | ||
// Ignore URLs. | ||
(input.charAt(index + token.length) !== ":" || | ||
WHITESPACE.test(input.charAt(index + token.length + 1)))) { | ||
// Find and uppercase first word character, skips over *modifiers*. | ||
result += token.replace(ALPHANUMERIC_PATTERN, function (m) { return m.toUpperCase(); }); | ||
continue; | ||
} | ||
result += token; | ||
} | ||
return result; | ||
} | ||
exports.titleCase = titleCase; | ||
},{}],18:[function(require,module,exports){ | ||
(function (global){ | ||
@@ -552,3 +623,3 @@ /*! ***************************************************************************** | ||
},{}],15:[function(require,module,exports){ | ||
},{}],19:[function(require,module,exports){ | ||
"use strict"; | ||
@@ -564,3 +635,3 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
},{}],16:[function(require,module,exports){ | ||
},{}],20:[function(require,module,exports){ | ||
"use strict"; | ||
@@ -614,10 +685,19 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
},{}],17:[function(require,module,exports){ | ||
},{}],21:[function(require,module,exports){ | ||
"use strict"; | ||
module.exports = require("change-case"); | ||
var changeCase = require("change-case"); | ||
changeCase.titleCase = require("title-case").titleCase; | ||
changeCase.swapCase = require("swap-case").swapCase; | ||
changeCase.lowerCase = require("lower-case").lowerCase; | ||
changeCase.lowerCaseFirst = require("lower-case-first").lowerCaseFirst; | ||
changeCase.upperCase = require("upper-case").upperCase; | ||
changeCase.upperCaseFirst = require("upper-case-first").upperCaseFirst; | ||
changeCase.spongeCase = require("sponge-case").spongeCase; | ||
},{"change-case":3}]},{},[17])(17) | ||
module.exports = changeCase; | ||
},{"change-case":3,"lower-case":8,"lower-case-first":7,"sponge-case":15,"swap-case":16,"title-case":17,"upper-case":20,"upper-case-first":19}]},{},[21])(21) | ||
}); | ||
//# sourceMappingURL=change-case-bundled.js.map |
@@ -1,1 +0,1 @@ | ||
!function(f){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=f();else if("function"==typeof define&&define.amd)define([],f);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).changeCase=f()}}(function(){return function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){return o(e[i][1][r]||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}({1:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require("tslib"),pascal_case_1=require("pascal-case");function camelCaseTransform(input,index){return 0===index?input.toLowerCase():pascal_case_1.pascalCaseTransform(input,index)}exports.camelCaseTransform=camelCaseTransform,exports.camelCaseTransformMerge=function(input,index){return 0===index?input.toLowerCase():pascal_case_1.pascalCaseTransformMerge(input)},exports.camelCase=function(input,options){return void 0===options&&(options={}),pascal_case_1.pascalCase(input,tslib_1.__assign({transform:camelCaseTransform},options))}},{"pascal-case":10,tslib:14}],2:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require("tslib"),no_case_1=require("no-case"),upper_case_first_1=require("upper-case-first");function capitalCaseTransform(input){return upper_case_first_1.upperCaseFirst(input.toLowerCase())}exports.capitalCaseTransform=capitalCaseTransform,exports.capitalCase=function(input,options){return void 0===options&&(options={}),no_case_1.noCase(input,tslib_1.__assign({delimiter:" ",transform:capitalCaseTransform},options))}},{"no-case":8,tslib:14,"upper-case-first":15}],3:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require("tslib");tslib_1.__exportStar(require("camel-case"),exports),tslib_1.__exportStar(require("capital-case"),exports),tslib_1.__exportStar(require("constant-case"),exports),tslib_1.__exportStar(require("dot-case"),exports),tslib_1.__exportStar(require("header-case"),exports),tslib_1.__exportStar(require("no-case"),exports),tslib_1.__exportStar(require("param-case"),exports),tslib_1.__exportStar(require("pascal-case"),exports),tslib_1.__exportStar(require("path-case"),exports),tslib_1.__exportStar(require("sentence-case"),exports),tslib_1.__exportStar(require("snake-case"),exports)},{"camel-case":1,"capital-case":2,"constant-case":4,"dot-case":5,"header-case":6,"no-case":8,"param-case":9,"pascal-case":10,"path-case":11,"sentence-case":12,"snake-case":13,tslib:14}],4:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require("tslib"),no_case_1=require("no-case"),upper_case_1=require("upper-case");exports.constantCase=function(input,options){return void 0===options&&(options={}),no_case_1.noCase(input,tslib_1.__assign({delimiter:"_",transform:upper_case_1.upperCase},options))}},{"no-case":8,tslib:14,"upper-case":16}],5:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require("tslib"),no_case_1=require("no-case");exports.dotCase=function(input,options){return void 0===options&&(options={}),no_case_1.noCase(input,tslib_1.__assign({delimiter:"."},options))}},{"no-case":8,tslib:14}],6:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require("tslib"),capital_case_1=require("capital-case");exports.headerCase=function(input,options){return void 0===options&&(options={}),capital_case_1.capitalCase(input,tslib_1.__assign({delimiter:"-"},options))}},{"capital-case":2,tslib:14}],7:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var SUPPORTED_LOCALE={tr:{regexp:/\u0130|\u0049|\u0049\u0307/g,map:{"İ":"i",I:"ı","İ":"i"}},az:{regexp:/\u0130/g,map:{"İ":"i",I:"ı","İ":"i"}},lt:{regexp:/\u0049|\u004A|\u012E|\u00CC|\u00CD|\u0128/g,map:{I:"i̇",J:"j̇","Į":"į̇","Ì":"i̇̀","Í":"i̇́","Ĩ":"i̇̃"}}};function lowerCase(str){return str.toLowerCase()}exports.localeLowerCase=function(str,locale){var lang=SUPPORTED_LOCALE[locale.toLowerCase()];return lowerCase(lang?str.replace(lang.regexp,function(m){return lang.map[m]}):str)},exports.lowerCase=lowerCase},{}],8:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var lower_case_1=require("lower-case"),DEFAULT_SPLIT_REGEXP=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],DEFAULT_STRIP_REGEXP=/[^A-Z0-9]+/gi;function replace(input,re,value){return re instanceof RegExp?input.replace(re,value):re.reduce(function(input,re){return input.replace(re,value)},input)}exports.noCase=function(input,options){void 0===options&&(options={});for(var _a=options.splitRegexp,splitRegexp=void 0===_a?DEFAULT_SPLIT_REGEXP:_a,_b=options.stripRegexp,stripRegexp=void 0===_b?DEFAULT_STRIP_REGEXP:_b,_c=options.transform,transform=void 0===_c?lower_case_1.lowerCase:_c,_d=options.delimiter,delimiter=void 0===_d?" ":_d,result=replace(replace(input,splitRegexp,"$1\0$2"),stripRegexp,"\0"),start=0,end=result.length;"\0"===result.charAt(start);)start++;for(;"\0"===result.charAt(end-1);)end--;return result.slice(start,end).split("\0").map(transform).join(delimiter)}},{"lower-case":7}],9:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require("tslib"),dot_case_1=require("dot-case");exports.paramCase=function(input,options){return void 0===options&&(options={}),dot_case_1.dotCase(input,tslib_1.__assign({delimiter:"-"},options))}},{"dot-case":5,tslib:14}],10:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require("tslib"),no_case_1=require("no-case");function pascalCaseTransform(input,index){var firstChar=input.charAt(0),lowerChars=input.substr(1).toLowerCase();return 0<index&&"0"<=firstChar&&firstChar<="9"?"_"+firstChar+lowerChars:""+firstChar.toUpperCase()+lowerChars}exports.pascalCaseTransform=pascalCaseTransform,exports.pascalCaseTransformMerge=function(input){return input.charAt(0).toUpperCase()+input.slice(1).toLowerCase()},exports.pascalCase=function(input,options){return void 0===options&&(options={}),no_case_1.noCase(input,tslib_1.__assign({delimiter:"",transform:pascalCaseTransform},options))}},{"no-case":8,tslib:14}],11:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require("tslib"),dot_case_1=require("dot-case");exports.pathCase=function(input,options){return void 0===options&&(options={}),dot_case_1.dotCase(input,tslib_1.__assign({delimiter:"/"},options))}},{"dot-case":5,tslib:14}],12:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require("tslib"),no_case_1=require("no-case"),upper_case_first_1=require("upper-case-first");function sentenceCaseTransform(input,index){var result=input.toLowerCase();return 0===index?upper_case_first_1.upperCaseFirst(result):result}exports.sentenceCaseTransform=sentenceCaseTransform,exports.sentenceCase=function(input,options){return void 0===options&&(options={}),no_case_1.noCase(input,tslib_1.__assign({delimiter:" ",transform:sentenceCaseTransform},options))}},{"no-case":8,tslib:14,"upper-case-first":15}],13:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require("tslib"),dot_case_1=require("dot-case");exports.snakeCase=function(input,options){return void 0===options&&(options={}),dot_case_1.dotCase(input,tslib_1.__assign({delimiter:"_"},options))}},{"dot-case":5,tslib:14}],14:[function(require,module,exports){(function(global){var __extends,__assign,__rest,__decorate,__param,__metadata,__awaiter,__generator,__exportStar,__values,__read,__spread,__spreadArrays,__await,__asyncGenerator,__asyncDelegator,__asyncValues,__makeTemplateObject,__importStar,__importDefault,__classPrivateFieldGet,__classPrivateFieldSet;!function(factory){var root="object"==typeof global?global:"object"==typeof self?self:"object"==typeof this?this:{};function createExporter(exports,previous){return exports!==root&&("function"==typeof Object.create?Object.defineProperty(exports,"__esModule",{value:!0}):exports.__esModule=!0),function(id,v){return exports[id]=previous?previous(id,v):v}}"object"==typeof module&&"object"==typeof module.exports?factory(createExporter(root,createExporter(module.exports))):factory(createExporter(root))}(function(exporter){var extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])};__extends=function(d,b){function __(){this.constructor=d}extendStatics(d,b),d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)},__assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i<n;i++)for(var p in s=arguments[i])Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p]);return t},__rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t},__decorate=function(decorators,target,key,desc){var d,c=arguments.length,r=c<3?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(c<3?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r},__param=function(paramIndex,decorator){return function(target,key){decorator(target,key,paramIndex)}},__metadata=function(metadataKey,metadataValue){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(metadataKey,metadataValue)},__awaiter=function(thisArg,_arguments,P,generator){return new(P=P||Promise)(function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){var value;result.done?resolve(result.value):((value=result.value)instanceof P?value:new P(function(resolve){resolve(value)})).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())})},__generator=function(thisArg,body){var f,y,t,g,_={label:0,sent:function(){if(1&t[0])throw t[1];return t[1]},trys:[],ops:[]};return g={next:verb(0),throw:verb(1),return:verb(2)},"function"==typeof Symbol&&(g[Symbol.iterator]=function(){return this}),g;function verb(n){return function(v){return function(op){if(f)throw new TypeError("Generator is already executing.");for(;_;)try{if(f=1,y&&(t=2&op[0]?y.return:op[0]?y.throw||((t=y.return)&&t.call(y),0):y.next)&&!(t=t.call(y,op[1])).done)return t;switch(y=0,t&&(op=[2&op[0],t.value]),op[0]){case 0:case 1:t=op;break;case 4:return _.label++,{value:op[1],done:!1};case 5:_.label++,y=op[1],op=[0];continue;case 7:op=_.ops.pop(),_.trys.pop();continue;default:if(!(t=0<(t=_.trys).length&&t[t.length-1])&&(6===op[0]||2===op[0])){_=0;continue}if(3===op[0]&&(!t||op[1]>t[0]&&op[1]<t[3])){_.label=op[1];break}if(6===op[0]&&_.label<t[1]){_.label=t[1],t=op;break}if(t&&_.label<t[2]){_.label=t[2],_.ops.push(op);break}t[2]&&_.ops.pop(),_.trys.pop();continue}op=body.call(thisArg,_)}catch(e){op=[6,e],y=0}finally{f=t=0}if(5&op[0])throw op[1];return{value:op[0]?op[1]:void 0,done:!0}}([n,v])}}},__exportStar=function(m,exports){for(var p in m)exports.hasOwnProperty(p)||(exports[p]=m[p])},__values=function(o){var s="function"==typeof Symbol&&Symbol.iterator,m=s&&o[s],i=0;if(m)return m.call(o);if(o&&"number"==typeof o.length)return{next:function(){return o&&i>=o.length&&(o=void 0),{value:o&&o[i++],done:!o}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")},__read=function(o,n){var m="function"==typeof Symbol&&o[Symbol.iterator];if(!m)return o;var r,e,i=m.call(o),ar=[];try{for(;(void 0===n||0<n--)&&!(r=i.next()).done;)ar.push(r.value)}catch(error){e={error:error}}finally{try{r&&!r.done&&(m=i.return)&&m.call(i)}finally{if(e)throw e.error}}return ar},__spread=function(){for(var ar=[],i=0;i<arguments.length;i++)ar=ar.concat(__read(arguments[i]));return ar},__spreadArrays=function(){for(var s=0,i=0,il=arguments.length;i<il;i++)s+=arguments[i].length;var r=Array(s),k=0;for(i=0;i<il;i++)for(var a=arguments[i],j=0,jl=a.length;j<jl;j++,k++)r[k]=a[j];return r},__await=function(v){return this instanceof __await?(this.v=v,this):new __await(v)},__asyncGenerator=function(thisArg,_arguments,generator){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,g=generator.apply(thisArg,_arguments||[]),q=[];return i={},verb("next"),verb("throw"),verb("return"),i[Symbol.asyncIterator]=function(){return this},i;function verb(n){g[n]&&(i[n]=function(v){return new Promise(function(a,b){1<q.push([n,v,a,b])||resume(n,v)})})}function resume(n,v){try{(r=g[n](v)).value instanceof __await?Promise.resolve(r.value.v).then(fulfill,reject):settle(q[0][2],r)}catch(e){settle(q[0][3],e)}var r}function fulfill(value){resume("next",value)}function reject(value){resume("throw",value)}function settle(f,v){f(v),q.shift(),q.length&&resume(q[0][0],q[0][1])}},__asyncDelegator=function(o){var i,p;return i={},verb("next"),verb("throw",function(e){throw e}),verb("return"),i[Symbol.iterator]=function(){return this},i;function verb(n,f){i[n]=o[n]?function(v){return(p=!p)?{value:__await(o[n](v)),done:"return"===n}:f?f(v):v}:f}},__asyncValues=function(o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,m=o[Symbol.asyncIterator];return m?m.call(o):(o=__values(o),i={},verb("next"),verb("throw"),verb("return"),i[Symbol.asyncIterator]=function(){return this},i);function verb(n){i[n]=o[n]&&function(v){return new Promise(function(resolve,reject){(function(resolve,reject,d,v){Promise.resolve(v).then(function(v){resolve({value:v,done:d})},reject)})(resolve,reject,(v=o[n](v)).done,v.value)})}}},__makeTemplateObject=function(cooked,raw){return Object.defineProperty?Object.defineProperty(cooked,"raw",{value:raw}):cooked.raw=raw,cooked},__importStar=function(mod){if(mod&&mod.__esModule)return mod;var result={};if(null!=mod)for(var k in mod)Object.hasOwnProperty.call(mod,k)&&(result[k]=mod[k]);return result.default=mod,result},__importDefault=function(mod){return mod&&mod.__esModule?mod:{default:mod}},__classPrivateFieldGet=function(receiver,privateMap){if(!privateMap.has(receiver))throw new TypeError("attempted to get private field on non-instance");return privateMap.get(receiver)},__classPrivateFieldSet=function(receiver,privateMap,value){if(!privateMap.has(receiver))throw new TypeError("attempted to set private field on non-instance");return privateMap.set(receiver,value),value},exporter("__extends",__extends),exporter("__assign",__assign),exporter("__rest",__rest),exporter("__decorate",__decorate),exporter("__param",__param),exporter("__metadata",__metadata),exporter("__awaiter",__awaiter),exporter("__generator",__generator),exporter("__exportStar",__exportStar),exporter("__values",__values),exporter("__read",__read),exporter("__spread",__spread),exporter("__spreadArrays",__spreadArrays),exporter("__await",__await),exporter("__asyncGenerator",__asyncGenerator),exporter("__asyncDelegator",__asyncDelegator),exporter("__asyncValues",__asyncValues),exporter("__makeTemplateObject",__makeTemplateObject),exporter("__importStar",__importStar),exporter("__importDefault",__importDefault),exporter("__classPrivateFieldGet",__classPrivateFieldGet),exporter("__classPrivateFieldSet",__classPrivateFieldSet)})}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],15:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.upperCaseFirst=function(input){return input.charAt(0).toUpperCase()+input.substr(1)}},{}],16:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var SUPPORTED_LOCALE={tr:{regexp:/[\u0069]/g,map:{i:"İ"}},az:{regexp:/[\u0069]/g,map:{i:"İ"}},lt:{regexp:/[\u0069\u006A\u012F]\u0307|\u0069\u0307[\u0300\u0301\u0303]/g,map:{"i̇":"I","j̇":"J","į̇":"Į","i̇̀":"Ì","i̇́":"Í","i̇̃":"Ĩ"}}};function upperCase(str){return str.toUpperCase()}exports.localeUpperCase=function(str,locale){var lang=SUPPORTED_LOCALE[locale.toLowerCase()];return upperCase(lang?str.replace(lang.regexp,function(m){return lang.map[m]}):str)},exports.upperCase=upperCase},{}],17:[function(require,module,exports){"use strict";module.exports=require("change-case")},{"change-case":3}]},{},[17])(17)}); | ||
!function(f){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=f();else if("function"==typeof define&&define.amd)define([],f);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).changeCase=f()}}(function(){return function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){return o(e[i][1][r]||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}({1:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require("tslib"),pascal_case_1=require("pascal-case");function camelCaseTransform(input,index){return 0===index?input.toLowerCase():pascal_case_1.pascalCaseTransform(input,index)}exports.camelCaseTransform=camelCaseTransform,exports.camelCaseTransformMerge=function(input,index){return 0===index?input.toLowerCase():pascal_case_1.pascalCaseTransformMerge(input)},exports.camelCase=function(input,options){return void 0===options&&(options={}),pascal_case_1.pascalCase(input,tslib_1.__assign({transform:camelCaseTransform},options))}},{"pascal-case":11,tslib:18}],2:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require("tslib"),no_case_1=require("no-case"),upper_case_first_1=require("upper-case-first");function capitalCaseTransform(input){return upper_case_first_1.upperCaseFirst(input.toLowerCase())}exports.capitalCaseTransform=capitalCaseTransform,exports.capitalCase=function(input,options){return void 0===options&&(options={}),no_case_1.noCase(input,tslib_1.__assign({delimiter:" ",transform:capitalCaseTransform},options))}},{"no-case":9,tslib:18,"upper-case-first":19}],3:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require("tslib");tslib_1.__exportStar(require("camel-case"),exports),tslib_1.__exportStar(require("capital-case"),exports),tslib_1.__exportStar(require("constant-case"),exports),tslib_1.__exportStar(require("dot-case"),exports),tslib_1.__exportStar(require("header-case"),exports),tslib_1.__exportStar(require("no-case"),exports),tslib_1.__exportStar(require("param-case"),exports),tslib_1.__exportStar(require("pascal-case"),exports),tslib_1.__exportStar(require("path-case"),exports),tslib_1.__exportStar(require("sentence-case"),exports),tslib_1.__exportStar(require("snake-case"),exports)},{"camel-case":1,"capital-case":2,"constant-case":4,"dot-case":5,"header-case":6,"no-case":9,"param-case":10,"pascal-case":11,"path-case":12,"sentence-case":13,"snake-case":14,tslib:18}],4:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require("tslib"),no_case_1=require("no-case"),upper_case_1=require("upper-case");exports.constantCase=function(input,options){return void 0===options&&(options={}),no_case_1.noCase(input,tslib_1.__assign({delimiter:"_",transform:upper_case_1.upperCase},options))}},{"no-case":9,tslib:18,"upper-case":20}],5:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require("tslib"),no_case_1=require("no-case");exports.dotCase=function(input,options){return void 0===options&&(options={}),no_case_1.noCase(input,tslib_1.__assign({delimiter:"."},options))}},{"no-case":9,tslib:18}],6:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require("tslib"),capital_case_1=require("capital-case");exports.headerCase=function(input,options){return void 0===options&&(options={}),capital_case_1.capitalCase(input,tslib_1.__assign({delimiter:"-"},options))}},{"capital-case":2,tslib:18}],7:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.lowerCaseFirst=function(input){return input.charAt(0).toLowerCase()+input.substr(1)}},{}],8:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var SUPPORTED_LOCALE={tr:{regexp:/\u0130|\u0049|\u0049\u0307/g,map:{"İ":"i",I:"ı","İ":"i"}},az:{regexp:/\u0130/g,map:{"İ":"i",I:"ı","İ":"i"}},lt:{regexp:/\u0049|\u004A|\u012E|\u00CC|\u00CD|\u0128/g,map:{I:"i̇",J:"j̇","Į":"į̇","Ì":"i̇̀","Í":"i̇́","Ĩ":"i̇̃"}}};function lowerCase(str){return str.toLowerCase()}exports.localeLowerCase=function(str,locale){var lang=SUPPORTED_LOCALE[locale.toLowerCase()];return lowerCase(lang?str.replace(lang.regexp,function(m){return lang.map[m]}):str)},exports.lowerCase=lowerCase},{}],9:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var lower_case_1=require("lower-case"),DEFAULT_SPLIT_REGEXP=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],DEFAULT_STRIP_REGEXP=/[^A-Z0-9]+/gi;function replace(input,re,value){return re instanceof RegExp?input.replace(re,value):re.reduce(function(input,re){return input.replace(re,value)},input)}exports.noCase=function(input,options){void 0===options&&(options={});for(var _a=options.splitRegexp,splitRegexp=void 0===_a?DEFAULT_SPLIT_REGEXP:_a,_b=options.stripRegexp,stripRegexp=void 0===_b?DEFAULT_STRIP_REGEXP:_b,_c=options.transform,transform=void 0===_c?lower_case_1.lowerCase:_c,_d=options.delimiter,delimiter=void 0===_d?" ":_d,result=replace(replace(input,splitRegexp,"$1\0$2"),stripRegexp,"\0"),start=0,end=result.length;"\0"===result.charAt(start);)start++;for(;"\0"===result.charAt(end-1);)end--;return result.slice(start,end).split("\0").map(transform).join(delimiter)}},{"lower-case":8}],10:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require("tslib"),dot_case_1=require("dot-case");exports.paramCase=function(input,options){return void 0===options&&(options={}),dot_case_1.dotCase(input,tslib_1.__assign({delimiter:"-"},options))}},{"dot-case":5,tslib:18}],11:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require("tslib"),no_case_1=require("no-case");function pascalCaseTransform(input,index){var firstChar=input.charAt(0),lowerChars=input.substr(1).toLowerCase();return 0<index&&"0"<=firstChar&&firstChar<="9"?"_"+firstChar+lowerChars:""+firstChar.toUpperCase()+lowerChars}exports.pascalCaseTransform=pascalCaseTransform,exports.pascalCaseTransformMerge=function(input){return input.charAt(0).toUpperCase()+input.slice(1).toLowerCase()},exports.pascalCase=function(input,options){return void 0===options&&(options={}),no_case_1.noCase(input,tslib_1.__assign({delimiter:"",transform:pascalCaseTransform},options))}},{"no-case":9,tslib:18}],12:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require("tslib"),dot_case_1=require("dot-case");exports.pathCase=function(input,options){return void 0===options&&(options={}),dot_case_1.dotCase(input,tslib_1.__assign({delimiter:"/"},options))}},{"dot-case":5,tslib:18}],13:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require("tslib"),no_case_1=require("no-case"),upper_case_first_1=require("upper-case-first");function sentenceCaseTransform(input,index){var result=input.toLowerCase();return 0===index?upper_case_first_1.upperCaseFirst(result):result}exports.sentenceCaseTransform=sentenceCaseTransform,exports.sentenceCase=function(input,options){return void 0===options&&(options={}),no_case_1.noCase(input,tslib_1.__assign({delimiter:" ",transform:sentenceCaseTransform},options))}},{"no-case":9,tslib:18,"upper-case-first":19}],14:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require("tslib"),dot_case_1=require("dot-case");exports.snakeCase=function(input,options){return void 0===options&&(options={}),dot_case_1.dotCase(input,tslib_1.__assign({delimiter:"_"},options))}},{"dot-case":5,tslib:18}],15:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.spongeCase=function(input){for(var result="",i=0;i<input.length;i++)result+=.5<Math.random()?input[i].toUpperCase():input[i].toLowerCase();return result}},{}],16:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.swapCase=function(input){for(var result="",i=0;i<input.length;i++){var lower=input[i].toLowerCase();result+=input[i]===lower?input[i].toUpperCase():lower}return result}},{}],17:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var SMALL_WORDS=/\b(?:an?d?|a[st]|because|but|by|en|for|i[fn]|neither|nor|o[fnr]|only|over|per|so|some|tha[tn]|the|to|up|upon|vs?\.?|versus|via|when|with|without|yet)\b/i,TOKENS=/[^\s:–—-]+|./g,WHITESPACE=/\s/,IS_MANUAL_CASE=/.(?=[A-Z]|\..)/,ALPHANUMERIC_PATTERN=/[A-Za-z0-9\u00C0-\u00FF]/;exports.titleCase=function(input){for(var m,result="";null!==(m=TOKENS.exec(input));){var token=m[0],index=m.index;IS_MANUAL_CASE.test(token)||SMALL_WORDS.test(token)&&0!==index&&index+token.length!==input.length||":"===input.charAt(index+token.length)&&!WHITESPACE.test(input.charAt(index+token.length+1))?result+=token:result+=token.replace(ALPHANUMERIC_PATTERN,function(m){return m.toUpperCase()})}return result}},{}],18:[function(require,module,exports){(function(global){var __extends,__assign,__rest,__decorate,__param,__metadata,__awaiter,__generator,__exportStar,__values,__read,__spread,__spreadArrays,__await,__asyncGenerator,__asyncDelegator,__asyncValues,__makeTemplateObject,__importStar,__importDefault,__classPrivateFieldGet,__classPrivateFieldSet;!function(factory){var root="object"==typeof global?global:"object"==typeof self?self:"object"==typeof this?this:{};function createExporter(exports,previous){return exports!==root&&("function"==typeof Object.create?Object.defineProperty(exports,"__esModule",{value:!0}):exports.__esModule=!0),function(id,v){return exports[id]=previous?previous(id,v):v}}"object"==typeof module&&"object"==typeof module.exports?factory(createExporter(root,createExporter(module.exports))):factory(createExporter(root))}(function(exporter){var extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])};__extends=function(d,b){function __(){this.constructor=d}extendStatics(d,b),d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)},__assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i<n;i++)for(var p in s=arguments[i])Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p]);return t},__rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t},__decorate=function(decorators,target,key,desc){var d,c=arguments.length,r=c<3?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(c<3?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r},__param=function(paramIndex,decorator){return function(target,key){decorator(target,key,paramIndex)}},__metadata=function(metadataKey,metadataValue){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(metadataKey,metadataValue)},__awaiter=function(thisArg,_arguments,P,generator){return new(P=P||Promise)(function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){var value;result.done?resolve(result.value):((value=result.value)instanceof P?value:new P(function(resolve){resolve(value)})).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())})},__generator=function(thisArg,body){var f,y,t,g,_={label:0,sent:function(){if(1&t[0])throw t[1];return t[1]},trys:[],ops:[]};return g={next:verb(0),throw:verb(1),return:verb(2)},"function"==typeof Symbol&&(g[Symbol.iterator]=function(){return this}),g;function verb(n){return function(v){return function(op){if(f)throw new TypeError("Generator is already executing.");for(;_;)try{if(f=1,y&&(t=2&op[0]?y.return:op[0]?y.throw||((t=y.return)&&t.call(y),0):y.next)&&!(t=t.call(y,op[1])).done)return t;switch(y=0,t&&(op=[2&op[0],t.value]),op[0]){case 0:case 1:t=op;break;case 4:return _.label++,{value:op[1],done:!1};case 5:_.label++,y=op[1],op=[0];continue;case 7:op=_.ops.pop(),_.trys.pop();continue;default:if(!(t=0<(t=_.trys).length&&t[t.length-1])&&(6===op[0]||2===op[0])){_=0;continue}if(3===op[0]&&(!t||op[1]>t[0]&&op[1]<t[3])){_.label=op[1];break}if(6===op[0]&&_.label<t[1]){_.label=t[1],t=op;break}if(t&&_.label<t[2]){_.label=t[2],_.ops.push(op);break}t[2]&&_.ops.pop(),_.trys.pop();continue}op=body.call(thisArg,_)}catch(e){op=[6,e],y=0}finally{f=t=0}if(5&op[0])throw op[1];return{value:op[0]?op[1]:void 0,done:!0}}([n,v])}}},__exportStar=function(m,exports){for(var p in m)exports.hasOwnProperty(p)||(exports[p]=m[p])},__values=function(o){var s="function"==typeof Symbol&&Symbol.iterator,m=s&&o[s],i=0;if(m)return m.call(o);if(o&&"number"==typeof o.length)return{next:function(){return o&&i>=o.length&&(o=void 0),{value:o&&o[i++],done:!o}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")},__read=function(o,n){var m="function"==typeof Symbol&&o[Symbol.iterator];if(!m)return o;var r,e,i=m.call(o),ar=[];try{for(;(void 0===n||0<n--)&&!(r=i.next()).done;)ar.push(r.value)}catch(error){e={error:error}}finally{try{r&&!r.done&&(m=i.return)&&m.call(i)}finally{if(e)throw e.error}}return ar},__spread=function(){for(var ar=[],i=0;i<arguments.length;i++)ar=ar.concat(__read(arguments[i]));return ar},__spreadArrays=function(){for(var s=0,i=0,il=arguments.length;i<il;i++)s+=arguments[i].length;var r=Array(s),k=0;for(i=0;i<il;i++)for(var a=arguments[i],j=0,jl=a.length;j<jl;j++,k++)r[k]=a[j];return r},__await=function(v){return this instanceof __await?(this.v=v,this):new __await(v)},__asyncGenerator=function(thisArg,_arguments,generator){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,g=generator.apply(thisArg,_arguments||[]),q=[];return i={},verb("next"),verb("throw"),verb("return"),i[Symbol.asyncIterator]=function(){return this},i;function verb(n){g[n]&&(i[n]=function(v){return new Promise(function(a,b){1<q.push([n,v,a,b])||resume(n,v)})})}function resume(n,v){try{(r=g[n](v)).value instanceof __await?Promise.resolve(r.value.v).then(fulfill,reject):settle(q[0][2],r)}catch(e){settle(q[0][3],e)}var r}function fulfill(value){resume("next",value)}function reject(value){resume("throw",value)}function settle(f,v){f(v),q.shift(),q.length&&resume(q[0][0],q[0][1])}},__asyncDelegator=function(o){var i,p;return i={},verb("next"),verb("throw",function(e){throw e}),verb("return"),i[Symbol.iterator]=function(){return this},i;function verb(n,f){i[n]=o[n]?function(v){return(p=!p)?{value:__await(o[n](v)),done:"return"===n}:f?f(v):v}:f}},__asyncValues=function(o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,m=o[Symbol.asyncIterator];return m?m.call(o):(o=__values(o),i={},verb("next"),verb("throw"),verb("return"),i[Symbol.asyncIterator]=function(){return this},i);function verb(n){i[n]=o[n]&&function(v){return new Promise(function(resolve,reject){(function(resolve,reject,d,v){Promise.resolve(v).then(function(v){resolve({value:v,done:d})},reject)})(resolve,reject,(v=o[n](v)).done,v.value)})}}},__makeTemplateObject=function(cooked,raw){return Object.defineProperty?Object.defineProperty(cooked,"raw",{value:raw}):cooked.raw=raw,cooked},__importStar=function(mod){if(mod&&mod.__esModule)return mod;var result={};if(null!=mod)for(var k in mod)Object.hasOwnProperty.call(mod,k)&&(result[k]=mod[k]);return result.default=mod,result},__importDefault=function(mod){return mod&&mod.__esModule?mod:{default:mod}},__classPrivateFieldGet=function(receiver,privateMap){if(!privateMap.has(receiver))throw new TypeError("attempted to get private field on non-instance");return privateMap.get(receiver)},__classPrivateFieldSet=function(receiver,privateMap,value){if(!privateMap.has(receiver))throw new TypeError("attempted to set private field on non-instance");return privateMap.set(receiver,value),value},exporter("__extends",__extends),exporter("__assign",__assign),exporter("__rest",__rest),exporter("__decorate",__decorate),exporter("__param",__param),exporter("__metadata",__metadata),exporter("__awaiter",__awaiter),exporter("__generator",__generator),exporter("__exportStar",__exportStar),exporter("__values",__values),exporter("__read",__read),exporter("__spread",__spread),exporter("__spreadArrays",__spreadArrays),exporter("__await",__await),exporter("__asyncGenerator",__asyncGenerator),exporter("__asyncDelegator",__asyncDelegator),exporter("__asyncValues",__asyncValues),exporter("__makeTemplateObject",__makeTemplateObject),exporter("__importStar",__importStar),exporter("__importDefault",__importDefault),exporter("__classPrivateFieldGet",__classPrivateFieldGet),exporter("__classPrivateFieldSet",__classPrivateFieldSet)})}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],19:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.upperCaseFirst=function(input){return input.charAt(0).toUpperCase()+input.substr(1)}},{}],20:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var SUPPORTED_LOCALE={tr:{regexp:/[\u0069]/g,map:{i:"İ"}},az:{regexp:/[\u0069]/g,map:{i:"İ"}},lt:{regexp:/[\u0069\u006A\u012F]\u0307|\u0069\u0307[\u0300\u0301\u0303]/g,map:{"i̇":"I","j̇":"J","į̇":"Į","i̇̀":"Ì","i̇́":"Í","i̇̃":"Ĩ"}}};function upperCase(str){return str.toUpperCase()}exports.localeUpperCase=function(str,locale){var lang=SUPPORTED_LOCALE[locale.toLowerCase()];return upperCase(lang?str.replace(lang.regexp,function(m){return lang.map[m]}):str)},exports.upperCase=upperCase},{}],21:[function(require,module,exports){"use strict";var changeCase=require("change-case");changeCase.titleCase=require("title-case").titleCase,changeCase.swapCase=require("swap-case").swapCase,changeCase.lowerCase=require("lower-case").lowerCase,changeCase.lowerCaseFirst=require("lower-case-first").lowerCaseFirst,changeCase.upperCase=require("upper-case").upperCase,changeCase.upperCaseFirst=require("upper-case-first").upperCaseFirst,changeCase.spongeCase=require("sponge-case").spongeCase,module.exports=changeCase},{"change-case":3,"lower-case":8,"lower-case-first":7,"sponge-case":15,"swap-case":16,"title-case":17,"upper-case":20,"upper-case-first":19}]},{},[21])(21)}); |
{ | ||
"name": "change-case-bundled", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "A browserify bundled web-friendly version of the change-case module.", | ||
@@ -44,4 +44,11 @@ "main": "dist/change-case-bundled.min.js", | ||
"gulp-util": "^3.0.8", | ||
"lower-case": "^2.0.1", | ||
"lower-case-first": "^2.0.1", | ||
"pump": "^3.0.0", | ||
"sponge-case": "^1.0.0", | ||
"swap-case": "^2.0.1", | ||
"title-case": "^3.0.2", | ||
"uglify-js": "^3.8.0", | ||
"upper-case": "^2.0.1", | ||
"upper-case-first": "^2.0.1", | ||
"vinyl-buffer": "^1.0.1", | ||
@@ -48,0 +55,0 @@ "vinyl-source-stream": "^2.0.0" |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
127856
641
0
23