1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
Commit Graph

21 Commits

Author SHA1 Message Date
Nick O'Leary
48ac50e1c9
Add support for Map/Set property types on Debug 2021-06-29 11:09:30 +01:00
Nick O'Leary
f7210effec
Rework hooks structure to be a linkedlist
Allows for safe removal of hooks whilst they are being invoked
2021-04-26 21:14:42 +01:00
Nick O'Leary
22df59e229
Update hooks api to support promise api 2021-04-15 15:12:35 +01:00
Nick O'Leary
ed351eee54
Move hooks to util package 2021-04-15 15:12:30 +01:00
Nick O'Leary
877c463494
Update to latest sinon 2021-04-09 11:22:57 +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
6fb96fa3c1
Move exec and events components to util module
The exec and events components are common components that
are used by both runtime and registry. It makes sense to
move them into the util package.

This also adds some docs to the registry module
2020-12-07 11:49:01 +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
5e9e523d4c add one line of coverage in log tests. 2019-11-02 13:21:58 +00:00
Simon Hailes
c54509df3d additional test to cover last line in encodeObject 2019-11-02 13:03:37 +00:00
Simon Hailes
63cc9adeaa small update to log - if toString() causes exception, then note and use util.inspect instead - prevents log from causing processes to abort through exception.
Add tests.
2019-11-02 12:38:40 +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