UNPKG

mout

Version:

Modular Utilities

94 lines (75 loc) 2.94 kB
mout changelog ============== v0.6.0 (2013/05/22) ------------------- - add optional delimeter to `string/unCamelCase` - allow custom char on `number/pad` - allow underscore characters in `string/removeNonWord` - accept `level` on `array/flatten` instead of a flag - convert underscores to camelCase in `string/camelCase` - remove `create()` from number/currencyFormat - add `date/dayOfTheYear` - add `date/diff` - add `date/isSame` - add `date/startOf` - add `date/strftime` - add `date/timezoneAbbr` - add `date/timezoneOffset` - add `date/totalDaysInYear` - add `date/weekOfTheYear` - add `function/timeout` - add `object/bindAll` - add `object/functions` - add `time/convert` v0.5.0 (2013/04/04) ------------------- - add `array/collect` - add `callback` parameter to `object/equals` and `object/deepEquals` to allow custom compare operations. - normalize behavior in `array/*` methods to treat `null` values as empty arrays when reading from array - add `date/parseIso` - add `date/isLeapYear` - add `date/totalDaysInMonth` - add `object/deepMatches` - change `function/makeIterator_` to use `deepMatches` (affects nearly all iteration methods) - add `thisObj` parameter to `array/min` and `array/max` v0.4.0 (2013/02/26) ------------------- - add `object/equals` - add `object/deepEquals` - add `object/matches`. - add `lang/is` and `lang/isnt`. - add `lang/isInteger`. - add `array/findIndex`. - add shorthand syntax to `array/*`, `object/*` and `collection/*` 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). v0.3.0 (2013/02/01) ------------------- - add `lang/clone`. - add `lang/toString`. - add `string/replace`. - add `string/WHITE_SPACES` - rename `function/curry` to `function/partial`. - allow custom chars in `string/trim`, `ltrim`, and `rtrim`. - convert values to strings in the `string/*` functions. v0.2.0 (2013/01/13) ------------------- - fix bug in `math/ceil` for negative radixes. - change `object/deepFillIn` and `object/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` to `lang/deepClone`. - add VERSION property to index.js - simplify `math/floor`, `math/round`, `math/ceil` and `math/countSteps`. v0.1.0 (2013/01/09) ------------------- - Rename project from "amd-utils" to "mout"