-
1.2.2
Backport complex data type inter-table copy bug from 2.0.6 (#14)
-
2.0.6
Fix crash during copy of complex data types from one table to another
-
1.2.1
Backport object key serialisation edge case fixes from 2.0.5
-
1.2.0
Add cjs option when opening JSDB database to create .cjs files
-
2.0.4
Refactored last change for clarity and removed log statement
-
2.0.3
Fix table load crash when data contained multiline string
-
1.1.5
Attempt to create a query on a non-array object now throws TypeError.
-
1.1.4
Object keys with non-alphanumeric characters now properly supported.
-
1.1.3
Query security improvements. - Fail faster on disallowed character detection. - Fail at function creation instead of code execution on syntax error by using function constructor instead of eval. - Add square brackets to disallowed characters. As far as I can see, [esoteric](http://www.businessinfo.co.uk/labs/talk/Nonalpha.pdf) [approaches](http://slides.com/sylvainpv/xchars-js/) to writing non-alphanumeric JavaScript were already being thwarted by disallowing the plus sign, semicolon, etc., but there’s no harm in removing these also as subscript syntax is powerful in JavaScript. - Add a few more tests.
-
1.1.2
Refactor query sanitisation to make it safer and more maintainable. Also, add tests.
-
1.1.0
Now sanitising queries to prevent arbitrary code execution via injection attacks.
-
1.1.1
Improve sanitisation sieve; fix boolean support in queries - Make sanitisation regular expression less greedy (the sieve now catches injection attempts it was previously missing). - Boolean value support in queries now works properly (was previously being filtered by the sieve). - Missing test for boolean values in queries.