"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "dist/lodash.fp.min.js" between
lodash-4.0.0.tar.gz and lodash-4.17.21.tar.gz

About: lodash is a modern JavaScript utility library delivering modularity, performance, & extras. Tagged version.

lodash.fp.min.js  (lodash-4.0.0):lodash.fp.min.js  (lodash-4.17.21)
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports= (function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=
t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports? e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?
exports.fp=t():e.fp=t()}(this,function(){return function(e){function t(n){if(r[n exports.fp=e():t.fp=e()})(this,function(){return function(t){function e(n){if(r[
])return r[n].exports;var i=r[n]={exports:{},id:n,loaded:!1};return e[n].call(i. n])return r[n].exports;var i=r[n]={exports:{},id:n,loaded:!1};return t[n].call(i
exports,i,i.exports,t),i.loaded=!0,i.exports}var r={};return t.m=e,t.c=r,t.p="", .exports,i,i.exports,e),i.loaded=!0,i.exports}var r={};return e.m=t,e.c=r,e.p=""
t(0)}([function(e,t,r){function n(e){return i(e,e)}var i=r(1);e.exports=n},funct ,e(0)}([function(t,e,r){function n(t,e){return i(t,t,e)}var i=r(1);"function"==t
ion(e,t,r){function n(e,t,r){ ypeof _&&"function"==typeof _.runInContext&&(_=n(_.runInContext())),
if("function"!=typeof r&&(r=t,t=void 0),null==r)throw new TypeError;var o=void 0 t.exports=n},function(t,e,r){function n(t,e){return 2==e?function(e,r){return t.
===t&&"string"==typeof r.VERSION,p=o?r:{ary:e.ary,cloneDeep:e.cloneDeep,curry:e. apply(void 0,arguments)}:function(e){return t.apply(void 0,arguments)}}function
curry,forEach:e.forEach,isFunction:e.isFunction,iteratee:e.iteratee,keys:e.keys, i(t,e){return 2==e?function(e,r){return t(e,r)}:function(e){return t(e)}}functio
rearg:e.rearg},u=p.ary,s=p.cloneDeep,c=p.curry,f=p.forEach,l=p.isFunction,h=p.ke n a(t){for(var e=t?t.length:0,r=Array(e);e--;)r[e]=t[e];return r}function o(t){r
ys,d=p.rearg,y=function(e,t){return function(){var r=arguments,n=Math.min(r.leng eturn function(e){return t({},e)}}function s(t,e){return function(){for(var r=ar
th,t);switch(n){case 1:return e(r[0]);case 2:return e(r[0],r[1])}for(r=Array(n); guments.length,n=r-1,i=Array(r);r--;)i[r]=arguments[r];var a=i[e],o=i.slice(0,e)
n--;)r[n]=arguments[n]; ;return a&&d.apply(o,a),
return e.apply(void 0,r)}},g=function(e){for(var t=e?e.length:0,r=Array(t);t--;) e!=n&&d.apply(o,i.slice(e+1)),t.apply(this,o)}}function l(t,e){return function()
r[t]=e[t];return r},m=function(e){return function(t){return e({},t)}},v=function {var r=arguments.length;if(r){for(var n=Array(r);r--;)n[r]=arguments[r];var i=n[
(e,t){return x(e,t,!0)},R=function(e,t){return x(e,function(e){return y(e,t)})}, 0]=e.apply(void 0,n);return t.apply(void 0,n),i}}}function u(t,e,r,d){function c
x=function(e,t,r){return function(){for(var n=arguments.length,i=Array(n);n--;)i (t,e){if(b.cap){var r=p.iterateeRearg[t];if(r)return x(e,r);var n=!O&&p.iteratee
[n]=arguments[n];i[0]=t(i[0]);var a=e.apply(void 0,i);return r?i[0]:a}},W={itera Ary[t];if(n)return W(e,n)}return e}function h(t,e,r){return E||b.curry&&r>1?D(e,
tee:function(e){return function(t,r){r=r>2?r-2:1,t=e(t);var n=t.length;return n& r):e}function g(t,e,r){if(b.fixed&&(F||!p.skipFixed[t])){var n=p.methodSpread[t]
&r>=n?t:y(t,r)}},mixin:function(e){ ,i=n&&n.start;return void 0===i?L(e,r):s(e,i);
return function(t){var r=this;if(!l(r))return e(r,Object(t));var n=[],i=[];retur }return e}function y(t,e,r){return b.rearg&&r>1&&(M||!p.skipRearg[t])?N(e,p.meth
n f(h(t),function(e){var a=t[e];l(a)&&(i.push(e),n.push(r.prototype[e]))}),e(r,O odRearg[t]||p.aryRearg[r]):e}function m(t,e){e=U(e);for(var r=-1,n=e.length,i=n-
bject(t)),f(i,function(e,t){var i=n[t];l(i)?r.prototype[e]=i:delete r.prototype[ 1,a=w(Object(t)),o=a;null!=o&&++r<n;){var s=e[r],l=o[s];null==l||T(l)||P(l)||K(l
e]}),r}},runInContext:function(t){return function(r){return n(e,t(r))}}},M=funct )||(o[s]=w(r==i?l:Object(l))),o=o[s]}return a}function v(t){return J.runInContex
ion(e,t){var r=W[e];if(r)return r(t);a.array[e]?t=v(t,g):a.object[e]?t=v(t,m(t)) t.convert(t)(void 0)}function A(t,e){var r=p.aliasToReal[t]||t,n=p.remap[r]||r,i
:a.set[e]&&(t=v(t,s));var n;return f(i.caps,function(r){return f(i.aryMethodMap[ =d;return function(t){return u(O?j:C,r,O?j[n]:e,S(S({},i),t))}}function W(t,e){r
r],function(a){if(e==a){ eturn I(t,function(t){
n=u(t,r),r>1&&!i.skipReargMap[e]&&(n=d(n,i.methodReargMap[e]||i.aryReargMap[r])) return"function"==typeof t?i(t,e):t})}function x(t,e){return I(t,function(t){var
;var p=!o&&i.aryIterateeMap[e];return p&&(n=R(n,p)),r>1&&(n=c(n,r)),!1}}),!n}),n r=e.length;return n(N(i(t,r),e),r)})}function I(t,e){return function(){var r=ar
||t};if(!o)return M(t,r);var O=[];return f(i.caps,function(e){f(i.aryMethodMap[e guments.length;if(!r)return t();for(var n=Array(r);r--;)n[r]=arguments[r];var i=
],function(e){var t=p[i.keyMap[e]||e];t&&O.push([e,M(e,t)])})}),f(O,function(e){ b.rearg?0:r-1;return n[i]=e(n[i]),t.apply(void 0,n)}}function R(t,e,r){var n,i=p
p[e[0]]=e[1]}),f(h(p),function(e){f(i.aliasMap[e]||[],function(t){p[t]=p[e]})}), .aliasToReal[t]||t,s=e,u=H[i];return u?s=u(e):b.immutable&&(p.mutate.array[i]?s=
p}var i=r(2),a=i.mutateMap;e.exports=n},function(e,t){e.exports={aliasMap:{ary:[ l(e,a):p.mutate.object[i]?s=l(e,o(e)):p.mutate.set[i]&&(s=l(e,m))),z(G,function(
"nAry"],overEvery:["allPass"], t){return z(p.aryMethod[t],function(e){
overSome:["somePass"],filter:["whereEq"],flatten:["unnest"],flow:["pipe"],flowRi if(i==e){var r=p.methodSpread[i];return n=r&&r.afterRearg?g(i,y(i,s,t),t):y(i,g(
ght:["compose"],forEach:["each"],forEachRight:["eachRight"],get:["path"],getOr:[ i,s,t),t),n=c(i,n),n=h(i,n,t),!1}}),!n}),n||(n=s),n==e&&(n=E?D(n,1):function(){r
"pathOr"],head:["first"],includes:["contains"],initial:["init"],isEqual:["equals eturn e.apply(this,arguments)}),n.convert=A(i,e),n.placeholder=e.placeholder=r,n
"],mapValues:["mapObj"],matchesProperty:["pathEq"],overArgs:["useWith"],omit:["d }var O="function"==typeof e,k=e===Object(e);if(k&&(d=r,r=e,e=void 0),null==r)thr
issoc","omitAll"],pick:["pickAll"],property:["prop"],propertyOf:["propOf"],rest: ow new TypeError;d||(d={});var b={cap:!("cap"in d)||d.cap,curry:!("curry"in d)||
["unapply"],some:["all"],spread:["apply"],zipObject:["zipObj"]},aryIterateeMap:{ d.curry,fixed:!("fixed"in d)||d.fixed,immutable:!("immutable"in d)||d.immutable,
assignWith:2,cloneDeepWith:1, rearg:!("rearg"in d)||d.rearg
cloneWith:1,dropRightWhile:1,dropWhile:1,every:1,extendWith:2,filter:1,find:1,fi },B=O?r:f,E="curry"in d&&d.curry,F="fixed"in d&&d.fixed,M="rearg"in d&&d.rearg,j
ndIndex:1,findKey:1,findLast:1,findLastIndex:1,findLastKey:1,flatMap:1,forEach:1 =O?r.runInContext():void 0,C=O?r:{ary:t.ary,assign:t.assign,clone:t.clone,curry:
,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,isEqualWith:2,isMatc t.curry,forEach:t.forEach,isArray:t.isArray,isError:t.isError,isFunction:t.isFun
hWith:2,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1, ction,isWeakMap:t.isWeakMap,iteratee:t.iteratee,keys:t.keys,rearg:t.rearg,toInte
remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},aryMethodMap:{ ger:t.toInteger,toPath:t.toPath},L=C.ary,S=C.assign,w=C.clone,D=C.curry,z=C.forE
1:"attempt,ceil,create,curry,curryRight,floor,fromPairs,iteratee,invert,over,ove ach,q=C.isArray,P=C.isError,T=C.isFunction,K=C.isWeakMap,_=C.keys,N=C.rearg,V=C.
rEvery,overSome,memoize,method,methodOf,mixin,rest,reverse,round,runInContext,te toInteger,U=C.toPath,G=_(p.aryMethod),H={
mplate,trim,trimLeft,trimRight,uniqueId,words".split(","), castArray:function(t){return function(){var e=arguments[0];return q(e)?t(a(e)):t
2:"add,ary,assign,at,bind,bindKey,cloneDeepWith,cloneWith,concat,countBy,curryN, .apply(void 0,arguments)}},iteratee:function(t){return function(){var e=argument
curryRightN,debounce,defaults,defaultsDeep,delay,difference,drop,dropRight,dropR s[0],r=arguments[1],n=t(e,r),a=n.length;return b.cap&&"number"==typeof r?(r=r>2?
ightWhile,dropWhile,endsWith,eq,every,extend,filter,find,find,findIndex,findKey, r-2:1,a&&a<=r?n:i(n,r)):n}},mixin:function(t){return function(e){var r=this;if(!
findLast,findLastIndex,findLastKey,flatMap,forEach,forEachRight,forIn,forInRight T(r))return t(r,Object(e));var n=[];return z(_(e),function(t){T(e[t])&&n.push([t
,forOwn,forOwnRight,get,groupBy,includes,indexBy,indexOf,intersection,invoke,inv ,r.prototype[t]])}),t(r,Object(e)),z(n,function(t){var e=t[1];T(e)?r.prototype[t
okeMap,isMatch,lastIndexOf,map,mapKeys,mapValues,matchesProperty,maxBy,mean,minB [0]]=e:delete r.prototype[t[0]];
y,merge,omit,orderBy,overArgs,pad,padLeft,padRight,parseInt,partition,pick,pull, }),r}},nthArg:function(t){return function(e){var r=e<0?1:V(e)+1;return D(t(e),r)
pullAll,pullAt,random,range,rangeRight,rearg,reject,remove,repeat,result,sampleS }},rearg:function(t){return function(e,r){var n=r?r.length:0;return D(t(e,r),n)}
ize,some,sortBy,sortedIndexBy,sortedLastIndexBy,sortedUniqBy,startsWith,subtract },runInContext:function(e){return function(r){return u(t,e(r),d)}}};if(!k)return
,sumBy,take,takeRight,takeRightWhile,takeWhile,throttle,times,truncate,union,uni R(e,r,B);var J=r,Q=[];return z(G,function(t){z(p.aryMethod[t],function(t){var e
qBy,without,wrap,xor,zip,zipObject".split(","), =J[p.remap[t]||t];e&&Q.push([t,R(t,e,J)])})}),z(_(J),function(t){var e=J[t];if("
3:"assignWith,clamp,differenceBy,extendWith,getOr,inRange,intersectionBy,isEqual function"==typeof e){for(var r=Q.length;r--;)if(Q[r][0]==t)return;e.convert=A(t,
With,isMatchWith,mergeWith,omitBy,pickBy,pullAllBy,reduce,reduceRight,set,slice, e),Q.push([t,e])}}),z(Q,function(t){
transform,unionBy,xorBy,zipWith".split(","),4:["fill","setWith"]},aryReargMap:{2 J[t[0]]=t[1]}),J.convert=v,J.placeholder=J,z(_(J),function(t){z(p.realToAlias[t]
:[1,0],3:[2,1,0],4:[3,2,0,1]},methodReargMap:{clamp:[2,0,1],reduce:[2,0,1],reduc ||[],function(e){J[e]=J[t]})}),J}var p=r(2),f=r(3),d=Array.prototype.push;t.expo
eRight:[2,0,1],setWith:[3,2,1,0],slice:[2,0,1],transform:[2,0,1]},caps:[1,2,3,4] rts=u},function(t,e){e.aliasToReal={each:"forEach",eachRight:"forEachRight",entr
,keyMap:{curryN:"curry",curryRightN:"curryRight",getOr:"get"},mutateMap:{array:{ ies:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",ex
fill:!0,pull:!0,pullAll:!0, tendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"c
pullAllBy:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignWith:!0,def onformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"st
aults:!0,defaultsDeep:!0,extend:!0,extendWith:!0,merge:!0,mergeWith:!0},set:{set ubTrue",all:"every",allPass:"overEvery",
:!0,setWith:!0}},skipReargMap:{difference:!0,matchesProperty:!0,random:!0,range: always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assoc
!0,rangeRight:!0,zip:!0,zipObject:!0}}}])}); Path:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"u
nset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equ
als:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",j
uxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:
"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"mat
chesProperty",propOr:"getOr",
props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDiff
erenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply
:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch"
,zipObj:"zipObject"},e.aryMethod={1:["assignAll","assignInAll","attempt","castAr
ray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor
","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAl
l","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","r
ound","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId"
,"words","zipAll"],
2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at
","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","conca
t","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaults
Deep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhi
le","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","f
indLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","f
orEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupB
y","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invo
ke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map
","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith
","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart",
"parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pu
ll","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","
repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIn
dexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom"
,"startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile"
,"tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","tr
uncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","
zip","zipObject","zipObjectDeep"],
3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom
","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","ind
exOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgs
Map","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","o
rderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rang
eStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIn
dexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","x
orWith","zipWith"],
4:["fill","setWith","updateWith"]},e.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},e.
iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,fin
dIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,fin
dLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,
forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapVa
lues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhil
e:1,takeWhile:1,times:1,
transform:2},e.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},e.methodRearg={assi
gnInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],di
fferenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],i
ntersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,
0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],
pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],s
etWith:[3,1,2,0],sortedIndexBy:[2,1,0],
sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0]
,xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},e.methodSpread={assignAll:{start
:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defa
ultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{
start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRigh
t:{start:1},without:{start:1},zipAll:{start:0}},e.mutate={array:{fill:!0,pull:!0
,pullAll:!0,pullAllBy:!0,
pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,as
signAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,ass
ignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!
0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,upda
te:!0,updateWith:!0}},e.realToAlias=function(){var t=Object.prototype.hasOwnProp
erty,r=e.aliasToReal,n={};for(var i in r){var a=r[i];t.call(n,a)?n[a].push(i):n[
a]=[i]}return n}(),e.remap={
assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAll
With:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"default
s",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",find
LastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"
includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",la
stIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"
pad",padCharsEnd:"padEnd",
padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rang
eRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimE
nd",trimCharsStart:"trimStart",zipAll:"zip"},e.skipFixed={castArray:!0,flow:!0,f
lowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},e.skipRearg={add:!0,a
ssign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,
gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,ove
rArgs:!0,partial:!0,partialRight:!0,
propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,z
ipObjectDeep:!0}},function(t,e){t.exports={}}])});
 End of changes. 1 change blocks. 
lines changed or deleted lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)