cel-js

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

MIT License

Downloads
2.7K
Stars
23
cel-js - Release 0.2.1 Latest Release

Published by ChromeGG 4 months ago

  • fix: narrow In operator detection (1f68179)
  • docs: πŸ“ update demo with custom functions (#29) (05f7641)
cel-js - Release 0.2.0

Published by ChromeGG 5 months ago

  • feat: user-defined functions (#27) (3499d9d)
  • chore: bump dependencies (#28) (8f6bf04)
cel-js - Release 0.1.6

Published by ChromeGG 7 months ago

  • fix: export types (#26) (50bad60)
  • docs: πŸ“ add info about map to readme and update demo (d55f28e)
cel-js - Release 0.1.5

Published by ChromeGG 7 months ago

  • feat: ✨ map support (#23) (cd3c0f8)
cel-js - Release 0.1.4

Published by ChromeGG 8 months ago

  • feat: ✨ list, in operator and size macro support (#20) (dfb3683)

Big thanks to @alvaro-saavedra-sumup who helped deliver these features!

cel-js - Release 0.1.3

Published by ChromeGG 9 months ago

  • build: πŸ‘· export only index and errors (18460f4)
  • build: πŸ‘· decrease build size (30a9f89)
cel-js - Release 0.1.2

Published by ChromeGG 9 months ago

  • build: πŸ‘· use esbuild as a bundler (6d063a4)
  • docs: πŸ“ add live demo (c4279a8)
  • docs: πŸ“ add more examples to docs (d304ef0)
cel-js - Release 0.1.1

Published by ChromeGG 9 months ago

  • fix: 🏷️ export types (baaad83)
  • docs: πŸ“ add demo (bb1622b)
  • docs: πŸ“ better view of covered CEL features (8cf086f)
cel-js - Release 0.1.0

Published by ChromeGG 9 months ago

  • fix: πŸ’š fix build (a527323)
  • refactor: ♻️ type-safe getIdentifier (7541e3b)
  • fix: πŸ’š fix build (7cfb545)
  • feat: ✨ parse and evaluate as separate steps (de4f77c)
  • feat: ✨ Identifiers support (#18) (3e59d2e)
  • feat: ✨ : add unary expression support (#17) (90639c7)
cel-js - Release 0.0.7

Published by ChromeGG 10 months ago

  • feat: ✨ add type recognition for all operations (#16) (b40dff5)
  • fix: πŸ› narrow multiplication operation (f38956a)
  • fix: πŸ› narrow addition operator to be available on specific types (7e292d9)
  • refactor: ♻️ order tokens and simplify parser (#15) (a88d376)
  • feat: ✨ support Logical OR (9a86331)
  • feat: ✨ support Logical AND (8627ee1)
cel-js - Release 0.0.6

Published by ChromeGG 10 months ago

  • feat: ✨ floats support (c653c6e)
  • feat: ✨ string literals support (#13) (bf4adcb)
  • feat: ✨ support equals and not equals operators (fd2cd65)
  • feat:✨parenthesis expressions support (16007f8)
  • feat: ✨ support for boolean literals and null (#12) (b3718ce)
  • feat: ✨ support for multiplication operator (#11) (10417c6)
cel-js - Release 0.0.5

Published by ChromeGG 11 months ago

  • feat: support addition operations (#10) (81d37e5)
cel-js - Release 0.0.4

Published by ChromeGG 11 months ago

  • chore: bump version (cbea14f)
  • chore: update example version (d67fd60)
  • chore: remove husky from dependencies (adc760a)
  • feat: ✨ handle reserver identifiers (#8) (8d92443)
  • ci: add GH actions for PRs (#7) (eb5ef8e)
  • chore: fix eslint (281d80b)
  • chore: add commit-lint (4ec7cc3)
  • Merge branch 'main' into commit-lint (84cc2cd)
  • chore: remove focused test (edd5d76)
  • chore: remove old file (2bb6c79)
  • chore: πŸ§‘β€πŸ’» add rest of files (1723413)
  • chore: πŸ§‘β€πŸ’» add commit lint (e52051d)
  • fix: πŸ› handle GreatherOrEqual and LessOrEqual correctly (89241c5)
  • chore: πŸ§‘β€πŸ’» replace native runner by vitest (5f491f7)

What's Changed

New Contributors

Full Changelog: https://github.com/ChromeGG/cel-js/compare/0.0.2...0.0.4

cel-js - πŸ’₯ Release 0.0.2

Published by ChromeGG 11 months ago

  • build: πŸ‘· replace np by release-it (a3c3799)
  • build: πŸ‘· add np (4583587)
  • feat: ✨ support for GreatherOrEqual and LessOrEqual operators (847682c)
  • build: πŸ“¦ drop CommonJS support (b24f682)
  • docs: πŸ‘₯ Add contribuiting and code of conduct (b125d84)
  • docs: πŸ“ add examples (1c7d036)
  • build: πŸ‘· create buildable esm and cjs package (41cd4d7)
  • feat: ✨ add identifiers support (73b94d3)
  • chore: πŸ“„ add license (7015601)
  • chore: πŸ§ͺ add tests support (34f73d0)
  • chore: πŸ§‘β€πŸ’» add ESLint (c1e86b6)
  • refactor: ♻️ rewrite parser to type-safe version (e8899ee)
  • chore: πŸ§‘β€πŸ’» Add CST type generator (52aaf51)
  • docs: πŸ“ add readme.md (820afb5)
  • feat: ✨ working comparison expression (aea6a22)
  • Add visitor (e05bff8)
  • prepare tokens and parser (d33c13f)