webext-schema
Advanced tools
Comparing version 2.3.1 to 2.3.2
@@ -257,5 +257,7 @@ /** | ||
const arr = await management.getAll(); | ||
res = arr.filter(info => | ||
info.type && info.type === 'theme' && info.enabled && info | ||
); | ||
if (Array.isArray(arr) && arr.length) { | ||
res = arr.filter(info => | ||
info.type && info.type === 'theme' && info.enabled && info | ||
); | ||
} | ||
} catch (e) { | ||
@@ -303,3 +305,6 @@ logErr(e); | ||
const arr = await management.getAll(); | ||
res = arr.filter(info => info.type && info.type === 'extension' && info); | ||
if (Array.isArray(arr) && arr.length) { | ||
res = | ||
arr.filter(info => info.type && info.type === 'extension' && info); | ||
} | ||
} catch (e) { | ||
@@ -306,0 +311,0 @@ logErr(e); |
@@ -44,3 +44,3 @@ { | ||
"eslint-plugin-import": "^2.26.0", | ||
"eslint-plugin-jsdoc": "^39.2.7", | ||
"eslint-plugin-jsdoc": "^39.2.8", | ||
"eslint-plugin-node": "^11.1.0", | ||
@@ -52,3 +52,3 @@ "eslint-plugin-promise": "^6.0.0", | ||
}, | ||
"version": "2.3.1" | ||
"version": "2.3.2" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3381268
95447