browserify / browserify/commonjs-assert

Ambiguous Package Name

Open
#62 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
298
Forks
63
PR merge metrics
No merged PRs in 30d

Description

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](https://www.npmjs.com/package/punycode.js).

Original thread: https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2326

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.