TomFrost / Jexl

Javascript Expression Language: Powerful context-based expression parser and evaluator
MIT License
559 stars 90 forks source link

Object keys with a space #124

Open chetbox opened 2 years ago

chetbox commented 2 years ago

How do I write an object with a key that has a space?

This example seems to fail: https://czosel.github.io/jexl-playground/#/?input=%7B%22key%20with%20a%20space%22%3A%20123%7D

In fact, any key in quotes fails. Given Javascript lets you have keys with a space this is how I'd expect to achieve the same thing with Jexl.

ihsanciftci commented 1 year ago

In fact, this was fixed at 2021. https://github.com/TomFrost/Jexl/commit/833f5a54281a7172c3f6cb3f0e76f7b4d5e4e89d Could someone push the latest version on the github to the npm repository?

chetbox commented 1 year ago

Well spotted! In fact there don't seem to have been a release since September 2020. @TomFrost Are you happy to make a new release?

Also @TomFrost, with reference to #82 and #116, do you need some help maintaining this project? If not I'm inclined to release a fork that is more readily maintained and try to direct all users of this library there.