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

Update to JSONata 1.8

This commit is contained in:
Nick O'Leary 2020-02-05 14:44:39 +00:00
parent 5897045f24
commit 3d9945b60c
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
4 changed files with 7 additions and 2 deletions

View File

@ -47,7 +47,7 @@
"is-utf8": "0.2.1", "is-utf8": "0.2.1",
"js-yaml": "3.13.1", "js-yaml": "3.13.1",
"json-stringify-safe": "5.0.1", "json-stringify-safe": "5.0.1",
"jsonata": "1.7.0", "jsonata": "1.8.0",
"media-typer": "1.1.0", "media-typer": "1.1.0",
"memorystore": "1.6.1", "memorystore": "1.6.1",
"mime": "2.4.4", "mime": "2.4.4",

View File

@ -262,5 +262,9 @@
"$distinct": { "$distinct": {
"args": "array", "args": "array",
"desc": "Returns an array with duplicate values removed from `array`" "desc": "Returns an array with duplicate values removed from `array`"
},
"$type": {
"args": "value",
"desc": "Returns the type of `value` as a string. If `value` is undefined, this will return `undefined`"
} }
} }

View File

@ -171,6 +171,7 @@
'$sum':{ args:[ 'array' ]}, '$sum':{ args:[ 'array' ]},
'$toMillis':{args:['timestamp']}, // <------------- '$toMillis':{args:['timestamp']}, // <-------------
'$trim':{ args:[ 'str' ]}, '$trim':{ args:[ 'str' ]},
'$type':{ args:['value']},
'$uppercase':{ args:[ 'str' ]}, '$uppercase':{ args:[ 'str' ]},
'$zip':{ args:[ 'array1' ]} '$zip':{ args:[ 'array1' ]}
} }

View File

@ -18,7 +18,7 @@
"clone": "2.1.2", "clone": "2.1.2",
"i18next": "15.1.2", "i18next": "15.1.2",
"json-stringify-safe": "5.0.1", "json-stringify-safe": "5.0.1",
"jsonata": "1.7.0", "jsonata": "1.8.0",
"when": "3.7.8" "when": "3.7.8"
} }
} }