Skip to content

Releases: aintgoin2goa/quizas

Default value

Choose a tag to compare

@aintgoin2goa aintgoin2goa released this 11 May 15:35

Adds the ability to add a default value, to be returned instead of null.

Filter and Map

Choose a tag to compare

@aintgoin2goa aintgoin2goa released this 11 May 13:49

Adds a couple of extra methods for working with Arrays

pluckValues()

Choose a tag to compare

@aintgoin2goa aintgoin2goa released this 24 Apr 13:38

Adds a new feature to allow plucking a single property from an array of objects and returning an array

Fixes poorly handled string issue

Choose a tag to compare

@aintgoin2goa aintgoin2goa released this 05 Apr 18:40

If you were drilling down but halfway you encounter a string or other primitive value an error was thrown - not any more!

Add ability to transform values whilst plucking/extracting

Choose a tag to compare

@aintgoin2goa aintgoin2goa released this 31 Mar 15:16
Merge pull request #10 from aintgoin2goa/feature/transform

add ability to transform value whilst plucking and extracting

Always return object from copy()

Choose a tag to compare

@aintgoin2goa aintgoin2goa released this 28 Mar 11:00

Fixes an issue where if you call copy() on a value that doesn't exist you get undefined back

Actually fix falsy bug

Choose a tag to compare

@aintgoin2goa aintgoin2goa released this 27 Mar 14:33

2nd time lucky! 🤞

Fix falsy bug

Choose a tag to compare

@aintgoin2goa aintgoin2goa released this 27 Mar 14:00

Fixes and issue where falsy values very treated the same as nonexistant ones.

Make writes immutable

Choose a tag to compare

@aintgoin2goa aintgoin2goa released this 27 Mar 09:24

This is a breaking change, but no-one else is using this module but me right now so fuck it.

Now the copy method treats the object passed to it as immutable and returns a new object instead.

Making deepRead more resilisant

Choose a tag to compare

@aintgoin2goa aintgoin2goa released this 22 Mar 13:55

Fixes an issue where doing this quizas(null, 'blah') would cause it to die. Now handling null values