targaryen
targaryen copied to clipboard
Test Firebase security rules without connecting to Firebase.
Need a new security rule parser, a new runtime to evaluate rule condition and new data layer.
### What does this PR try to solve: Previous implementation of `String.endsWith(str, substr)` returns false if the the string provided contained more than one instance of the substring. This PR...
I think I have am encountering an inconsistency between Firebase and targaryen, in the way they treat `.child("")`. In my rules, I check the existence of a value in a...
Firebase database itself allows toJSON to be used when storing data (I'm guessing through the use of `JSON.stringify`). I've changed the `.from` method to check for objects and the presence...
Hello, I'm running into a problem with Targaryan where it says writes are being allowed (jest toAllowWrite) while updates are not (jest toAllowUpdate). The value is an object. When I...
When using targaryen as the jasmine integration, when a test is failing, the output is really verbose for complex rules. To debug the issue, we have to look for `=>...
For a write operation `newValue` holds the the value written to the node getting written; it is the value the user submitted and the value that will get written. For...
I create a plugin for Must.js called [must-targaryen](https://github.com/jtwebman/must-targaryen). If I sent you a pull request could I just add this into the library?