Commit Graph

16 Commits

Author SHA1 Message Date
Hiroyasu Nishiyama bc80569fe9 fix buffer parse error message of evaluateNodeProperty 2022-05-22 17:59:27 +09:00
Alexandre Alapetite 280d63fde7
Fix util.encodeObject 2022-02-03 15:59:25 +01:00
Nick O'Leary 48ac50e1c9
Add support for Map/Set property types on Debug 2021-06-29 11:09:30 +01:00
Nick O'Leary 438d51d26e
Allow nested msg properties in msg/flow/global expressions (#2822)
* Allow nested msg properties in msg/flow/global expressions

* Remove typo in RED.utils

Co-authored-by: Nick O'Leary <knolleary@users.noreply.github.com>
2021-01-27 20:32:52 +00:00
Nick O'Leary baffe4861c
Handle undefined value in Debug view of Array and Object
Fixes #2696
2020-09-07 21:05:27 +01:00
Nick O'Leary 4b54a81dfd
Add test cases for setMessageProperty with non-object properties 2020-06-01 13:13:14 +01:00
dxdc fdda29f048
Support for moment-timezone 2020-05-28 01:20:10 -05:00
dxdc 95cc8ea80d
Add missing unit test for accesses undefined environment variable from an expression 2020-05-28 00:48:11 -05:00
dxdc 18f8dde712
Add test for $moment jsonata expression 2020-05-27 23:47:04 -05:00
Nick O'Leary 0f1ca1c7cf
cloneMessage should handle undefined without throwing err
Fixes #2399
2020-02-06 10:05:32 +00:00
Simon Hailes c54509df3d additional test to cover last line in encodeObject 2019-11-02 13:03:37 +00:00
Simon Hailes 74d760a46d add util.inspect data to 'type not printable'. Add test to cover these lines (no existing test). 2019-11-02 12:37:07 +00:00
Simon Hailes d46531def8 add unit tests for encode Object changes. 2019-11-02 11:27:08 +00:00
Nick O'Leary e4d518749f
Remove deprecated Buffer constructor usage
Fixes #1709
2018-10-24 13:45:34 +01:00
Nick O'Leary 38a1291c5b
Fixup all the tests 2018-08-20 16:17:24 +01:00
Nick O'Leary 998bf92ad4
Move tests to reflect package structure 2018-08-19 11:28:03 +01:00