Skip to content

Releases: LetsMelon/addIdToArray

2.0.0

28 Nov 16:27
61532ed
Compare
Choose a tag to compare

Added

  • added eslint and prettier as dev.-dep.
  • added tests for lib/functions.js
  • added benchmark as dev.-dep.
  • added simple benchmarks

Changed

  • BREAKING: optional parameter with object and in camelCase, (arr, headers, start, increment_name, increment_step, custom_id_function) to
    arr, parameter: {headers, start, incrementName, incrementStep, customIdFunction} (#4)
  • changed README.md to use optional parameter
  • removed isObject as dependency (#6)
  • removed duplicate functions and add them to the file lib/functions.js
  • replaced lodash with single function-dep lodash.isequal

1.2.0 (2020-11-06)

06 Nov 15:25
c89d0c0
Compare
Choose a tag to compare

Added

  • added custom_id_function as parameter (#2)
  • added tests for custom_id_function
  • added example for custom_id_function in README.md
  • added 'husky' as dev. dependency

Fixed

  • link for 1.1.0 compare in CHANGELOG.md
  • github workflow 'npm-publish.yml'

Changes to v1.1.0

1.1.0

03 Nov 19:36
7144bde
Compare
Choose a tag to compare

1.1.0 (2020-11-03)

Added

  • documented library (simple)
  • refactor README.md
  • added license information on top of each file
  • added start, increment_name, increment_step as parameter to library
  • added test
  • shrunk down library file size

Changed

v1.0.0

29 Oct 14:56
Compare
Choose a tag to compare

Added

  • added 'isarray' and 'isobject' as dependencies
  • added 'jest' as dev.-dependency
  • added 'formatter'
  • added tests for only one of the three branches from the formatter