Skip to content

1.1.0

Compare
Choose a tag to compare
@acollierr17 acollierr17 released this 14 Sep 01:28
· 8 commits to master since this release

Changes

  • Updated the Paginate#getPaginatedArray() to return the pages generated via the Paginate#generatePages() generator method (de5f25c)
  • Fixed bug where the proper amount of page length was being returned due to the division operation not happening inside Math#ceil() (e32f9e9)
  • Updated the README to be a bit more descriptive (ec16b20)
  • Various other code refactoring, updating configuration files, JSDoc comments, etc

Additions

  • Added the Paginate#setArray() and Paginate#setSize() methods to set the array and page size of the Paginate class (#3) (8c144f1)
  • Added the Paginate#pageGenerator() method to help increase the speed of page generations (thanks to @Anish-Shobith for assistance with this) (de5f25c)
  • Added further error messages in regards to type checking (#1) (#2) (7d1f256)
  • Added an example directory where one can run a test script to see the module in action (4a0991e)

Removals

  • Removed the deploy.sh workflow due to issues with the script and publishing to NPM. Will be looking into this, but for now, I'll stick to manually publishing to NPM (d46b77b)