nodebb-theme-harmony
Advanced tools
Comparing version 1.0.0-beta.1 to 1.0.0
{ | ||
"name": "nodebb-theme-harmony", | ||
"version": "1.0.0-beta.1", | ||
"version": "1.0.0", | ||
"nbbpm": { | ||
@@ -5,0 +5,0 @@ "compatibility": "^3.0.0" |
'use strict'; | ||
$(document).ready(function () { | ||
setupNProgress(); | ||
setupMobileMenu(); | ||
@@ -125,2 +126,16 @@ setupSearch(); | ||
} | ||
function setupNProgress() { | ||
require(['nprogress'], function (NProgress) { | ||
window.nprogress = NProgress; | ||
if (NProgress) { | ||
$(window).on('action:ajaxify.start', function () { | ||
NProgress.set(0.7); | ||
}); | ||
$(window).on('action:ajaxify.end', function () { | ||
NProgress.done(true); | ||
}); | ||
} | ||
}); | ||
} | ||
}); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
259584
175
383
1
0
1
6