$ composer {this.attrs.task.command()}
\n \n {this.attrs.task.output()}
\n
\n {item.label} | \n ))}\n
---|
\n {content(task)}\n | \n );\n })}\n
\n {app.translator.trans('flarum-package-manager.admin.extensions.install_help', {\n extiverse: extiverse.com,\n })}\n
\n{this.whyNot}}
{app.translator.trans('flarum-package-manager.admin.major_updater.description')}
\n\n {app.translator.trans('flarum-package-manager.admin.major_updater.failure.desc')}\n
\n{app.translator.trans('flarum-package-manager.admin.updater.updater_help')}
\n {this.lastUpdateCheck?.checkedAt && (\n\n \n {app.translator.trans('flarum-package-manager.admin.updater.last_update_checked_at')}\n \n {humanTime(this.lastUpdateCheck.checkedAt)}\n
\n )}\n$ composer {this.attrs.task.command()}
\n \n {this.attrs.task.output()}
\n
\n {item.label} | \n ))}\n
---|
\n {content(task)}\n | \n );\n })}\n
\n {app.translator.trans('flarum-package-manager.admin.extensions.install_help', {\n extiverse: extiverse.com,\n })}\n
\n{this.whyNot}}
{app.translator.trans('flarum-package-manager.admin.major_updater.description')}
\n\n {app.translator.trans('flarum-package-manager.admin.major_updater.failure.desc')}\n
\nMy new value.
);\n *\n * @exampleMy new value.
, 10);\n */\n replace(key: string, content: T | null = null, priority: number | null = null): this {\n if (!this.has(key)) return this;\n\n if (content !== null) {\n this._items[key].content = content;\n }\n\n if (priority !== null) {\n this._items[key].priority = priority;\n }\n\n return this;\n }\n\n /**\n * Replaces an item's content, if the provided item key exists.\n *\n * If the provided `key` is not present, an error will be thrown.\n *\n * @param key The key of the item in the list\n * @param content The item's new content\n *\n * @exampleMy new value.
);\n *\n * @exampleMy new value.
)\n * .setPriority('myItem', 10);\n *\n * @throws If the provided `key` is not present in the ItemList.\n */\n setContent(key: string, content: T): this {\n if (!this.has(key)) {\n throw new Error(`[ItemList] Cannot set content of Item. Key \\`${key}\\` is not present.`);\n }\n\n // Saves on bundle size to call the deprecated method internally\n return this.replace(key, content);\n }\n\n /**\n * Replaces an item's priority, if the provided item key exists.\n *\n * If the provided `key` is not present, an error will be thrown.\n *\n * @param key The key of the item in the list\n * @param priority The item's new priority\n *\n * @exampleMy new value.
);\n *\n * @throws If the provided `key` is not present in the ItemList.\n */\n setPriority(key: string, priority: number): this {\n if (!this.has(key)) {\n throw new Error(`[ItemList] Cannot set priority of Item. Key \\`${key}\\` is not present.`);\n }\n\n this._items[key].priority = priority;\n\n return this;\n }\n\n /**\n * Remove an item from the list.\n *\n * If the provided `key` is not present, nothing will happen.\n */\n remove(key: string): this {\n delete this._items[key];\n\n return this;\n }\n\n /**\n * Merge another list's items into this one.\n *\n * The list passed to this function will overwrite items which already exist\n * with the same key.\n */\n merge(otherList: ItemList{app.translator.trans('flarum-package-manager.admin.updater.updater_help')}
\n {this.lastUpdateCheckView()}\n\n \n {app.translator.trans('flarum-package-manager.admin.updater.last_update_checked_at')}\n \n {humanTime(app.packageManager.control.lastUpdateCheck.checkedAt)}\n
\n )) ||\n null\n );\n }\n\n availableUpdatesView() {\n const state = app.packageManager.control;\n\n if (app.packageManager.control.isLoading()) {\n return (\n