(json)
| 123 | // or are dropped, which the callers report as "lists no installable plugin |
| 124 | // source" instead of crashing. |
| 125 | function pluginEntries(json) { |
| 126 | if (!json || !Array.isArray(json.plugins)) return []; |
| 127 | return json.plugins.filter((p) => p && typeof p === "object"); |
| 128 | } |
| 129 | |
| 130 | // Path-declaring fields inside the plugin manifests themselves. |
| 131 | // |
no outgoing calls