- add
array/collect
- add
callback
parameter toobject/equals
andobject/deepEquals
to allow custom compare operations. - normalize behavior in
array/*
methods to treatnull
values as empty arrays when reading from array - add
date/parseIso
- add
date/isLeapYear
- add
date/totalDaysInMonth
- add
object/deepMatches
- change
function/makeIterator_
to usedeepMatches
(affects nearly all iteration methods) - Add
thisObj
parameter toarray/min
andarray/max
- add
object/equals
- add
object/deepEquals
- add
object/matches
. - add
lang/is
andlang/isnt
. - add
lang/isInteger
. - add
array/findIndex
. - add shorthand syntax to
array/*
,object/*
andcollection/*
methods. - improve
number/sign
behavior when value is NaN or +0 or -0. - improve
lang/isNaN
to actually check if value is not a number without coercing value; so[]
,""
,null
and"12"
are considered NaN (#39). - improve
string/contains
to match ES6 behavior (add fromIndex argument).
- add
lang/clone
. - add
lang/toString
. - add
string/replace
. - add
string/WHITE_SPACES
- rename
function/curry
tofunction/partial
. - allow custom chars in
string/trim
,ltrim
, andrtrim
. - convert values to strings in the
string/*
functions.
- fix bug in
math/ceil
for negative radixes. - change
object/deepFillIn
andobject/deepMixIn
to recurse only if both existing and new values are plain objects. Will not recurse into arrays or objects not created by the Object constructor. - add
lang/isPlainObject
to check if a file is a valid object and is created by the Object constructor - change
lang/clone
behavior when dealing with custom types (avoid cloning it by default) and add second argument to allow custom behavior if needed. - rename
lang/clone
tolang/deepClone
. - add VERSION property to index.js
- simplify
math/floor
,math/round
,math/ceil
andmath/countSteps
.
- Rename project from "amd-utils" to "mout"