Upgrades the TypeScript config to target NodeJS 20 runtime.
Also formalizes the minimal required node engine.
This fixes an issue with a regex in the dart flutter parser, as the /ms flag can be used only in the ES2018 target:
src/parsers/dart-json/dart-json-parser.ts:209:123 - error TS1501: This regular expression flag is only available when targeting 'es2018' or later.
209 /^══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞═+\s+(.*)\s+When the exception was thrown, this was the stack:/ms
Upgrades the TypeScript config to target NodeJS 20 runtime. Also formalizes the minimal required node engine.
This fixes an issue with a regex in the dart flutter parser, as the
/ms
flag can be used only in the ES2018 target: