Skip to content

Releases: ascartabelli/lamb

v0.61.1

15 Nov 08:41
Compare
Choose a tag to compare
  • Fixed reduceWith and reduceRightWith not using the initial value when reduce was called with more than three arguments

v0.61.0

09 Nov 14:03
Compare
Choose a tag to compare
  • Added symmetricDifference
  • Big performance improvements to the following functions in ES6 aware environments: difference, intersection, symmetricDifference, union, unionBy, uniques and uniquesBy
  • Gave a new coat of paint to all tests
  • Updated doc comments and streamlined some parameter names
  • Dropped TravisCI for Github actions

v0.60.0

08 Mar 13:49
Compare
Choose a tag to compare

Added mean, median and replace.

v0.59.2

17 Jul 12:49
Compare
Choose a tag to compare

Fixed wrong "exports" property in package.json uploaded in the previous release.

v0.59.1

17 Jul 06:41
Compare
Choose a tag to compare
  • Updated "exports" property in package.json to address the issue where some tools couldn't access the manifest file. See nodejs/node#33460.
  • Got rid of ES5 in all examples

v0.59.0

07 Jul 06:23
Compare
Choose a tag to compare
  • Sorry for all the renaming, but I'm in the process of freezing the API and wanted to tackle some inconsistencies in naming choices.
  • Updated to support Node.js ES modules (and renamed ES modules build to lamb.mjs)
  • Added split and splitBy
  • Renamed pick to pickIn and pickKeys to pick
  • Renamed skip to skipIn and skipKeys to skip
  • Renamed rename to renameIn and renameKeys to rename
  • Renamed pluck to pluckFrom and pluckKey to pluck
  • Renamed case to casus to avoid confusion and clashing with the switch statement's case
  • Renamed invoker and invokerOn to invoke and invokeOn
  • Fixed .DS_STORE file leaking again in the dist folder

v0.58.0

18 Jun 08:23
Compare
Choose a tag to compare
  • Added one file ES modules build
  • invoker now accepts an array of bound arguments
  • Benched immutable for the moment being
  • Added join and joinWith
  • Added findLast, findLastWhere, findLastIndex, findLastIndexWhere
  • Added dropLastWhile and takeLastWhile
  • Switched from uglify-js to terser
  • Updated docs, linting and tests

v0.57.0

12 Feb 08:12
Compare
Choose a tag to compare
  • Splitted the library into ES modules
  • sort, sortWith and sortedInsert now accept an array of sorters
  • removed @@lamb/placeholder property as now the placeholder is exported as __
  • Switched to Jest as a test suite

v0.56.0

15 Jul 10:28
Compare
Choose a tag to compare
  • compose, intersection, merge, mergeOwn, union and zip are now binary functions, and so are functions built with unionBy.
  • adapter, allOf, anyOf, collect and pipe now accept an array of functions
  • Updated doc comments and tests

v0.55.0

21 Mar 12:30
Compare
Choose a tag to compare
  • Added rotate and rotateBy
  • Updated link to jsDelivr
  • Fixed and updated doc comments and tests