tuananh / camaro

camaro is an utility to transform XML to JSON, using Node.js binding to native XML parser pugixml, one of the fastest XML parser around.
MIT License
556 stars 29 forks source link

Warning: (node:23080) ExperimentalWarning: The ESM module loader is experimental. #111

Closed ironcladmerc closed 4 years ago

ironcladmerc commented 4 years ago

Camaro started giving this warning recently, it still works, though.

Running on node.js 12.18.0 and camaro is v6.0.2.

Is this something a new version of node introduced or a new version of camaro?

(node:23080) ExperimentalWarning: The ESM module loader is experimental. (node:23080) ExperimentalWarning: The ESM module loader is experimental. (node:23080) ExperimentalWarning: The ESM module loader is experimental. (node:23080) ExperimentalWarning: The ESM module loader is experimental.

tuananh commented 4 years ago

it's probably because of piscina, a dependency camaro is using. each time it's log due to a worker thread is spawn, same as no. of cpu core i assume (the default setting)