Restore non-interop ES Modules support
This commit is contained in:
parent
b064473589
commit
7c8b90ffb5
1 changed files with 5 additions and 2 deletions
|
|
@ -385,5 +385,8 @@ Object.defineProperties(is, {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
module.exports = is; // For CommonJS default export support
|
// ES module compatibility
|
||||||
export default is;
|
// TODO: Remove this for the next major release
|
||||||
|
is.default = is;
|
||||||
|
|
||||||
|
export = is;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue