Comparing version 1.2.0 to 1.3.0
{ | ||
"name": "zerkel", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "A compiler for the zerkel language", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
@@ -39,8 +39,17 @@ #zerkel | ||
You can also access properties on passed in objects, like so: | ||
```coffeescript | ||
zerkel = require 'zerkel' | ||
query = 'user.location = "open field west of a white house"' | ||
matchFn = zerkel.compile query | ||
matchFn {user: {name: 'bob', location: 'open field west of a white house'}} # true | ||
matchFn {user: {name: 'alice', location: 'middle earth'}} # false | ||
``` | ||
###Status | ||
[](https://travis-ci.org/adzerk/zerkel) | ||
Currently in beta testing. | ||
###License | ||
Apache 2.0 |
@@ -111,3 +111,3 @@ /* parser generated by jison 0.4.13 */ | ||
break; | ||
case 14:this.$ = "_env['" + yytext + "']"; | ||
case 14:this.$ = "_helpers['getIn'](_env, '" + yytext + "')"; | ||
break; | ||
@@ -615,3 +615,3 @@ } | ||
}, | ||
rules: [/^(?:\s+)/,/^(?:and|AND\b)/,/^(?:or|OR\b)/,/^(?:not|NOT\b)/,/^(?:=)/,/^(?:<>)/,/^(?:>|<|<=|>=)/,/^(?:contains|CONTAINS\b)/,/^(?:like|LIKE\b)/,/^(?:[0-9]+)/,/^(?:"[^\"]*")/,/^(?:[A-Za-z]+)/,/^(?:\()/,/^(?:\))/,/^(?:$)/], | ||
rules: [/^(?:\s+)/,/^(?:and|AND\b)/,/^(?:or|OR\b)/,/^(?:not|NOT\b)/,/^(?:=)/,/^(?:<>)/,/^(?:>|<|<=|>=)/,/^(?:contains|CONTAINS\b)/,/^(?:like|LIKE\b)/,/^(?:[0-9]+)/,/^(?:"[^\"]*")/,/^(?:[\$A-Za-z]+(\.[A-Za-z]+)*)/,/^(?:\()/,/^(?:\))/,/^(?:$)/], | ||
conditions: {"INITIAL":{"rules":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],"inclusive":true}} | ||
@@ -618,0 +618,0 @@ }; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
63065
55
0