[CONJS-178] Update code to recent Ecma version Created: 2021-09-20  Updated: 2021-10-18  Resolved: 2021-10-18

Status: Closed
Project: MariaDB Connector/node.js
Component/s: other
Affects Version/s: None
Fix Version/s: 3.0.0-rc

Type: Task Priority: Major
Reporter: Diego Dupin Assignee: Diego Dupin
Resolution: Fixed Votes: 0
Labels: None


 Description   

Now that old version of node.js aren't supported anymore, there is way of improvement with ES2018 to ES2022.
This permit importing only required methods, better coding, (private variables fields and methods) permitting hidding all internals, using promise.finally, Optional chaining, ...

(note, Temporal is still not implemented in node.js, so moment dependency is still required)


Generated at Thu Feb 08 03:23:19 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.