Socket
Socket
Sign inDemoInstall

@supercharge/collections

Package Overview
Dependencies
Maintainers
3
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@supercharge/collections - npm Package Versions

1235

1.7.0

Diff

Changelog

Source

1.7.0 - 2019-10-11

Added

  • .median() method
marcuspoehls
published 1.6.0 •

Changelog

Source

1.6.0 - 2019-10-10

Added

  • .sum() method
  • .avg() method
  • .min() method
  • .max() method
  • .join() method
  • .sort() method
  • .diff() method
  • .union() method
  • .intersect() method
  • .toJSON() method
  • .reverse() method

Updated

  • bump dependencies
marcuspoehls
published 1.5.1 •

Changelog

Source

1.5.1 - 2019-09-24

Updated

  • bump dependencies
  • refine examples in Readme
marcuspoehls
published 1.5.0 •

Changelog

Source

1.5.0 - 2019-09-23

Added

  • .has() method
  • .first() method
  • .clone() method
  • .unshift() method
marcuspoehls
published 1.4.1 •

Changelog

Source

1.4.1 - 2019-07-25

Fixed

  • Initializing the Collection won't automatically flatten the given array
marcuspoehls
published 1.4.0 •

Changelog

Source

1.4.0 - 2019-07-24

Added

  • .someSeries() method
  • .everySeries() method

Updated

  • clone the array passed to the collection to remove the reference. This ensures that collection operations won't affect the original array's data
marcuspoehls
published 1.3.0 •

Changelog

Source

1.3.0 - 2019-07-23

Added

  • .push() method
  • .shift() method
  • .concat() method
marcuspoehls
published 1.2.1 •

Changelog

Source

1.2.1 - 2019-07-19

Updated

  • keywords in package.json
marcuspoehls
published 1.2.0 •

Changelog

Source

1.2.0 - 2019-07-19

Added

  • .chunk() method
  • .slice() method
  • .splice() method
  • .findSeries() method
  • .filterSeries() method
  • .rejectSeries() method
  • .take() method
  • .takeAndRemove() method

Updated

  • internal refactoring from individual files for each method to a single Collections class
  • added NPM script to list all tests (npm run list-tests)
  • added NPM script to run a single test (npm run test single <id>: get the ID from the list of tests)
marcuspoehls
published 1.1.0 •

Changelog

Source

1.1.0 - 2019-07-15

Added

  • .size() method
  • .isEmpty() method
  • .isNotEmpty() method
  • .reject() method (as an inverse method to .filter())
  • .forEachSeries() method (it was implemented for 1.0, but not exported 😅)

Updated

  • bump dev dependencies
  • refined docblocks for methods
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc