Releases: trojs/arrays
Releases · trojs/arrays
Update the readme
Merge pull request #13 from hckrnews/feature/array-with-object-diff Update the readme
Update the readme
Merge pull request #12 from hckrnews/feature/array-with-object-diff Update the readme
Add multiple intersection image
Merge pull request #11 from hckrnews/feature/array-with-object-diff Add multiple intersection image
Update the readme
Merge pull request #10 from hckrnews/feature/array-with-object-diff Update the readme
Finetune dif and intersect
With ES6+ functions
Update dependencies
Minimum node version changed to 14, because i only support active + maintained versions: https://nodejs.org/en/about/releases/
FYI only dev dependencies like Jest 28 and Eslint 8
Now you can also check the diff of arrays with objects
import { Arr } from '@hckrnews/arrays';
const a = new Arr([{ name: 'John' }, { name: 'Peter' }, { name: 'Luke' }]);
const b = [{ name: 'Peter' }, { name: 'Luke' }, { name: 'Paul' }];
a.diff(b)
const a = new Arr([{ name: 'John' }, { name: 'Peter' }, { name: 'Luke' }]);
const b = [{ name: 'Peter' }, { name: 'Luke' }, { name: 'Paul' }];
const c = [{ name: 'Luke' }, { name: 'Paul' }, { name: 'John' }];
a.intersect(b)
a.intersect([b, c], true)
Update dependencies
Merge pull request #5 from hckrnews/feature/fix-module-exports Update dependencies
Add missing file
Merge pull request #4 from hckrnews/feature/fix-module-exports Add missing file
Fix the file extension
Merge pull request #3 from hckrnews/feature/fix-module-exports Fix the file extension