Skip to content

Releases: mesqueeb/filter-anything

v3.0.0

25 Jan 09:22
Compare
Choose a tag to compare

breaking changes

  • requires node v12+
  • is now an esm package with "type": "module" in package.json

v2.2.4

25 Jan 11:00
Compare
Choose a tag to compare

v2.2.2...v2.2.4

v2.2.2

25 Jan 03:59
Compare
Choose a tag to compare

v2.2.1...v2.2.2

v2.2.1

08 Mar 00:41
Compare
Choose a tag to compare

v2.2.0...v2.2.1

v2.2.0

08 Mar 00:19
Compare
Choose a tag to compare
  • fix: greatly improve types 433395d
  • fix: don't hard code ts-toolbelt version a4a06cf

v2.1.9...v2.2.0

v2.1.9

26 Feb 07:17
Compare
Choose a tag to compare

v2.1.2...v2.1.9

All new TypeScript support!

22 Feb 05:34
Compare
Choose a tag to compare

Better TypeScript support 🦄

I have greatly improve the TypeScript support. Your filtered objects will now carry over the resulting interfaces:

Screenshot 2020-02-22 at 14 17 53

v2.0 breaking changes

  • only named exports
// before:
import filter from 'filter-anything'

// now:
import { fillable, guard } from 'filter-anything'
  • passing an empty array to fillable like so: fillable(obj, []) will now return an empty object

Please see the new documentation.