browserify / browserify/commonjs-assert

Ambiguous Package Name

未关闭
#62 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
298
派生
63
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先检查包元数据、已发布的入口点,以及当前名称 require('assert') 的公开方式。确定如何在不影响现有名称的情况下发布第二个名称(例如 assert.js);完成的标准是替代包名称可用,并且歧义已得到解决。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript, nodejs
领域
backend
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。