fix(core): Expression extension failing with optional chaining (#5370)

* wip

* fix: working optional chaining polyfill

* fix: polyfill optional chaining on extended functions

* test: add optional chaining tests
This commit is contained in:
Valya
2023-02-09 13:57:45 +00:00
committed by GitHub
parent 40f4ec75fa
commit c7b58e0ed1
6 changed files with 364 additions and 19 deletions

View File

@@ -52,7 +52,9 @@
},
"dependencies": {
"@n8n_io/riot-tmpl": "^2.0.0",
"ast-types": "0.15.2",
"crypto-js": "^4.1.1",
"esprima-next": "5.8.4",
"jmespath": "^0.16.0",
"js-base64": "^3.7.2",
"lodash.get": "^4.4.2",