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
We stumbled upon the issue of ambiguous imports when using this library. require(assert) can refer to the library or Node's assert API.
It would be awesome to have the library available under a second name (e.g., assert.js) in use cases where you don't want to have this ambiguity. Other libraries with the same issue went down a similar road, e.g. punycode.
We stumbled upon the issue of ambiguous imports when using this library.
require(assert)
can refer to the library or Node's assert API.It would be awesome to have the library available under a second name (e.g.,
assert.js
) in use cases where you don't want to have this ambiguity. Other libraries with the same issue went down a similar road, e.g. punycode.Original thread: sindresorhus/eslint-plugin-unicorn#2326
The text was updated successfully, but these errors were encountered: