Skip to content

Releases: georapbox/immutable-arrays

v4.1.0

06 Nov 08:59
Compare
Choose a tag to compare
  • Replace Mocha and Chai with Jest for testing the library.
  • Replace codecov with coveralls for tests coverage.
  • Update devDependencies.

v4.0.0

17 Oct 09:07
Compare
Choose a tag to compare

BREAKING CHANGES

Remove default export in favor of named exports.

The following is NOT working aymore:

import immutableArrays from 'immutable-arrays';

Import the method you want to use instead:

import { push } from 'immutable-arrays';

OTHER CHANGES

  • Fix missing build file path for UMD bundling in rollup configuration file
  • Update devDependencies

v3.0.1

14 Apr 19:15
50ac06a
Compare
Choose a tag to compare

Fixes issue #8

v3.0.0

14 Apr 19:15
50ac06a
Compare
Choose a tag to compare
  • Replaced Webpack with Rollup for bundling the library. As a result of this migration the library is now exported in UMD, CommonJS and ESM formats.
  • The library does not export standalone modules. If you need to import only one method you can import a named export.

v2.0.2

01 Mar 12:27
Compare
Choose a tag to compare

In del method if index is a negative number, return a copy of the original array. By just returning the original array (as of version 1.0.3) is dangerous for mutating the resulted array if the original is mutated.

v2.0.1

27 Nov 13:43
Compare
Choose a tag to compare
  • Update devDependencies
  • Update npm-run-all to latest version to protect against flatmap-stream malicious dependency (mysticatea/npm-run-all#153)

v2.0.0

05 Nov 10:20
Compare
Choose a tag to compare

BREAKING CHANGES

The library's API has not breaking changes. All breaking changes refer to how the final distributed files are bundled and their locations in the project.

  • All distributed files are located under the dist/ directory instead of lib/ which was in v1.x.x. The UMD format is located under dist/umd/ directory and the CommonJS under the dist/commonjs/ directory.
  • The directory containing the distributed files is no longer included in GIT.

OTHER CHANGES

  • All devDependencies are updated to latest versions. Updated Webpack to v4.x.x and Babel to v7.x.x.
  • The library is now exported in both UMD (as was in version 1.x.x) and CommonJS. For CommonJS, the library's methods are also exported as standalone functions in order to import only the ones you want for your project. Check the Usage section in README for more details.

v1.0.3

31 Oct 13:00
Compare
Choose a tag to compare
  • Fixes issue #4. Do not copy array unnecessarily in del method if index is a negative number.

v1.0.2

20 Jan 18:16
Compare
Choose a tag to compare
  • Use the array spread operator in delete method.
  • Keep devDependencies up to date.

v1.0.1

30 Nov 14:08
Compare
Choose a tag to compare
  • Keep devDependencies up to date.
  • Minor documentation updates.