After upgrading to version 3.3.1 I started to get the following error when building my code (using esbuild):
The top-level await in "node_modules/bson/lib/bson.mjs" is here:
node_modules/bson/lib/bson.mjs:111:26:
111 │ const nodejsRandomBytes = await (async () => {
╵ ~~~~~
It seems the error comes from bson lib that was updated in version 3.3.1 to ^5.4.0 (used to be 4.5.2 in 3.2.1)
After upgrading to version 3.3.1 I started to get the following error when building my code (using esbuild):
It seems the error comes from
bsonlib that was updated in version3.3.1to^5.4.0(used to be4.5.2in3.2.1)