You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we are using commonjs format where we add libs in a project using require('module') but some libs(e.g. got) are stoping this and moving on to the latest javascript technique that is ESM(ECMA Script Module) which use import and export syntax for use lib. CommonJS does not allow to use/import of ESM Modules but the ESM technique allows both ESM and CommonJS so it is good to upgrade projects to use ESM.
Currently, we are using commonjs format where we add libs in a project using
require('module')
but some libs(e.g. got) are stoping this and moving on to the latest javascript technique that is ESM(ECMA Script Module) which useimport
andexport
syntax for use lib. CommonJS does not allow to use/import of ESM Modules but the ESM technique allows both ESM and CommonJS so it is good to upgrade projects to use ESM.discussion #401 (comment)
The text was updated successfully, but these errors were encountered: