UNPKG

@zvenigora/jse-eval

Version:

JavaScript expression parsing and evaluation.

142 lines (65 loc) 5.93 kB
# [1.10.0](https://github.com/Zvenigora/jse-eval/compare/v1.9.1...v1.10.0) (2023-12-31) ### Bug Fixes * fixed context ([4289a18](https://github.com/Zvenigora/jse-eval/commit/4289a18e91f89416a672c1eb676a16531fddfb5f)) ### Features * added conditional evaluators ([adb2032](https://github.com/Zvenigora/jse-eval/commit/adb20328f3195e761fda4ac9c75545850597b752)) * added conditional evaluators ([0649d0b](https://github.com/Zvenigora/jse-eval/commit/0649d0b0b30007328ffdbcb0c48f90d5806517aa)) ## [1.9.1](https://github.com/Zvenigora/jse-eval/compare/v1.9.0...v1.9.1) (2022-10-27) ### Bug Fixes * fixed compiler options ([f55a1b0](https://github.com/Zvenigora/jse-eval/commit/f55a1b0d049b459cbb315d474ea62267028c7217)) * fixed context for function bindings ([1a7bf35](https://github.com/Zvenigora/jse-eval/commit/1a7bf3537db0054332f824400bd629cb82861b03)) * fixed function bundings ([2f19416](https://github.com/Zvenigora/jse-eval/commit/2f194166a0fe32e60392087cd377c0351a519987)) # [1.9.0](https://github.com/Zvenigora/jse-eval/compare/v1.8.0...v1.9.0) (2022-09-08) ### Features * added current and global scopes ([adf61d6](https://github.com/Zvenigora/jse-eval/commit/adf61d6bdb86e1a6895615c95f0a693520c76c56)) # [1.8.0](https://github.com/Zvenigora/jse-eval/compare/v1.7.0...v1.8.0) (2022-09-06) ### Bug Fixes * fixed function bindings type ([9c52ba2](https://github.com/Zvenigora/jse-eval/commit/9c52ba24c2dbc2636c9424858a6812db3add0dfe)) ### Features * add blocklist and allowlist ([3d26a16](https://github.com/Zvenigora/jse-eval/commit/3d26a16b82be7d47d3859bce956b680ff080b5fc)) * added function bindings ([9b8da21](https://github.com/Zvenigora/jse-eval/commit/9b8da2171dda5d822cad481e443f9fd42d3bd3d4)) * added function bindings with scopes ([1a74664](https://github.com/Zvenigora/jse-eval/commit/1a74664a76e9cf5c51421015fed38641aee8b3d6)) # [1.7.0](https://github.com/Zvenigora/jse-eval/compare/v1.6.0...v1.7.0) (2022-08-05) ### Features * added default options ([697cba9](https://github.com/Zvenigora/jse-eval/commit/697cba97056749fe0098f5c42e4f885970d7eee3)) # [1.6.0](https://github.com/Zvenigora/jse-eval/compare/v1.5.2...v1.6.0) (2022-08-05) ### Bug Fixes * updated version ([567238d](https://github.com/Zvenigora/jse-eval/commit/567238df43f2ccb308aed873ad24c59af3844003)) ### Features * add options for case-insensitive evaluation ([2b33b18](https://github.com/Zvenigora/jse-eval/commit/2b33b180373b96c9f361e2864746f9dcf455f86e)) ## [1.5.1.002] (https://github.com/zvenigora/jse-eval/compare/v1.5.1.002...v1.5.1.003) (2022-07-18) * Feature: added support for case-insensitive evaluation via options. * Fix: corrected changelog.md ## [1.5.1.001] (https://github.com/zvenigora/jse-eval/compare/v1.5.1...v1.5.1.001) (2022-07-18) Forked from [jse-eval](https://github.com/6utt3rfly/jse-eval]) v1.5.1. Many thanks to @Shelly (6utt3rfly) and @donmccurdy ## [1.5.1](https://github.com/6utt3rfly/jse-eval/compare/v1.5.0...v1.5.1) (2022-07-10) ### Bug Fixes * update evaluatorCallback types (this, and access to class properties) ([#64](https://github.com/6utt3rfly/jse-eval/issues/64)) ([49a857f](https://github.com/6utt3rfly/jse-eval/commit/49a857f886e368d4c31ec2159ecd07310309d84a)), closes [#63](https://github.com/6utt3rfly/jse-eval/issues/63) # [1.5.0](https://github.com/6utt3rfly/jse-eval/compare/v1.4.1...v1.5.0) (2022-04-19) ### Features * add `_value` to each node during evaluation ([0a3067b](https://github.com/6utt3rfly/jse-eval/commit/0a3067b8af107ae677bee55efd69995d15721dca)) ## [1.4.1](https://github.com/6utt3rfly/jse-eval/compare/v1.4.0...v1.4.1) (2022-03-29) ### Bug Fixes * remove default export ([b2f5d83](https://github.com/6utt3rfly/jse-eval/commit/b2f5d8378ee0b0c7a8f1e3bb28ee7b65071febcd)), closes [#57](https://github.com/6utt3rfly/jse-eval/issues/57) * simplify exported typings ([5f8367f](https://github.com/6utt3rfly/jse-eval/commit/5f8367fdf2bdc7b1e4df264b398514ae0daa7a79)) # [1.4.0](https://github.com/6utt3rfly/jse-eval/compare/v1.3.0...v1.4.0) (2022-03-23) ### Features * update build system for ESM/CJS ([40051d6](https://github.com/6utt3rfly/jse-eval/commit/40051d62dab3f0ed3ce3c7091a637eccd479682d)), closes [#54](https://github.com/6utt3rfly/jse-eval/issues/54) # [1.4.0-beta.1](https://github.com/6utt3rfly/jse-eval/compare/v1.3.0...v1.4.0-beta.1) (2022-03-22) ### Features * update build system for ESM/CJS ([40051d6](https://github.com/6utt3rfly/jse-eval/commit/40051d62dab3f0ed3ce3c7091a637eccd479682d)), closes [#54](https://github.com/6utt3rfly/jse-eval/issues/54) # [1.3.0](https://github.com/6utt3rfly/jse-eval/compare/v1.2.0...v1.3.0) (2022-03-13) ### Features * add `registerPlugin` method ([86939ac](https://github.com/6utt3rfly/jse-eval/commit/86939acacc3b60acaeece6941583c2e5600ede67)), closes [#52](https://github.com/6utt3rfly/jse-eval/issues/52) # [1.2.0](https://github.com/6utt3rfly/jse-eval/compare/v1.1.0...v1.2.0) (2022-02-25) ### Features * add jsep Compound expression support ([6393994](https://github.com/6utt3rfly/jse-eval/commit/6393994212375f9c25df57a23437811541426fd4)), closes [#49](https://github.com/6utt3rfly/jse-eval/issues/49) # [1.1.0](https://github.com/6utt3rfly/jse-eval/compare/v1.0.1...v1.1.0) (2021-11-10) ### Features * Add right-associative binary operator support ([8e60bb2](https://github.com/6utt3rfly/jse-eval/commit/8e60bb2da844dd8586beffbb302d3c36ab03189a)) ## [1.0.1](https://github.com/6utt3rfly/jse-eval/compare/v1.0.0...v1.0.1) (2021-10-04) ### Bug Fixes * updated jsep versions ([6d17177](https://github.com/6utt3rfly/jse-eval/commit/6d17177c9b2b63ae12a299d717e82b04df42fd2b)) # 1.0.0 (2021-09-27) * Initial Release 1.0.0 ([70b6eb6](https://github.com/6utt3rfly/jse-eval/commit/70b6eb610d5b8c8a4bcda336ac37c555f6d84c49)) Forked from [expression-eval](https://github.com/donmccurdy/expression-eval]) v5.0.0. Many thanks to @donmccurdy for the initial package