Socket
Socket
Sign inDemoInstall

rambda

Package Overview
Dependencies
Maintainers
1
Versions
202
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rambda - npm Package Compare versions

Comparing version 0.8.0 to 0.8.1

__tests__/ifElse.js

102

docs/README.md

@@ -33,3 +33,3 @@ [![Build Status](https://img.shields.io/travis/selfrefactor/rambda.svg)](https://travis-ci.org/selfrefactor/rambda)

```
https://cdnjs.cloudflare.com/ajax/libs/rambda/0.7.5/webVersion.js
https://cdnjs.cloudflare.com/ajax/libs/rambda/0.8.0/webVersion.js
```

@@ -53,7 +53,9 @@

- Rambda's **path** accepts both string and array as object path.
- Rambda's **path**, **pick** and **omit** accepts both string and array as condition argument.
- Rambda's **partialCurry** and **includes** are not part of Ramda API.
- **Rambda** is tested for compatability with **Ramda.flip**, as this method could be useful in some cases.
> If you need more **Ramda** methods, than what **Rambda** offers, you may check the extended version of Rambda - [Rambdax](https://github.com/selfrefactor/rambdax)
> If you need more **Ramda** methods in **Rambda**, you may either submit a `PR` or check the extended version of **Rambda** - [Rambdax](https://github.com/selfrefactor/rambdax)

@@ -677,6 +679,6 @@ ## API

## More info
## Changelog
> Changelog
- 0.8.0 Add `R.not`, `R.includes` | Take string as condition for `R.pick` and `R.omit`
- 0.7.6 Fix incorrect implementation of `R.values`
- 0.7.5 Fix incorrect implementation of `R.omit`

@@ -690,6 +692,90 @@ - 0.7.4 [issue #13](https://github.com/selfrefactor/rambda/issues/13) - Fix `R.curry`, which used to return incorrectly `function` when called with more arguments

> PR
## Contribution guidelines
If you want to add another `Ramda` method to the API, please feel free to submit a `PR`
If you want to add another `Ramda` method to the API, please feel free to submit a `PR` .
The only requirement is the new method to have exact or very close implementation compared to the corresponding `Ramda` method.
I give you example steps of the `PR` process.
> Create a method file in `modules` folder.
If the new method is `R.endsWith`, then the created file will be `./modules/endsWith.js`
> Write the function declaration and function's logic.
```
function endsWith(x, arrOrStr){
return arrOrStr.endsWith(x)
}
```
> Any method, which takes more than one argument, should be curried.
We can use the standard curring used throughout `Rambda`.
```
function endsWith(x, arrOrStr){
if(arrOrStr === undefined){
return holder => endsWith(x, arrOrStr)
}
return arrOrStr.endsWith(x)
}
module.exports = endsWith
```
Or we can use `R.curry`, which is not as performant as the example above.
```
const curry = require('./curry')
function endsWith(x, arrOrStr){
if(arrOrStr === undefined){
return holder => endsWith(x, arrOrStr)
}
return arrOrStr.endsWith(x)
}
module.exports = curry(endsWith)
```
> Edit `rambda.js` file
Exported methods are sorted alphabetically
```
exports.dropLast = require("./modules/dropLast")
exports.endsWith = require("./modules/endsWith")
exports.equals = require("./modules/equals")
```
> Write your test cases
Create file `endsWith.js` in folder `__tests__`
```
const R = require('../rambda')
test('endsWith', () => {
expect(R.endsWith('oo')('foo')).toBeTruthy()
})
```
> Run `npm test` to validate your tests
> Edit `./README.md` to add documentation
Note that your documentation should match the pattern visible across `./README.md`
> Lint your files
We have two new files and for linting them we must run:
`npm run lint modules/endsWith.js`
`npm run lint __tests__/endsWith.js`
> Submit PR
Expect response within the next 2 days.
## Additional info
> Projects using Rambda

@@ -696,0 +782,0 @@

@@ -7,2 +7,3 @@ module.exports = {

},
// devtool: 'source-map',
module:{

@@ -9,0 +10,0 @@ rules:[

2

index.js

@@ -1,1 +0,1 @@

module.exports=function(d){var e={};function __webpack_require__(g){if(e[g]){return e[g].exports;}var h=e[g]={i:g,l:!1,exports:{}};d[g].call(h.exports,h,h.exports,__webpack_require__);h.l=!0;return h.exports;}__webpack_require__.m=d;__webpack_require__.c=e;__webpack_require__.i=function(j){return j;};__webpack_require__.d=function(k,l,m){if(!__webpack_require__.o(k,l)){Object.defineProperty(k,l,{configurable:!1,enumerable:!0,get:m});}};__webpack_require__.n=function(n){var q=n&&n.__esModule?function getDefault(){return n['default'];}:function getModuleExports(){return n;};__webpack_require__.d(q,'a',q);return q;};__webpack_require__.o=function(r,s){return Object.prototype.hasOwnProperty.call(r,s);};__webpack_require__.p="";return __webpack_require__(__webpack_require__.s=57);}([function(t,u,v){"use strict";function type(a){if(a===null){return"Null";}else if(Array.isArray(a)){return"Array";}else if(typeof a==="boolean"){return"Boolean";}else if(typeof a==="number"){return"Number";}else if(typeof a==="string"){return"String";}else if(a===void 0){return"Undefined";}else if(a instanceof RegExp){return"RegExp";}var w=a.toString();if(w.startsWith("async")){return"Async";}else if(w==="[object Promise]"){return"Promise";}else if(w.includes("function")||w.includes("=>")){return"Function";}return"Object";}t.exports=type;},function(y,z,A){"use strict";function _toConsumableArray(B){if(Array.isArray(B)){for(var i=0,C=Array(B.length);i<B.length;i++){C[i]=B[i];}return C;}else{return Array.from(B);}}function curry(f){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return function(){for(var D=arguments.length,p=Array(D),E=0;E<D;E++){p[E]=arguments[E];}return function(o){return o.length>=f.length?f.apply(void 0,_toConsumableArray(o)):curry(f,o);}([].concat(_toConsumableArray(a),p));};}y.exports=curry;},function(F,G,H){"use strict";function baseSlice(I,J,K){var L=-1,M=I.length;K=K>M?M:K;if(K<0){K+=M;}M=J>K?0:K-J>>>0;J>>>=0;var N=Array(M);while(++L<M){N[L]=I[L+J];}return N;}F.exports=baseSlice;},function(O,P,Q){"use strict";var R=Q(5);function contains(S,T){if(T===void 0){return function(U){return contains(S,U);};}var V=-1,W=!1;while(++V<T.length&&!W){if(R(T[V],S)){W=!0;}}return W;}O.exports=contains;},function(X,Y,Z){"use strict";function drop(a1,a){if(a===void 0){return function(b1){return drop(a1,b1);};}return a.slice(a1);}X.exports=drop;},function(c1,d1,e1){"use strict";var f1=e1(0);function equals(a,b){if(b===void 0){return function(g1){return equals(a,g1);};}else if(a===b){return a!==0||1/a===1/b;}var h1=f1(a);if(h1!==f1(b)){return!1;}if(h1==="Array"){var i1=Array.from(a),j1=Array.from(b);return i1.sort().toString()===j1.sort().toString();}if(h1==="Object"){var k1=Object.keys(a);if(k1.length===Object.keys(b).length){if(k1.length===0){return!0;}var l1=!0;k1.map(function(m1){if(l1){var n1=f1(a[m1]),o1=f1(b[m1]);if(n1===o1){if(n1==="Object"){if(Object.keys(a[m1]).length===Object.keys(b[m1]).length){if(Object.keys(a[m1]).length!==0){if(!equals(a[m1],b[m1])){l1=!1;}}}else{l1=!1;}}else if(!equals(a[m1],b[m1])){l1=!1;}}else{l1=!1;}}});return l1;}}return!1;}c1.exports=equals;},function(p1,q1,r1){"use strict";function map(fn,t1){if(t1===void 0){return function(u1){return map(fn,u1);};}var v1=-1,w1=t1.length,x1=Array(w1);while(++v1<w1){x1[v1]=fn(t1[v1]);}return x1;}p1.exports=map;},function(y1,z1,A1){"use strict";function merge(B1,C1){if(C1===void 0){return function(D1){return merge(B1,D1);};}return Object.assign({},B1,C1);}y1.exports=merge;},function(E1,F1,G1){"use strict";function add(a,b){if(b===void 0){return function(c){return add(a,c);};}return a+b;}E1.exports=add;},function(H1,I1,J1){"use strict";function addIndex(K1){return function(fn){for(var M1=0,newFn=function newFn(){for(var N1=arguments.length,O1=Array(N1),P1=0;P1<N1;P1++){O1[P1]=arguments[P1];}return fn.apply(null,[].concat(O1,[M1++]));},Q1=arguments.length,R1=Array(Q1>1?Q1-1:0),S1=1;S1<Q1;S1++){R1[S1-1]=arguments[S1];}return K1.apply(null,[newFn].concat(R1));};}H1.exports=addIndex;},function(T1,U1,V1){"use strict";var W1=V1(1);function adjust(fn,Y1,Z1){if(Y1===void 0){return function(a2,b2){return adjust(fn,a2,b2);};}else if(Z1===void 0){return function(c2){return adjust(fn,Y1,c2);};}var d2=Z1.concat();return d2.map(function(e2,f2){if(f2===Y1){return fn(Z1[Y1]);}return e2;});}T1.exports=adjust;},function(g2,h2,i2){"use strict";function any(fn,k2){if(k2===void 0){return function(l2){return any(fn,l2);};}var m2=0;while(m2<k2.length){if(fn(k2[m2])){return!0;}m2++;}return!1;}g2.exports=any;},function(n2,o2,p2){"use strict";function append(q2,r2){if(r2===void 0){return function(s2){return append(q2,s2);};}var t2=r2.concat();t2.push(q2);return t2;}n2.exports=append;},function(u2,v2,w2){"use strict";var compose=function compose(){for(var x2=arguments.length,y2=Array(x2),z2=0;z2<x2;z2++){y2[z2]=arguments[z2];}return function(A2){var B2=y2.slice();while(B2.length>0){A2=B2.pop()(A2);}return A2;};};u2.exports=compose;},function(C2,D2,E2){"use strict";var F2=E2(0);function defaultTo(G2,H2){if(arguments.length===1){return function(I2){return defaultTo(G2,I2);};}return H2===void 0||!(F2(H2)===F2(G2))?G2:H2;}C2.exports=defaultTo;},function(J2,K2,L2){"use strict";function dropLast(M2,a){if(a===void 0){return function(N2){return dropLast(M2,N2);};}return a.slice(0,-M2);}J2.exports=dropLast;},function(O2,P2,Q2){"use strict";function filter(fn,S2){if(S2===void 0){return function(T2){return filter(fn,T2);};}var U2=-1,V2=0,W2=S2.length,X2=[];while(++U2<W2){var Y2=S2[U2];if(fn(Y2)){X2[V2++]=Y2;}}return X2;}O2.exports=filter;},function(Z2,a3,b3){"use strict";function find(fn,d3){if(d3===void 0){return function(e3){return find(fn,e3);};}return d3.find(fn);}Z2.exports=find;},function(f3,g3,h3){"use strict";function findIndex(fn,j3){if(j3===void 0){return function(k3){return findIndex(fn,k3);};}var l3=j3.length,m3=-1;while(++m3<l3){if(fn(j3[m3])){return m3;}}return-1;}f3.exports=findIndex;},function(n3,o3,p3){"use strict";function flatten(q3,r3){r3=r3===void 0?[]:r3;for(var i=0;i<q3.length;i++){if(Array.isArray(q3[i])){flatten(q3[i],r3);}else{r3.push(q3[i]);}}return r3;}n3.exports=flatten;},function(s3,t3,u3){"use strict";function has(v3,w3){if(w3===void 0){return function(x3){return has(v3,x3);};}return w3[v3]!==void 0;}s3.exports=has;},function(y3,z3,A3){"use strict";function head(a){if(typeof a==="string"){return a[0]||"";}return a[0];}y3.exports=head;},function(B3,C3,D3){"use strict";function includes(x,E3){if(E3===void 0){return function(F3){return includes(x,F3);};}return E3.includes(x);}B3.exports=includes;},function(G3,H3,I3){"use strict";function indexOf(J3,K3){if(K3===void 0){return function(L3){return indexOf(J3,L3);};}var M3=-1,N3=K3.length;while(++M3<N3){if(K3[M3]===J3){return M3;}}return-1;}G3.exports=indexOf;},function(O3,P3,Q3){"use strict";var R3=Q3(2);function init(a){if(typeof a==="string"){return a.slice(0,-1);}return a.length?R3(a,0,-1):[];}O3.exports=init;},function(S3,T3,U3){"use strict";function join(V3,W3){if(W3===void 0){return function(X3){return join(V3,X3);};}return W3.join(V3);}S3.exports=join;},function(Y3,Z3,a4){"use strict";function last(a){if(typeof a==="string"){return a[a.length-1]||"";}return a[a.length-1];}Y3.exports=last;},function(b4,c4,d4){"use strict";function length(e4){return e4.length;}b4.exports=length;},function(f4,g4,h4){"use strict";function match(i4,j4){if(j4===void 0){return function(k4){return match(i4,k4);};}var l4=j4.match(i4);return l4===null?[]:l4;}f4.exports=match;},function(m4,n4,o4){"use strict";function not(x){return!x;}m4.exports=not;},function(p4,q4,r4){"use strict";var s4=r4(0);function omit(t4,u4){if(u4===void 0){return function(v4){return omit(t4,v4);};}if(s4(t4)==='String'){t4=t4.split(',').map(function(x){return x.trim();});}var w4={};for(var x4 in u4){if(!t4.includes(x4)){w4[x4]=u4[x4];}}return w4;}p4.exports=omit;},function(y4,z4,A4){"use strict";var B4=A4(0),C4=A4(7);function curry(fn){var E4=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return function(F4){if(B4(fn)==="Async"){return new Promise(function(G4,H4){fn(C4(F4,E4)).then(G4).catch(H4);});}return fn(C4(F4,E4));};}y4.exports=curry;},function(I4,J4,K4){"use strict";var L4=K4(0),M4=K4(1);function path(N4,O4){if(!(L4(O4)==="Object")){return void 0;}var P4=O4,Q4=0;if(typeof N4==="string"){N4=N4.split(".");}while(Q4<N4.length){if(P4===null){return void 0;}P4=P4[N4[Q4]];Q4++;}return P4;}I4.exports=M4(path);},function(R4,S4,T4){"use strict";var U4=T4(0);function pick(V4,W4){if(W4===void 0){return function(X4){return pick(V4,X4);};}if(U4(V4)==='String'){V4=V4.split(',').map(function(x){return x.trim();});}var Y4={},Z4=0;while(Z4<V4.length){if(V4[Z4]in W4){Y4[V4[Z4]]=W4[V4[Z4]];}Z4++;}return Y4;}R4.exports=pick;},function(a5,b5,c5){"use strict";var d5=c5(6);function pluck(e5,f5){if(f5===void 0){return function(g5){return pluck(e5,g5);};}var h5=[];d5(function(i5){if(!(i5[e5]===void 0)){h5.push(i5[e5]);}},f5);return h5;}a5.exports=pluck;},function(j5,k5,l5){"use strict";function prepend(m5,n5){if(n5===void 0){return function(o5){return prepend(m5,o5);};}var p5=n5.concat();p5.unshift(m5);return p5;}j5.exports=prepend;},function(q5,r5,s5){"use strict";function prop(t5,u5){if(u5===void 0){return function(v5){return prop(t5,v5);};}return u5[t5];}q5.exports=prop;},function(w5,x5,y5){"use strict";function propEq(z5,A5,B5){if(A5===void 0){return function(C5,D5){return propEq(z5,C5,D5);};}else if(B5===void 0){return function(E5){return propEq(z5,A5,E5);};}return B5[z5]===A5;}w5.exports=propEq;},function(F5,G5,H5){"use strict";function range(I5,J5){for(var K5=[],i=I5;i<J5;i++){K5.push(i);}return K5;}F5.exports=range;},function(L5,M5,N5){"use strict";function reduce(fn,P5,Q5){if(P5===void 0){return function(R5,S5){return reduce(fn,R5,S5);};}else if(Q5===void 0){return function(T5){return reduce(fn,P5,T5);};}return Q5.reduce(fn,P5);}L5.exports=reduce;},function(U5,V5,W5){"use strict";function repeat(a,X5){if(X5===void 0){return function(Y5){return repeat(a,Y5);};}var Z5=Array(X5);return Z5.fill(a);}U5.exports=repeat;},function(a6,b6,c6){"use strict";function replace(d6,e6,f6){if(e6===void 0){return function(g6,h6){return replace(d6,g6,h6);};}else if(f6===void 0){return function(i6){return replace(d6,e6,i6);};}return f6.replace(d6,e6);}a6.exports=replace;},function(j6,k6,l6){"use strict";function sort(fn,n6){if(n6===void 0){return function(o6){return sort(fn,o6);};}var p6=n6.concat();return p6.sort(fn);}j6.exports=sort;},function(q6,r6,s6){"use strict";function sortBy(fn,u6){if(u6===void 0){return function(v6){return sortBy(fn,v6);};}var w6=u6.concat();return w6.sort(function(a,b){var x6=fn(a),y6=fn(b);return x6<y6?-1:x6>y6?1:0;});}q6.exports=sortBy;},function(z6,A6,B6){"use strict";function split(C6,D6){if(D6===void 0){return function(E6){return split(C6,E6);};}return D6.split(C6);}z6.exports=split;},function(F6,G6,H6){"use strict";function splitEvery(I6,a){if(a===void 0){return function(J6){return splitEvery(I6,J6);};}I6=I6>1?I6:1;var K6=[],L6=0;while(L6<a.length){K6.push(a.slice(L6,L6+=I6));}return K6;}F6.exports=splitEvery;},function(M6,N6,O6){"use strict";function subtract(a,b){if(b===void 0){return function(P6){return subtract(a,P6);};}return a-b;}M6.exports=subtract;},function(Q6,R6,S6){"use strict";var T6=S6(4);function tail(U6){return T6(1,U6);}Q6.exports=tail;},function(V6,W6,X6){"use strict";var Y6=X6(2);function take(Z6,a){if(a===void 0){return function(a7){return take(Z6,a7);};}else if(typeof a==="string"){return a.slice(0,Z6);}return Y6(a,0,Z6);}V6.exports=take;},function(b7,c7,d7){"use strict";var e7=d7(2);function takeLast(f7,a){if(a===void 0){return function(g7){return takeLast(f7,g7);};}var h7=a.length;f7=f7>h7?h7:f7;if(typeof a==="string"){return a.slice(h7-f7);}f7=h7-f7;return e7(a,f7,h7);}b7.exports=takeLast;},function(i7,j7,k7){"use strict";function test(l7,m7){if(m7===void 0){return function(n7){return test(l7,n7);};}return m7.search(l7)===-1?!1:!0;}i7.exports=test;},function(o7,p7,q7){"use strict";function toLower(r7){return r7.toLowerCase();}o7.exports=toLower;},function(s7,t7,u7){"use strict";function toUpper(v7){return v7.toUpperCase();}s7.exports=toUpper;},function(w7,x7,y7){"use strict";function trim(z7){return z7.trim();}w7.exports=trim;},function(A7,B7,C7){"use strict";var D7=C7(3);function uniq(E7){var F7=-1,G7=[];while(++F7<E7.length){var H7=E7[F7];if(!D7(H7,G7)){G7.push(H7);}}return G7;}A7.exports=uniq;},function(I7,J7,K7){"use strict";function update(L7,M7,N7){if(M7===void 0){return function(O7,P7){return update(L7,O7,P7);};}else if(N7===void 0){return function(Q7){return update(L7,M7,Q7);};}var R7=N7.concat();return R7.fill(M7,L7,L7+1);}I7.exports=update;},function(S7,T7,U7){"use strict";function values(V7){var W7=[];for(var X7 in V7){W7.push(V7[X7]);}return W7;}S7.exports=values;},function(Y7,Z7,a8){"use strict";Z7.add=a8(8);Z7.addIndex=a8(9);Z7.any=a8(11);Z7.adjust=a8(10);Z7.append=a8(12);Z7.compose=a8(13);Z7.contains=a8(3);Z7.curry=a8(1);Z7.defaultTo=a8(14);Z7.drop=a8(4);Z7.dropLast=a8(15);Z7.equals=a8(5);Z7.filter=a8(16);Z7.find=a8(17);Z7.findIndex=a8(18);Z7.flatten=a8(19);Z7.has=a8(20);Z7.head=a8(21);Z7.indexOf=a8(23);Z7.includes=a8(22);Z7.init=a8(24);Z7.join=a8(25);Z7.last=a8(26);Z7.length=a8(27);Z7.map=a8(6);Z7.match=a8(28);Z7.merge=a8(7);Z7.not=a8(29);Z7.omit=a8(30);Z7.path=a8(32);Z7.partialCurry=a8(31);Z7.pick=a8(33);Z7.pluck=a8(34);Z7.prepend=a8(35);Z7.prop=a8(36);Z7.propEq=a8(37);Z7.range=a8(38);Z7.repeat=a8(40);Z7.replace=a8(41);Z7.sort=a8(42);Z7.sortBy=a8(43);Z7.split=a8(44);Z7.splitEvery=a8(45);Z7.subtract=a8(46);Z7.tail=a8(47);Z7.take=a8(48);Z7.takeLast=a8(49);Z7.test=a8(50);Z7.toLower=a8(51);Z7.toUpper=a8(52);Z7.trim=a8(53);Z7.type=a8(0);Z7.uniq=a8(54);Z7.update=a8(55);Z7.values=a8(56);Z7.reduce=a8(39);}]);
module.exports=function(d){var e={};function __webpack_require__(g){if(e[g]){return e[g].exports;}var h=e[g]={i:g,l:!1,exports:{}};d[g].call(h.exports,h,h.exports,__webpack_require__);h.l=!0;return h.exports;}__webpack_require__.m=d;__webpack_require__.c=e;__webpack_require__.i=function(j){return j;};__webpack_require__.d=function(k,l,m){if(!__webpack_require__.o(k,l)){Object.defineProperty(k,l,{configurable:!1,enumerable:!0,get:m});}};__webpack_require__.n=function(n){var q=n&&n.__esModule?function getDefault(){return n['default'];}:function getModuleExports(){return n;};__webpack_require__.d(q,'a',q);return q;};__webpack_require__.o=function(r,s){return Object.prototype.hasOwnProperty.call(r,s);};__webpack_require__.p="";return __webpack_require__(__webpack_require__.s=58);}([function(t,u,v){"use strict";function type(a){if(a===null){return"Null";}else if(Array.isArray(a)){return"Array";}else if(typeof a==="boolean"){return"Boolean";}else if(typeof a==="number"){return"Number";}else if(typeof a==="string"){return"String";}else if(a===void 0){return"Undefined";}else if(a instanceof RegExp){return"RegExp";}var w=a.toString();if(w.startsWith("async")){return"Async";}else if(w==="[object Promise]"){return"Promise";}else if(w.includes("function")||w.includes("=>")){return"Function";}return"Object";}t.exports=type;},function(y,z,A){"use strict";function _toConsumableArray(B){if(Array.isArray(B)){for(var i=0,C=Array(B.length);i<B.length;i++){C[i]=B[i];}return C;}else{return Array.from(B);}}function curry(f){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return function(){for(var D=arguments.length,p=Array(D),E=0;E<D;E++){p[E]=arguments[E];}return function(o){return o.length>=f.length?f.apply(void 0,_toConsumableArray(o)):curry(f,o);}([].concat(_toConsumableArray(a),p));};}y.exports=curry;},function(F,G,H){"use strict";function baseSlice(I,J,K){var L=-1,M=I.length;K=K>M?M:K;if(K<0){K+=M;}M=J>K?0:K-J>>>0;J>>>=0;var N=Array(M);while(++L<M){N[L]=I[L+J];}return N;}F.exports=baseSlice;},function(O,P,Q){"use strict";var R=Q(5);function contains(S,T){if(T===void 0){return function(U){return contains(S,U);};}var V=-1,W=!1;while(++V<T.length&&!W){if(R(T[V],S)){W=!0;}}return W;}O.exports=contains;},function(X,Y,Z){"use strict";function drop(a1,a){if(a===void 0){return function(b1){return drop(a1,b1);};}return a.slice(a1);}X.exports=drop;},function(c1,d1,e1){"use strict";var f1=e1(0);function equals(a,b){if(b===void 0){return function(g1){return equals(a,g1);};}else if(a===b){return a!==0||1/a===1/b;}var h1=f1(a);if(h1!==f1(b)){return!1;}if(h1==="Array"){var i1=Array.from(a),j1=Array.from(b);return i1.sort().toString()===j1.sort().toString();}if(h1==="Object"){var k1=Object.keys(a);if(k1.length===Object.keys(b).length){if(k1.length===0){return!0;}var l1=!0;k1.map(function(m1){if(l1){var n1=f1(a[m1]),o1=f1(b[m1]);if(n1===o1){if(n1==="Object"){if(Object.keys(a[m1]).length===Object.keys(b[m1]).length){if(Object.keys(a[m1]).length!==0){if(!equals(a[m1],b[m1])){l1=!1;}}}else{l1=!1;}}else if(!equals(a[m1],b[m1])){l1=!1;}}else{l1=!1;}}});return l1;}}return!1;}c1.exports=equals;},function(p1,q1,r1){"use strict";function map(fn,t1){if(t1===void 0){return function(u1){return map(fn,u1);};}var v1=-1,w1=t1.length,x1=Array(w1);while(++v1<w1){x1[v1]=fn(t1[v1]);}return x1;}p1.exports=map;},function(y1,z1,A1){"use strict";function merge(B1,C1){if(C1===void 0){return function(D1){return merge(B1,D1);};}return Object.assign({},B1,C1);}y1.exports=merge;},function(E1,F1,G1){"use strict";function add(a,b){if(b===void 0){return function(c){return add(a,c);};}return a+b;}E1.exports=add;},function(H1,I1,J1){"use strict";function addIndex(K1){return function(fn){for(var M1=0,newFn=function newFn(){for(var N1=arguments.length,O1=Array(N1),P1=0;P1<N1;P1++){O1[P1]=arguments[P1];}return fn.apply(null,[].concat(O1,[M1++]));},Q1=arguments.length,R1=Array(Q1>1?Q1-1:0),S1=1;S1<Q1;S1++){R1[S1-1]=arguments[S1];}return K1.apply(null,[newFn].concat(R1));};}H1.exports=addIndex;},function(T1,U1,V1){"use strict";var W1=V1(1);function adjust(fn,Y1,Z1){if(Y1===void 0){return function(a2,b2){return adjust(fn,a2,b2);};}else if(Z1===void 0){return function(c2){return adjust(fn,Y1,c2);};}var d2=Z1.concat();return d2.map(function(e2,f2){if(f2===Y1){return fn(Z1[Y1]);}return e2;});}T1.exports=adjust;},function(g2,h2,i2){"use strict";function any(fn,k2){if(k2===void 0){return function(l2){return any(fn,l2);};}var m2=0;while(m2<k2.length){if(fn(k2[m2])){return!0;}m2++;}return!1;}g2.exports=any;},function(n2,o2,p2){"use strict";function append(q2,r2){if(r2===void 0){return function(s2){return append(q2,s2);};}var t2=r2.concat();t2.push(q2);return t2;}n2.exports=append;},function(u2,v2,w2){"use strict";var compose=function compose(){for(var x2=arguments.length,y2=Array(x2),z2=0;z2<x2;z2++){y2[z2]=arguments[z2];}return function(A2){var B2=y2.slice();while(B2.length>0){A2=B2.pop()(A2);}return A2;};};u2.exports=compose;},function(C2,D2,E2){"use strict";var F2=E2(0);function defaultTo(G2,H2){if(arguments.length===1){return function(I2){return defaultTo(G2,I2);};}return H2===void 0||!(F2(H2)===F2(G2))?G2:H2;}C2.exports=defaultTo;},function(J2,K2,L2){"use strict";function dropLast(M2,a){if(a===void 0){return function(N2){return dropLast(M2,N2);};}return a.slice(0,-M2);}J2.exports=dropLast;},function(O2,P2,Q2){"use strict";function filter(fn,S2){if(S2===void 0){return function(T2){return filter(fn,T2);};}var U2=-1,V2=0,W2=S2.length,X2=[];while(++U2<W2){var Y2=S2[U2];if(fn(Y2)){X2[V2++]=Y2;}}return X2;}O2.exports=filter;},function(Z2,a3,b3){"use strict";function find(fn,d3){if(d3===void 0){return function(e3){return find(fn,e3);};}return d3.find(fn);}Z2.exports=find;},function(f3,g3,h3){"use strict";function findIndex(fn,j3){if(j3===void 0){return function(k3){return findIndex(fn,k3);};}var l3=j3.length,m3=-1;while(++m3<l3){if(fn(j3[m3])){return m3;}}return-1;}f3.exports=findIndex;},function(n3,o3,p3){"use strict";function flatten(q3,r3){r3=r3===void 0?[]:r3;for(var i=0;i<q3.length;i++){if(Array.isArray(q3[i])){flatten(q3[i],r3);}else{r3.push(q3[i]);}}return r3;}n3.exports=flatten;},function(s3,t3,u3){"use strict";function has(v3,w3){if(w3===void 0){return function(x3){return has(v3,x3);};}return w3[v3]!==void 0;}s3.exports=has;},function(y3,z3,A3){"use strict";function head(a){if(typeof a==="string"){return a[0]||"";}return a[0];}y3.exports=head;},function(B3,C3,D3){"use strict";function ifElse(E3,F3,G3){if(F3===void 0){return function(H3,I3){return ifElse(E3,H3,I3);};}else if(G3===void 0){return function(J3){return ifElse(E3,F3,J3);};}return function(K3){if(E3(K3)===!0){return F3(K3);}return G3(K3);};}B3.exports=ifElse;},function(L3,M3,N3){"use strict";function includes(x,O3){if(O3===void 0){return function(P3){return includes(x,P3);};}return O3.includes(x);}L3.exports=includes;},function(Q3,R3,S3){"use strict";function indexOf(T3,U3){if(U3===void 0){return function(V3){return indexOf(T3,V3);};}var W3=-1,X3=U3.length;while(++W3<X3){if(U3[W3]===T3){return W3;}}return-1;}Q3.exports=indexOf;},function(Y3,Z3,a4){"use strict";var b4=a4(2);function init(a){if(typeof a==="string"){return a.slice(0,-1);}return a.length?b4(a,0,-1):[];}Y3.exports=init;},function(c4,d4,e4){"use strict";function join(f4,g4){if(g4===void 0){return function(h4){return join(f4,h4);};}return g4.join(f4);}c4.exports=join;},function(i4,j4,k4){"use strict";function last(a){if(typeof a==="string"){return a[a.length-1]||"";}return a[a.length-1];}i4.exports=last;},function(l4,m4,n4){"use strict";function length(o4){return o4.length;}l4.exports=length;},function(p4,q4,r4){"use strict";function match(s4,t4){if(t4===void 0){return function(u4){return match(s4,u4);};}var v4=t4.match(s4);return v4===null?[]:v4;}p4.exports=match;},function(w4,x4,y4){"use strict";function not(x){return!x;}w4.exports=not;},function(z4,A4,B4){"use strict";var C4=B4(0);function omit(D4,E4){if(E4===void 0){return function(F4){return omit(D4,F4);};}if(C4(D4)==='String'){D4=D4.split(',').map(function(x){return x.trim();});}var G4={};for(var H4 in E4){if(!D4.includes(H4)){G4[H4]=E4[H4];}}return G4;}z4.exports=omit;},function(I4,J4,K4){"use strict";var L4=K4(0),M4=K4(7);function partialCurry(fn){var O4=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return function(P4){if(L4(fn)==="Async"||L4(fn)==="Promise"){return new Promise(function(Q4,R4){fn(M4(P4,O4)).then(Q4).catch(R4);});}return fn(M4(P4,O4));};}I4.exports=partialCurry;},function(S4,T4,U4){"use strict";var V4=U4(0),W4=U4(1);function path(X4,Y4){if(!(V4(Y4)==="Object")){return void 0;}var Z4=Y4,a5=0;if(typeof X4==="string"){X4=X4.split(".");}while(a5<X4.length){if(Z4===null){return void 0;}Z4=Z4[X4[a5]];a5++;}return Z4;}S4.exports=W4(path);},function(b5,c5,d5){"use strict";var e5=d5(0);function pick(f5,g5){if(g5===void 0){return function(h5){return pick(f5,h5);};}if(e5(f5)==='String'){f5=f5.split(',').map(function(x){return x.trim();});}var i5={},j5=0;while(j5<f5.length){if(f5[j5]in g5){i5[f5[j5]]=g5[f5[j5]];}j5++;}return i5;}b5.exports=pick;},function(k5,l5,m5){"use strict";var n5=m5(6);function pluck(o5,p5){if(p5===void 0){return function(q5){return pluck(o5,q5);};}var r5=[];n5(function(s5){if(!(s5[o5]===void 0)){r5.push(s5[o5]);}},p5);return r5;}k5.exports=pluck;},function(t5,u5,v5){"use strict";function prepend(w5,x5){if(x5===void 0){return function(y5){return prepend(w5,y5);};}var z5=x5.concat();z5.unshift(w5);return z5;}t5.exports=prepend;},function(A5,B5,C5){"use strict";function prop(D5,E5){if(E5===void 0){return function(F5){return prop(D5,F5);};}return E5[D5];}A5.exports=prop;},function(G5,H5,I5){"use strict";function propEq(J5,K5,L5){if(K5===void 0){return function(M5,N5){return propEq(J5,M5,N5);};}else if(L5===void 0){return function(O5){return propEq(J5,K5,O5);};}return L5[J5]===K5;}G5.exports=propEq;},function(P5,Q5,R5){"use strict";function range(S5,T5){for(var U5=[],i=S5;i<T5;i++){U5.push(i);}return U5;}P5.exports=range;},function(V5,W5,X5){"use strict";function reduce(fn,Z5,a6){if(Z5===void 0){return function(b6,c6){return reduce(fn,b6,c6);};}else if(a6===void 0){return function(d6){return reduce(fn,Z5,d6);};}return a6.reduce(fn,Z5);}V5.exports=reduce;},function(e6,f6,g6){"use strict";function repeat(a,h6){if(h6===void 0){return function(i6){return repeat(a,i6);};}var j6=Array(h6);return j6.fill(a);}e6.exports=repeat;},function(k6,l6,m6){"use strict";function replace(n6,o6,p6){if(o6===void 0){return function(q6,r6){return replace(n6,q6,r6);};}else if(p6===void 0){return function(s6){return replace(n6,o6,s6);};}return p6.replace(n6,o6);}k6.exports=replace;},function(t6,u6,v6){"use strict";function sort(fn,x6){if(x6===void 0){return function(y6){return sort(fn,y6);};}var z6=x6.concat();return z6.sort(fn);}t6.exports=sort;},function(A6,B6,C6){"use strict";function sortBy(fn,E6){if(E6===void 0){return function(F6){return sortBy(fn,F6);};}var G6=E6.concat();return G6.sort(function(a,b){var H6=fn(a),I6=fn(b);return H6<I6?-1:H6>I6?1:0;});}A6.exports=sortBy;},function(J6,K6,L6){"use strict";function split(M6,N6){if(N6===void 0){return function(O6){return split(M6,O6);};}return N6.split(M6);}J6.exports=split;},function(P6,Q6,R6){"use strict";function splitEvery(S6,a){if(a===void 0){return function(T6){return splitEvery(S6,T6);};}S6=S6>1?S6:1;var U6=[],V6=0;while(V6<a.length){U6.push(a.slice(V6,V6+=S6));}return U6;}P6.exports=splitEvery;},function(W6,X6,Y6){"use strict";function subtract(a,b){if(b===void 0){return function(Z6){return subtract(a,Z6);};}return a-b;}W6.exports=subtract;},function(a7,b7,c7){"use strict";var d7=c7(4);function tail(e7){return d7(1,e7);}a7.exports=tail;},function(f7,g7,h7){"use strict";var i7=h7(2);function take(j7,a){if(a===void 0){return function(k7){return take(j7,k7);};}else if(typeof a==="string"){return a.slice(0,j7);}return i7(a,0,j7);}f7.exports=take;},function(l7,m7,n7){"use strict";var o7=n7(2);function takeLast(p7,a){if(a===void 0){return function(q7){return takeLast(p7,q7);};}var r7=a.length;p7=p7>r7?r7:p7;if(typeof a==="string"){return a.slice(r7-p7);}p7=r7-p7;return o7(a,p7,r7);}l7.exports=takeLast;},function(s7,t7,u7){"use strict";function test(v7,w7){if(w7===void 0){return function(x7){return test(v7,x7);};}return w7.search(v7)===-1?!1:!0;}s7.exports=test;},function(y7,z7,A7){"use strict";function toLower(B7){return B7.toLowerCase();}y7.exports=toLower;},function(C7,D7,E7){"use strict";function toUpper(F7){return F7.toUpperCase();}C7.exports=toUpper;},function(G7,H7,I7){"use strict";function trim(J7){return J7.trim();}G7.exports=trim;},function(K7,L7,M7){"use strict";var N7=M7(3);function uniq(O7){var P7=-1,Q7=[];while(++P7<O7.length){var R7=O7[P7];if(!N7(R7,Q7)){Q7.push(R7);}}return Q7;}K7.exports=uniq;},function(S7,T7,U7){"use strict";function update(V7,W7,X7){if(W7===void 0){return function(Y7,Z7){return update(V7,Y7,Z7);};}else if(X7===void 0){return function(a8){return update(V7,W7,a8);};}var b8=X7.concat();return b8.fill(W7,V7,V7+1);}S7.exports=update;},function(c8,d8,e8){"use strict";function values(f8){var g8=[];for(var h8 in f8){g8.push(f8[h8]);}return g8;}c8.exports=values;},function(i8,j8,k8){"use strict";j8.add=k8(8);j8.addIndex=k8(9);j8.any=k8(11);j8.adjust=k8(10);j8.append=k8(12);j8.compose=k8(13);j8.contains=k8(3);j8.curry=k8(1);j8.defaultTo=k8(14);j8.drop=k8(4);j8.dropLast=k8(15);j8.equals=k8(5);j8.filter=k8(16);j8.find=k8(17);j8.findIndex=k8(18);j8.flatten=k8(19);j8.has=k8(20);j8.head=k8(21);j8.ifElse=k8(22);j8.indexOf=k8(24);j8.includes=k8(23);j8.init=k8(25);j8.join=k8(26);j8.last=k8(27);j8.length=k8(28);j8.map=k8(6);j8.match=k8(29);j8.merge=k8(7);j8.not=k8(30);j8.omit=k8(31);j8.path=k8(33);j8.partialCurry=k8(32);j8.pick=k8(34);j8.pluck=k8(35);j8.prepend=k8(36);j8.prop=k8(37);j8.propEq=k8(38);j8.range=k8(39);j8.repeat=k8(41);j8.replace=k8(42);j8.sort=k8(43);j8.sortBy=k8(44);j8.split=k8(45);j8.splitEvery=k8(46);j8.subtract=k8(47);j8.tail=k8(48);j8.take=k8(49);j8.takeLast=k8(50);j8.test=k8(51);j8.toLower=k8(52);j8.toUpper=k8(53);j8.trim=k8(54);j8.type=k8(0);j8.uniq=k8(55);j8.update=k8(56);j8.values=k8(57);j8.reduce=k8(40);}]);
const type = require("./type")
const merge = require("./merge")
function curry(fn, inputArguments = {}) {
function partialCurry(fn, inputArguments = {}) {
return inputArgumentsHolder => {
if (type(fn) === "Async") {
if (type(fn) === "Async" || type(fn) === "Promise") {
return new Promise((resolve, reject) => {

@@ -17,2 +17,2 @@ fn(merge(inputArgumentsHolder, inputArguments))

module.exports = curry
module.exports = partialCurry
{
"name": "rambda",
"version": "0.8.0",
"version": "0.8.1",
"description": "Lightweight alternative to Ramda",

@@ -10,3 +10,3 @@ "main": "index.js",

"lint": "node files/lint",
"dev": "jest __tests__/omit.js",
"dev": "jest __tests__/ifElse.js",
"node-build": "webpack --config files/webpack.config.node.js",

@@ -13,0 +13,0 @@ "browser-build": "webpack --config files/webpack.config.js",

@@ -19,2 +19,3 @@ exports.add = require("./modules/add")

exports.head = require("./modules/head")
exports.ifElse = require("./modules/ifElse")
exports.indexOf = require("./modules/indexOf")

@@ -21,0 +22,0 @@ exports.includes = require("./modules/includes")

@@ -266,2 +266,22 @@ [![Build Status](https://img.shields.io/travis/selfrefactor/rambda.svg)](https://travis-ci.org/selfrefactor/rambda)

#### ifElse
> ifElse(condition: Function, ifFn: Function, elseFn: Function): Function
It returns a function that, which `input` argument is passed to `condition` function returns `answer`.
If `answer` is `true`, then `input` is applied to `ifFn` function.
If `answer` is `false`, then `input` is applied to `elseFn` function.
```
const fn = R.ifElse(
x => x > 10,
x => x*2,
x => x*10
)
fn(8) // => 80
fn(11) // => 22
```
#### indexOf

@@ -680,2 +700,3 @@

- 0.8.1 Add `R.ifElse`
- 0.8.0 Add `R.not`, `R.includes` | Take string as condition for `R.pick` and `R.omit`

@@ -685,3 +706,3 @@ - 0.7.6 Fix incorrect implementation of `R.values`

- 0.7.4 [issue #13](https://github.com/selfrefactor/rambda/issues/13) - Fix `R.curry`, which used to return incorrectly `function` when called with more arguments
- 0.7.3 Close [issue #9](https://github.com/selfrefactor/rambda/issues/9) - Compile to `es2015`; also [PR #10](https://github.com/selfrefactor/rambda/pull/10) - add `R.addIndex` to the API
- 0.7.3 Close [issue #9](https://github.com/selfrefactor/rambda/issues/9) - Compile to `es2015`; Approve [PR #10](https://github.com/selfrefactor/rambda/pull/10) - add `R.addIndex` to the API
- 0.7.2 Add `Promise` support for `R.type`

@@ -718,3 +739,3 @@ - 0.7.1 Close [issue #7](https://github.com/selfrefactor/rambda/issues/7) - add `R.reduce` to the API

if(arrOrStr === undefined){
return holder => endsWith(x, arrOrStr)
return arrOrStrHolder => endsWith(x, arrOrStrHolder)
}

@@ -726,3 +747,3 @@ return arrOrStr.endsWith(x)

Or we can use `R.curry`, which is not as performant as the example above.
Or we can also use `R.curry`, but it is not as performant as the example above.

@@ -770,4 +791,2 @@ ```

We have two new files and for linting them we must run:
`npm run lint modules/endsWith.js`

@@ -779,3 +798,3 @@

Expect response within the next 2 days.
Expect response within 2 days.

@@ -782,0 +801,0 @@ ## Additional info

@@ -1,1 +0,1 @@

(function webpackUniversalModuleDefinition(d,e){if(typeof exports==='object'&&typeof module==='object')module.exports=e();else if(typeof define==='function'&&define.amd)define([],e);else{var a=e();for(var i in a)(typeof exports==='object'?exports:d)[i]=a[i];}})(this,function(){return function(g){var h={};function __webpack_require__(j){if(h[j]){return h[j].exports;}var k=h[j]={i:j,l:!1,exports:{}};g[j].call(k.exports,k,k.exports,__webpack_require__);k.l=!0;return k.exports;}__webpack_require__.m=g;__webpack_require__.c=h;__webpack_require__.i=function(l){return l;};__webpack_require__.d=function(m,n,q){if(!__webpack_require__.o(m,n)){Object.defineProperty(m,n,{configurable:!1,enumerable:!0,get:q});}};__webpack_require__.n=function(r){var s=r&&r.__esModule?function getDefault(){return r['default'];}:function getModuleExports(){return r;};__webpack_require__.d(s,'a',s);return s;};__webpack_require__.o=function(t,u){return Object.prototype.hasOwnProperty.call(t,u);};__webpack_require__.p="";return __webpack_require__(__webpack_require__.s=9);}([function(v,w){function type(a){if(a===null){return"Null";}else if(Array.isArray(a)){return"Array";}else if(typeof a==="boolean"){return"Boolean";}else if(typeof a==="number"){return"Number";}else if(typeof a==="string"){return"String";}else if(a===void 0){return"Undefined";}else if(a instanceof RegExp){return"RegExp";}const y=a.toString();if(y.startsWith("async")){return"Async";}else if(y==="[object Promise]"){return"Promise";}else if(y.includes("function")||y.includes("=>")){return"Function";}return"Object";}v.exports=type;},function(z,A){function baseSlice(B,C,D){let E=-1,F=B.length;D=D>F?F:D;if(D<0){D+=F;}F=C>D?0:D-C>>>0;C>>>=0;const G=Array(F);while(++E<F){G[E]=B[E+C];}return G;}z.exports=baseSlice;},function(H,I){function curry(f,a=[]){return(...p)=>(o=>o.length>=f.length?f(...o):curry(f,o))([...a,...p]);}H.exports=curry;},function(J,K,L){const M=L(5);function contains(N,O){if(O===void 0){return P=>contains(N,P);}let Q=-1,R=!1;while(++Q<O.length&&!R){if(M(O[Q],N)){R=!0;}}return R;}J.exports=contains;},function(S,T){function drop(U,a){if(a===void 0){return V=>drop(U,V);}return a.slice(U);}S.exports=drop;},function(W,X,Y){const Z=Y(0);function equals(a,b){if(b===void 0){return a1=>equals(a,a1);}else if(a===b){return a!==0||1/a===1/b;}const b1=Z(a);if(b1!==Z(b)){return!1;}if(b1==="Array"){const c1=Array.from(a),d1=Array.from(b);return c1.sort().toString()===d1.sort().toString();}if(b1==="Object"){const e1=Object.keys(a);if(e1.length===Object.keys(b).length){if(e1.length===0){return!0;}let f1=!0;e1.map(g1=>{if(f1){const h1=Z(a[g1]),i1=Z(b[g1]);if(h1===i1){if(h1==="Object"){if(Object.keys(a[g1]).length===Object.keys(b[g1]).length){if(Object.keys(a[g1]).length!==0){if(!equals(a[g1],b[g1])){f1=!1;}}}else{f1=!1;}}else if(!equals(a[g1],b[g1])){f1=!1;}}else{f1=!1;}}});return f1;}}return!1;}W.exports=equals;},function(j1,k1){function map(fn,m1){if(m1===void 0){return n1=>map(fn,n1);}let o1=-1;const p1=m1.length,q1=Array(p1);while(++o1<p1){q1[o1]=fn(m1[o1]);}return q1;}j1.exports=map;},function(r1,s1){function merge(t1,u1){if(u1===void 0){return v1=>merge(t1,v1);}return Object.assign({},t1,u1);}r1.exports=merge;},function(w1,x1,y1){x1.add=y1(10);x1.addIndex=y1(11);x1.any=y1(13);x1.adjust=y1(12);x1.append=y1(14);x1.compose=y1(15);x1.contains=y1(3);x1.curry=y1(2);x1.defaultTo=y1(16);x1.drop=y1(4);x1.dropLast=y1(17);x1.equals=y1(5);x1.filter=y1(18);x1.find=y1(19);x1.findIndex=y1(20);x1.flatten=y1(21);x1.has=y1(22);x1.head=y1(23);x1.indexOf=y1(25);x1.includes=y1(24);x1.init=y1(26);x1.join=y1(27);x1.last=y1(28);x1.length=y1(29);x1.map=y1(6);x1.match=y1(30);x1.merge=y1(7);x1.not=y1(31);x1.omit=y1(32);x1.path=y1(34);x1.partialCurry=y1(33);x1.pick=y1(35);x1.pluck=y1(36);x1.prepend=y1(37);x1.prop=y1(38);x1.propEq=y1(39);x1.range=y1(40);x1.repeat=y1(42);x1.replace=y1(43);x1.sort=y1(44);x1.sortBy=y1(45);x1.split=y1(46);x1.splitEvery=y1(47);x1.subtract=y1(48);x1.tail=y1(49);x1.take=y1(50);x1.takeLast=y1(51);x1.test=y1(52);x1.toLower=y1(53);x1.toUpper=y1(54);x1.trim=y1(55);x1.type=y1(0);x1.uniq=y1(56);x1.update=y1(57);x1.values=y1(58);x1.reduce=y1(41);},function(z1,A1,B1){const C1=B1(8);z1.exports.R=C1;},function(D1,E1){function add(a,b){if(b===void 0){return c=>add(a,c);}return a+b;}D1.exports=add;},function(F1,G1){function addIndex(H1){return function(fn,...rest){let J1=0;const newFn=(...args)=>fn.apply(null,[...args,J1++]);return H1.apply(null,[newFn,...rest]);};}F1.exports=addIndex;},function(K1,L1,M1){const N1=M1(2);function adjust(fn,P1,Q1){if(P1===void 0){return(R1,S1)=>adjust(fn,R1,S1);}else if(Q1===void 0){return T1=>adjust(fn,P1,T1);}const U1=Q1.concat();return U1.map((V1,W1)=>{if(W1===P1){return fn(Q1[P1]);}return V1;});}K1.exports=adjust;},function(X1,Y1){function any(fn,a2){if(a2===void 0){return b2=>any(fn,b2);}let c2=0;while(c2<a2.length){if(fn(a2[c2])){return!0;}c2++;}return!1;}X1.exports=any;},function(d2,e2){function append(f2,g2){if(g2===void 0){return h2=>append(f2,h2);}const i2=g2.concat();i2.push(f2);return i2;}d2.exports=append;},function(j2,k2){const compose=(...fns)=>l2=>{let m2=fns.slice();while(m2.length>0){l2=m2.pop()(l2);}return l2;};j2.exports=compose;},function(n2,o2,p2){const q2=p2(0);function defaultTo(r2,s2){if(arguments.length===1){return t2=>defaultTo(r2,t2);}return s2===void 0||!(q2(s2)===q2(r2))?r2:s2;}n2.exports=defaultTo;},function(u2,v2){function dropLast(w2,a){if(a===void 0){return x2=>dropLast(w2,x2);}return a.slice(0,-w2);}u2.exports=dropLast;},function(y2,z2){function filter(fn,B2){if(B2===void 0){return C2=>filter(fn,C2);}let D2=-1,E2=0;const F2=B2.length,G2=[];while(++D2<F2){const H2=B2[D2];if(fn(H2)){G2[E2++]=H2;}}return G2;}y2.exports=filter;},function(I2,J2){function find(fn,L2){if(L2===void 0){return M2=>find(fn,M2);}return L2.find(fn);}I2.exports=find;},function(N2,O2){function findIndex(fn,Q2){if(Q2===void 0){return R2=>findIndex(fn,R2);}const S2=Q2.length;let T2=-1;while(++T2<S2){if(fn(Q2[T2])){return T2;}}return-1;}N2.exports=findIndex;},function(U2,V2){function flatten(W2,X2){X2=X2===void 0?[]:X2;for(let i=0;i<W2.length;i++){if(Array.isArray(W2[i])){flatten(W2[i],X2);}else{X2.push(W2[i]);}}return X2;}U2.exports=flatten;},function(Y2,Z2){function has(a3,b3){if(b3===void 0){return c3=>has(a3,c3);}return b3[a3]!==void 0;}Y2.exports=has;},function(d3,e3){function head(a){if(typeof a==="string"){return a[0]||"";}return a[0];}d3.exports=head;},function(f3,g3){function includes(x,h3){if(h3===void 0){return i3=>includes(x,i3);}return h3.includes(x);}f3.exports=includes;},function(j3,k3){function indexOf(l3,m3){if(m3===void 0){return n3=>indexOf(l3,n3);}let o3=-1;const p3=m3.length;while(++o3<p3){if(m3[o3]===l3){return o3;}}return-1;}j3.exports=indexOf;},function(q3,r3,s3){const t3=s3(1);function init(a){if(typeof a==="string"){return a.slice(0,-1);}return a.length?t3(a,0,-1):[];}q3.exports=init;},function(u3,v3){function join(w3,x3){if(x3===void 0){return y3=>join(w3,y3);}return x3.join(w3);}u3.exports=join;},function(z3,A3){function last(a){if(typeof a==="string"){return a[a.length-1]||"";}return a[a.length-1];}z3.exports=last;},function(B3,C3){function length(D3){return D3.length;}B3.exports=length;},function(E3,F3){function match(G3,H3){if(H3===void 0){return I3=>match(G3,I3);}const J3=H3.match(G3);return J3===null?[]:J3;}E3.exports=match;},function(K3,L3){function not(x){return!x;}K3.exports=not;},function(M3,N3,O3){const P3=O3(0);function omit(Q3,R3){if(R3===void 0){return S3=>omit(Q3,S3);}if(P3(Q3)==='String'){Q3=Q3.split(',').map(x=>x.trim());}const T3={};for(const U3 in R3){if(!Q3.includes(U3)){T3[U3]=R3[U3];}}return T3;}M3.exports=omit;},function(V3,W3,X3){const Y3=X3(0),Z3=X3(7);function curry(fn,b4={}){return c4=>{if(Y3(fn)==="Async"){return new Promise((d4,e4)=>{fn(Z3(c4,b4)).then(d4).catch(e4);});}return fn(Z3(c4,b4));};}V3.exports=curry;},function(f4,g4,h4){const i4=h4(0),j4=h4(2);function path(k4,l4){if(!(i4(l4)==="Object")){return void 0;}let m4=l4,n4=0;if(typeof k4==="string"){k4=k4.split(".");}while(n4<k4.length){if(m4===null){return void 0;}m4=m4[k4[n4]];n4++;}return m4;}f4.exports=j4(path);},function(o4,p4,q4){const r4=q4(0);function pick(s4,t4){if(t4===void 0){return u4=>pick(s4,u4);}if(r4(s4)==='String'){s4=s4.split(',').map(x=>x.trim());}const v4={};let w4=0;while(w4<s4.length){if(s4[w4]in t4){v4[s4[w4]]=t4[s4[w4]];}w4++;}return v4;}o4.exports=pick;},function(x4,y4,z4){const A4=z4(6);function pluck(B4,C4){if(C4===void 0){return D4=>pluck(B4,D4);}const E4=[];A4(F4=>{if(!(F4[B4]===void 0)){E4.push(F4[B4]);}},C4);return E4;}x4.exports=pluck;},function(G4,H4){function prepend(I4,J4){if(J4===void 0){return K4=>prepend(I4,K4);}const L4=J4.concat();L4.unshift(I4);return L4;}G4.exports=prepend;},function(M4,N4){function prop(O4,P4){if(P4===void 0){return Q4=>prop(O4,Q4);}return P4[O4];}M4.exports=prop;},function(R4,S4){function propEq(T4,U4,V4){if(U4===void 0){return(W4,X4)=>propEq(T4,W4,X4);}else if(V4===void 0){return Y4=>propEq(T4,U4,Y4);}return V4[T4]===U4;}R4.exports=propEq;},function(Z4,a5){function range(b5,c5){const d5=[];for(let i=b5;i<c5;i++){d5.push(i);}return d5;}Z4.exports=range;},function(e5,f5){function reduce(fn,h5,i5){if(h5===void 0){return(j5,k5)=>reduce(fn,j5,k5);}else if(i5===void 0){return l5=>reduce(fn,h5,l5);}return i5.reduce(fn,h5);}e5.exports=reduce;},function(m5,n5){function repeat(a,o5){if(o5===void 0){return p5=>repeat(a,p5);}const q5=Array(o5);return q5.fill(a);}m5.exports=repeat;},function(r5,s5){function replace(t5,u5,v5){if(u5===void 0){return(w5,x5)=>replace(t5,w5,x5);}else if(v5===void 0){return y5=>replace(t5,u5,y5);}return v5.replace(t5,u5);}r5.exports=replace;},function(z5,A5){function sort(fn,C5){if(C5===void 0){return D5=>sort(fn,D5);}const E5=C5.concat();return E5.sort(fn);}z5.exports=sort;},function(F5,G5){function sortBy(fn,I5){if(I5===void 0){return J5=>sortBy(fn,J5);}const K5=I5.concat();return K5.sort((a,b)=>{const L5=fn(a),M5=fn(b);return L5<M5?-1:L5>M5?1:0;});}F5.exports=sortBy;},function(N5,O5){function split(P5,Q5){if(Q5===void 0){return R5=>split(P5,R5);}return Q5.split(P5);}N5.exports=split;},function(S5,T5){function splitEvery(U5,a){if(a===void 0){return V5=>splitEvery(U5,V5);}U5=U5>1?U5:1;const W5=[];let X5=0;while(X5<a.length){W5.push(a.slice(X5,X5+=U5));}return W5;}S5.exports=splitEvery;},function(Y5,Z5){function subtract(a,b){if(b===void 0){return a6=>subtract(a,a6);}return a-b;}Y5.exports=subtract;},function(b6,c6,d6){const e6=d6(4);function tail(f6){return e6(1,f6);}b6.exports=tail;},function(g6,h6,i6){const j6=i6(1);function take(k6,a){if(a===void 0){return l6=>take(k6,l6);}else if(typeof a==="string"){return a.slice(0,k6);}return j6(a,0,k6);}g6.exports=take;},function(m6,n6,o6){const p6=o6(1);function takeLast(q6,a){if(a===void 0){return r6=>takeLast(q6,r6);}const s6=a.length;q6=q6>s6?s6:q6;if(typeof a==="string"){return a.slice(s6-q6);}q6=s6-q6;return p6(a,q6,s6);}m6.exports=takeLast;},function(t6,u6){function test(v6,w6){if(w6===void 0){return x6=>test(v6,x6);}return w6.search(v6)===-1?!1:!0;}t6.exports=test;},function(y6,z6){function toLower(A6){return A6.toLowerCase();}y6.exports=toLower;},function(B6,C6){function toUpper(D6){return D6.toUpperCase();}B6.exports=toUpper;},function(E6,F6){function trim(G6){return G6.trim();}E6.exports=trim;},function(H6,I6,J6){const K6=J6(3);function uniq(L6){let M6=-1;const N6=[];while(++M6<L6.length){const O6=L6[M6];if(!K6(O6,N6)){N6.push(O6);}}return N6;}H6.exports=uniq;},function(P6,Q6){function update(R6,S6,T6){if(S6===void 0){return(U6,V6)=>update(R6,U6,V6);}else if(T6===void 0){return W6=>update(R6,S6,W6);}const X6=T6.concat();return X6.fill(S6,R6,R6+1);}P6.exports=update;},function(Y6,Z6){function values(a7){const b7=[];for(const c7 in a7){b7.push(a7[c7]);}return b7;}Y6.exports=values;}]);});
(function webpackUniversalModuleDefinition(d,e){if(typeof exports==='object'&&typeof module==='object')module.exports=e();else if(typeof define==='function'&&define.amd)define([],e);else{var a=e();for(var i in a)(typeof exports==='object'?exports:d)[i]=a[i];}})(this,function(){return function(g){var h={};function __webpack_require__(j){if(h[j]){return h[j].exports;}var k=h[j]={i:j,l:!1,exports:{}};g[j].call(k.exports,k,k.exports,__webpack_require__);k.l=!0;return k.exports;}__webpack_require__.m=g;__webpack_require__.c=h;__webpack_require__.i=function(l){return l;};__webpack_require__.d=function(m,n,q){if(!__webpack_require__.o(m,n)){Object.defineProperty(m,n,{configurable:!1,enumerable:!0,get:q});}};__webpack_require__.n=function(r){var s=r&&r.__esModule?function getDefault(){return r['default'];}:function getModuleExports(){return r;};__webpack_require__.d(s,'a',s);return s;};__webpack_require__.o=function(t,u){return Object.prototype.hasOwnProperty.call(t,u);};__webpack_require__.p="";return __webpack_require__(__webpack_require__.s=9);}([function(v,w){function type(a){if(a===null){return"Null";}else if(Array.isArray(a)){return"Array";}else if(typeof a==="boolean"){return"Boolean";}else if(typeof a==="number"){return"Number";}else if(typeof a==="string"){return"String";}else if(a===void 0){return"Undefined";}else if(a instanceof RegExp){return"RegExp";}const y=a.toString();if(y.startsWith("async")){return"Async";}else if(y==="[object Promise]"){return"Promise";}else if(y.includes("function")||y.includes("=>")){return"Function";}return"Object";}v.exports=type;},function(z,A){function baseSlice(B,C,D){let E=-1,F=B.length;D=D>F?F:D;if(D<0){D+=F;}F=C>D?0:D-C>>>0;C>>>=0;const G=Array(F);while(++E<F){G[E]=B[E+C];}return G;}z.exports=baseSlice;},function(H,I){function curry(f,a=[]){return(...p)=>(o=>o.length>=f.length?f(...o):curry(f,o))([...a,...p]);}H.exports=curry;},function(J,K,L){const M=L(5);function contains(N,O){if(O===void 0){return P=>contains(N,P);}let Q=-1,R=!1;while(++Q<O.length&&!R){if(M(O[Q],N)){R=!0;}}return R;}J.exports=contains;},function(S,T){function drop(U,a){if(a===void 0){return V=>drop(U,V);}return a.slice(U);}S.exports=drop;},function(W,X,Y){const Z=Y(0);function equals(a,b){if(b===void 0){return a1=>equals(a,a1);}else if(a===b){return a!==0||1/a===1/b;}const b1=Z(a);if(b1!==Z(b)){return!1;}if(b1==="Array"){const c1=Array.from(a),d1=Array.from(b);return c1.sort().toString()===d1.sort().toString();}if(b1==="Object"){const e1=Object.keys(a);if(e1.length===Object.keys(b).length){if(e1.length===0){return!0;}let f1=!0;e1.map(g1=>{if(f1){const h1=Z(a[g1]),i1=Z(b[g1]);if(h1===i1){if(h1==="Object"){if(Object.keys(a[g1]).length===Object.keys(b[g1]).length){if(Object.keys(a[g1]).length!==0){if(!equals(a[g1],b[g1])){f1=!1;}}}else{f1=!1;}}else if(!equals(a[g1],b[g1])){f1=!1;}}else{f1=!1;}}});return f1;}}return!1;}W.exports=equals;},function(j1,k1){function map(fn,m1){if(m1===void 0){return n1=>map(fn,n1);}let o1=-1;const p1=m1.length,q1=Array(p1);while(++o1<p1){q1[o1]=fn(m1[o1]);}return q1;}j1.exports=map;},function(r1,s1){function merge(t1,u1){if(u1===void 0){return v1=>merge(t1,v1);}return Object.assign({},t1,u1);}r1.exports=merge;},function(w1,x1,y1){x1.add=y1(10);x1.addIndex=y1(11);x1.any=y1(13);x1.adjust=y1(12);x1.append=y1(14);x1.compose=y1(15);x1.contains=y1(3);x1.curry=y1(2);x1.defaultTo=y1(16);x1.drop=y1(4);x1.dropLast=y1(17);x1.equals=y1(5);x1.filter=y1(18);x1.find=y1(19);x1.findIndex=y1(20);x1.flatten=y1(21);x1.has=y1(22);x1.head=y1(23);x1.ifElse=y1(24);x1.indexOf=y1(26);x1.includes=y1(25);x1.init=y1(27);x1.join=y1(28);x1.last=y1(29);x1.length=y1(30);x1.map=y1(6);x1.match=y1(31);x1.merge=y1(7);x1.not=y1(32);x1.omit=y1(33);x1.path=y1(35);x1.partialCurry=y1(34);x1.pick=y1(36);x1.pluck=y1(37);x1.prepend=y1(38);x1.prop=y1(39);x1.propEq=y1(40);x1.range=y1(41);x1.repeat=y1(43);x1.replace=y1(44);x1.sort=y1(45);x1.sortBy=y1(46);x1.split=y1(47);x1.splitEvery=y1(48);x1.subtract=y1(49);x1.tail=y1(50);x1.take=y1(51);x1.takeLast=y1(52);x1.test=y1(53);x1.toLower=y1(54);x1.toUpper=y1(55);x1.trim=y1(56);x1.type=y1(0);x1.uniq=y1(57);x1.update=y1(58);x1.values=y1(59);x1.reduce=y1(42);},function(z1,A1,B1){const C1=B1(8);z1.exports.R=C1;},function(D1,E1){function add(a,b){if(b===void 0){return c=>add(a,c);}return a+b;}D1.exports=add;},function(F1,G1){function addIndex(H1){return function(fn,...rest){let J1=0;const newFn=(...args)=>fn.apply(null,[...args,J1++]);return H1.apply(null,[newFn,...rest]);};}F1.exports=addIndex;},function(K1,L1,M1){const N1=M1(2);function adjust(fn,P1,Q1){if(P1===void 0){return(R1,S1)=>adjust(fn,R1,S1);}else if(Q1===void 0){return T1=>adjust(fn,P1,T1);}const U1=Q1.concat();return U1.map((V1,W1)=>{if(W1===P1){return fn(Q1[P1]);}return V1;});}K1.exports=adjust;},function(X1,Y1){function any(fn,a2){if(a2===void 0){return b2=>any(fn,b2);}let c2=0;while(c2<a2.length){if(fn(a2[c2])){return!0;}c2++;}return!1;}X1.exports=any;},function(d2,e2){function append(f2,g2){if(g2===void 0){return h2=>append(f2,h2);}const i2=g2.concat();i2.push(f2);return i2;}d2.exports=append;},function(j2,k2){const compose=(...fns)=>l2=>{let m2=fns.slice();while(m2.length>0){l2=m2.pop()(l2);}return l2;};j2.exports=compose;},function(n2,o2,p2){const q2=p2(0);function defaultTo(r2,s2){if(arguments.length===1){return t2=>defaultTo(r2,t2);}return s2===void 0||!(q2(s2)===q2(r2))?r2:s2;}n2.exports=defaultTo;},function(u2,v2){function dropLast(w2,a){if(a===void 0){return x2=>dropLast(w2,x2);}return a.slice(0,-w2);}u2.exports=dropLast;},function(y2,z2){function filter(fn,B2){if(B2===void 0){return C2=>filter(fn,C2);}let D2=-1,E2=0;const F2=B2.length,G2=[];while(++D2<F2){const H2=B2[D2];if(fn(H2)){G2[E2++]=H2;}}return G2;}y2.exports=filter;},function(I2,J2){function find(fn,L2){if(L2===void 0){return M2=>find(fn,M2);}return L2.find(fn);}I2.exports=find;},function(N2,O2){function findIndex(fn,Q2){if(Q2===void 0){return R2=>findIndex(fn,R2);}const S2=Q2.length;let T2=-1;while(++T2<S2){if(fn(Q2[T2])){return T2;}}return-1;}N2.exports=findIndex;},function(U2,V2){function flatten(W2,X2){X2=X2===void 0?[]:X2;for(let i=0;i<W2.length;i++){if(Array.isArray(W2[i])){flatten(W2[i],X2);}else{X2.push(W2[i]);}}return X2;}U2.exports=flatten;},function(Y2,Z2){function has(a3,b3){if(b3===void 0){return c3=>has(a3,c3);}return b3[a3]!==void 0;}Y2.exports=has;},function(d3,e3){function head(a){if(typeof a==="string"){return a[0]||"";}return a[0];}d3.exports=head;},function(f3,g3){function ifElse(h3,i3,j3){if(i3===void 0){return(k3,l3)=>ifElse(h3,k3,l3);}else if(j3===void 0){return m3=>ifElse(h3,i3,m3);}return n3=>{if(h3(n3)===!0){return i3(n3);}return j3(n3);};}f3.exports=ifElse;},function(o3,p3){function includes(x,q3){if(q3===void 0){return r3=>includes(x,r3);}return q3.includes(x);}o3.exports=includes;},function(s3,t3){function indexOf(u3,v3){if(v3===void 0){return w3=>indexOf(u3,w3);}let x3=-1;const y3=v3.length;while(++x3<y3){if(v3[x3]===u3){return x3;}}return-1;}s3.exports=indexOf;},function(z3,A3,B3){const C3=B3(1);function init(a){if(typeof a==="string"){return a.slice(0,-1);}return a.length?C3(a,0,-1):[];}z3.exports=init;},function(D3,E3){function join(F3,G3){if(G3===void 0){return H3=>join(F3,H3);}return G3.join(F3);}D3.exports=join;},function(I3,J3){function last(a){if(typeof a==="string"){return a[a.length-1]||"";}return a[a.length-1];}I3.exports=last;},function(K3,L3){function length(M3){return M3.length;}K3.exports=length;},function(N3,O3){function match(P3,Q3){if(Q3===void 0){return R3=>match(P3,R3);}const S3=Q3.match(P3);return S3===null?[]:S3;}N3.exports=match;},function(T3,U3){function not(x){return!x;}T3.exports=not;},function(V3,W3,X3){const Y3=X3(0);function omit(Z3,a4){if(a4===void 0){return b4=>omit(Z3,b4);}if(Y3(Z3)==='String'){Z3=Z3.split(',').map(x=>x.trim());}const c4={};for(const d4 in a4){if(!Z3.includes(d4)){c4[d4]=a4[d4];}}return c4;}V3.exports=omit;},function(e4,f4,g4){const h4=g4(0),i4=g4(7);function partialCurry(fn,k4={}){return l4=>{if(h4(fn)==="Async"||h4(fn)==="Promise"){return new Promise((m4,n4)=>{fn(i4(l4,k4)).then(m4).catch(n4);});}return fn(i4(l4,k4));};}e4.exports=partialCurry;},function(o4,p4,q4){const r4=q4(0),s4=q4(2);function path(t4,u4){if(!(r4(u4)==="Object")){return void 0;}let v4=u4,w4=0;if(typeof t4==="string"){t4=t4.split(".");}while(w4<t4.length){if(v4===null){return void 0;}v4=v4[t4[w4]];w4++;}return v4;}o4.exports=s4(path);},function(x4,y4,z4){const A4=z4(0);function pick(B4,C4){if(C4===void 0){return D4=>pick(B4,D4);}if(A4(B4)==='String'){B4=B4.split(',').map(x=>x.trim());}const E4={};let F4=0;while(F4<B4.length){if(B4[F4]in C4){E4[B4[F4]]=C4[B4[F4]];}F4++;}return E4;}x4.exports=pick;},function(G4,H4,I4){const J4=I4(6);function pluck(K4,L4){if(L4===void 0){return M4=>pluck(K4,M4);}const N4=[];J4(O4=>{if(!(O4[K4]===void 0)){N4.push(O4[K4]);}},L4);return N4;}G4.exports=pluck;},function(P4,Q4){function prepend(R4,S4){if(S4===void 0){return T4=>prepend(R4,T4);}const U4=S4.concat();U4.unshift(R4);return U4;}P4.exports=prepend;},function(V4,W4){function prop(X4,Y4){if(Y4===void 0){return Z4=>prop(X4,Z4);}return Y4[X4];}V4.exports=prop;},function(a5,b5){function propEq(c5,d5,e5){if(d5===void 0){return(f5,g5)=>propEq(c5,f5,g5);}else if(e5===void 0){return h5=>propEq(c5,d5,h5);}return e5[c5]===d5;}a5.exports=propEq;},function(i5,j5){function range(k5,l5){const m5=[];for(let i=k5;i<l5;i++){m5.push(i);}return m5;}i5.exports=range;},function(n5,o5){function reduce(fn,q5,r5){if(q5===void 0){return(s5,t5)=>reduce(fn,s5,t5);}else if(r5===void 0){return u5=>reduce(fn,q5,u5);}return r5.reduce(fn,q5);}n5.exports=reduce;},function(v5,w5){function repeat(a,x5){if(x5===void 0){return y5=>repeat(a,y5);}const z5=Array(x5);return z5.fill(a);}v5.exports=repeat;},function(A5,B5){function replace(C5,D5,E5){if(D5===void 0){return(F5,G5)=>replace(C5,F5,G5);}else if(E5===void 0){return H5=>replace(C5,D5,H5);}return E5.replace(C5,D5);}A5.exports=replace;},function(I5,J5){function sort(fn,L5){if(L5===void 0){return M5=>sort(fn,M5);}const N5=L5.concat();return N5.sort(fn);}I5.exports=sort;},function(O5,P5){function sortBy(fn,R5){if(R5===void 0){return S5=>sortBy(fn,S5);}const T5=R5.concat();return T5.sort((a,b)=>{const U5=fn(a),V5=fn(b);return U5<V5?-1:U5>V5?1:0;});}O5.exports=sortBy;},function(W5,X5){function split(Y5,Z5){if(Z5===void 0){return a6=>split(Y5,a6);}return Z5.split(Y5);}W5.exports=split;},function(b6,c6){function splitEvery(d6,a){if(a===void 0){return e6=>splitEvery(d6,e6);}d6=d6>1?d6:1;const f6=[];let g6=0;while(g6<a.length){f6.push(a.slice(g6,g6+=d6));}return f6;}b6.exports=splitEvery;},function(h6,i6){function subtract(a,b){if(b===void 0){return j6=>subtract(a,j6);}return a-b;}h6.exports=subtract;},function(k6,l6,m6){const n6=m6(4);function tail(o6){return n6(1,o6);}k6.exports=tail;},function(p6,q6,r6){const s6=r6(1);function take(t6,a){if(a===void 0){return u6=>take(t6,u6);}else if(typeof a==="string"){return a.slice(0,t6);}return s6(a,0,t6);}p6.exports=take;},function(v6,w6,x6){const y6=x6(1);function takeLast(z6,a){if(a===void 0){return A6=>takeLast(z6,A6);}const B6=a.length;z6=z6>B6?B6:z6;if(typeof a==="string"){return a.slice(B6-z6);}z6=B6-z6;return y6(a,z6,B6);}v6.exports=takeLast;},function(C6,D6){function test(E6,F6){if(F6===void 0){return G6=>test(E6,G6);}return F6.search(E6)===-1?!1:!0;}C6.exports=test;},function(H6,I6){function toLower(J6){return J6.toLowerCase();}H6.exports=toLower;},function(K6,L6){function toUpper(M6){return M6.toUpperCase();}K6.exports=toUpper;},function(N6,O6){function trim(P6){return P6.trim();}N6.exports=trim;},function(Q6,R6,S6){const T6=S6(3);function uniq(U6){let V6=-1;const W6=[];while(++V6<U6.length){const X6=U6[V6];if(!T6(X6,W6)){W6.push(X6);}}return W6;}Q6.exports=uniq;},function(Y6,Z6){function update(a7,b7,c7){if(b7===void 0){return(d7,e7)=>update(a7,d7,e7);}else if(c7===void 0){return f7=>update(a7,b7,f7);}const g7=c7.concat();return g7.fill(b7,a7,a7+1);}Y6.exports=update;},function(h7,i7){function values(j7){const k7=[];for(const l7 in j7){k7.push(j7[l7]);}return k7;}h7.exports=values;}]);});
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