Require Node.js 12.20 and move to ESM#4
Require Node.js 12.20 and move to ESM#4jimmywarting wants to merge 3 commits intojonschlinkert:masterfrom
Conversation
|
This module is CommonJs module. But your pull-request is ES module. For example, the following code will not work in your pull-request. var isExtendable = require('is-extendable');
console.log(isExtendable({})); // ERR_REQUIRE_ESM Errorhttps://github.com/jonschlinkert/is-extendable/network/dependents |
|
That was my intention.
esm have been supported for a long time now and you can still import the package from commonjs, just you have to use the async https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c |
|
ppl who still wants to use this can use a older version. |
|
@jimmywarting |
No description provided.