evanw / evanw/node-source-map-support
Unable to create multiple instances
オープン
- 主要言語
- JavaScript
- スター
- 2.2k
- フォーク
- 223
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
It's possible that someone would need to install the module more than once to support different file retrievals. For example, using the babel CLI and it uses this module with in-memory source map look ups. However, someone that wants to add support for the rest of the application now can't. I propose removing the global overrides of `retrieveFile`, etc. and instead using an array of functions that resolve to the first supported.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず、issue で説明されている `retrieveFile` と関連関数のグローバルなオーバーライドを追跡します。複数のインストールが現在どのように干渉しているかを特定し、独立したインスタンスが共存できること、またファイルの取得に最初のサポート対象 resolver が使用されることを検証します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- backend
- issue の種類
- リファクタリング
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 25/100