cel-js icon indicating copy to clipboard operation
cel-js copied to clipboard

cel-js is a Common Expression Language (CEL) evaluator for JavaScript

Results 12 cel-js issues
Sort by recently updated
recently updated
newest added

In CEL the uint type is written in the form of `1u`, this is not currently supported by cel-js.

The package should implement a gRPC server that conforms with the documentation on, so the conformance could be tested independently. https://github.com/google/cel-spec/tree/master/tests

https://github.com/google/cel-spec/blob/master/doc/langdef.md ``` COMMENT ::= '//' ~NEWLINE* NEWLINE ```

https://github.com/google/cel-spec/blob/master/doc/langdef.md

## Describe your changes I'm fixing an issue where the reserved identifiers are incorrectly found in the if forming part of an identifier, for example, `for` in `form`. I couldn't...

Got a very strange error when running this: `evaluate('form.field == "admin"', { form: { field: 'admin' } })` Output: `CelParseError: Given string is not a valid CEL expression: Redundant input,...

bug

It should be possible to do something like ```evaluate(`"foo" + 'bar'`) => "foobar"``` https://github.com/google/cel-spec/blob/master/doc/langdef.md#string-and-bytes-values

bug
good first issue

@ChromeGG, I would like to help you elevate this library. I found it easy to use and a solution to a gap in CEL. I saw in a few places...

Using the latest release of `cel-js` `v0.8.2`, I was attempting to see how the parser handled invalid expressions, and discovered that the following appears to parse successfully: ```js import {...

# Overview This PR adds support for the rest of CEL. We @ sfcompute.com are interested in using CEL for ourselves, but would like a reasonable typescript implementation to exist....