ember-cli / ember-cli/ember-cli-preprocess-registry

Removal of availablePlugins breaks addons

オープン
#121 コメント 1 件 リアクション 2 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
1
フォーク
11
PR マージ指標
30日以内にマージされた PR はありません

説明

A number of older addons break with `ember-cli-preprocess-registry` versions `4.0+` with the following error:

```
Cannot read properties of undefined (reading '...')
```

We've traced it down to the [removal](https://github.com/ember-cli/ember-cli-preprocess-registry/commit/22379e12919520a86101f0f8ef314b7de43e4352) of `availablePlugins` from `registry`.

We've seen this problem with the following plugins:
- [ember-basic-dropdown](https://github.com/cibernox/ember-basic-dropdown/issues/706)
- [ember-power-select](https://github.com/cibernox/ember-power-select)
- [ember-side-menu](https://github.com/tsubik/ember-side-menu)
- [and there seem to be more...](https://github.com/search?q=registry.availablePlugins+language%3AJavaScript&type=code&l=JavaScript)

Is this an intended breaking change?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

コミット 22379e12919520a86101f0f8ef314b7de43e4352 と現在の registry API を確認し、availablePlugins が削除された理由を理解してください。指定された addon のいずれかを使って未定義プロパティによる失敗を再現し、その後、古い plugin に対して意図された互換性の動作を特定して検証してください。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript
領域
tooling
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。