adapt-authoring-adaptframework 1.9.8 → 1.9.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -604,9 +604,7 @@ class AdaptFrameworkImport {
|
|
|
604
604
|
const pluginsToInstall = []
|
|
605
605
|
const pluginsToUpdate = []
|
|
606
606
|
|
|
607
|
-
|
|
608
|
-
this.statusReport.warn.push({ code: 'MANAGED_PLUGIN_UPDATE_DISABLED' })
|
|
609
|
-
}
|
|
607
|
+
let managedPluginUpdateBlocked = false
|
|
610
608
|
Object.keys(this.usedContentPlugins).forEach(p => {
|
|
611
609
|
const installedP = this.installedPlugins[p]
|
|
612
610
|
let { version: importVersion } = this.usedContentPlugins[p]
|
|
@@ -628,6 +626,7 @@ class AdaptFrameworkImport {
|
|
|
628
626
|
return
|
|
629
627
|
}
|
|
630
628
|
if (!this.settings.updatePlugins) {
|
|
629
|
+
if (!isLocalInstall && semver.gt(importVersion, installedVersion)) managedPluginUpdateBlocked = true
|
|
631
630
|
return
|
|
632
631
|
}
|
|
633
632
|
if (semver.eq(importVersion, installedVersion)) {
|
|
@@ -641,6 +640,9 @@ class AdaptFrameworkImport {
|
|
|
641
640
|
}
|
|
642
641
|
pluginsToUpdate.push(p)
|
|
643
642
|
})
|
|
643
|
+
if (managedPluginUpdateBlocked) {
|
|
644
|
+
this.statusReport.warn.push({ code: 'MANAGED_PLUGIN_UPDATE_DISABLED' })
|
|
645
|
+
}
|
|
644
646
|
if (pluginsToInstall.length) {
|
|
645
647
|
if (!this.settings.importPlugins) {
|
|
646
648
|
if (this.settings.isDryRun) return this.statusReport.error.push({ code: 'MISSING_PLUGINS', data: pluginsToInstall })
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "adapt-authoring-adaptframework",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.9",
|
|
4
4
|
"description": "Adapt framework integration for the Adapt authoring tool",
|
|
5
5
|
"homepage": "https://github.com/adapt-security/adapt-authoring-adaptframework",
|
|
6
6
|
"license": "GPL-3.0",
|