Skip to content

Releases: asd-xiv/m

v0.9.0 - 26 October 2018

26 Oct 10:29
Compare
Choose a tag to compare

Add

  • Add replace - Replace substring if source is string, replace element (shallow equal) if source is Array.
  • Add string__trim - Remove char from beginning and end of string
  • Add array__drop-last - Remove elements from end of array
  • Add fs__rename-file - Rename a file given a path string

Remove

  • Remove src/fs.js entry point
    • rename fs__find -> fs__find-files and add to main index
    • load findFiles like const { findFiles } = require("m"), oposed to const { find } = require("m/src/fs")

v0.8.1 - 24 October 2018

26 Oct 10:27
Compare
Choose a tag to compare

Changed

  • Write tests for and update array__remove - to accept primitive value or filter function

v0.8.0 - 24 October 2018

24 Oct 13:43
Compare
Choose a tag to compare

Added

  • Add string__contains - Test if string contains substring
  • Add string__endsWith - Test if string ends with substring

v0.7.0 - 22 October 2018

22 Oct 09:41
Compare
Choose a tag to compare

Added

  • Add array__replace-by - Find and replace object in array

v0.6.0 - 20 October 2018

20 Oct 20:32
Compare
Choose a tag to compare

Added

  • Add array_repeat to generate an array of fixed size containing a specified value or function result

Removed

  • Remove flow support