@vuepress/plugin-nprogress
Advanced tools
Comparing version 2.0.0-beta.40 to 2.0.0-beta.41
@@ -1,4 +0,4 @@ | ||
import * as nprogress from 'nprogress'; | ||
import { onMounted } from 'vue'; | ||
import { useRouter } from 'vue-router'; | ||
import { nprogress } from '../nprogress'; | ||
import '../styles/vars.css'; | ||
@@ -14,4 +14,2 @@ import '../styles/nprogress.css'; | ||
loadedPages.add(router.currentRoute.value.path); | ||
// set nprogress config | ||
nprogress.configure({ showSpinner: false }); | ||
// show progress bar before navigation | ||
@@ -18,0 +16,0 @@ router.beforeEach((to) => { |
{ | ||
"name": "@vuepress/plugin-nprogress", | ||
"version": "2.0.0-beta.40", | ||
"version": "2.0.0-beta.41", | ||
"description": "VuePress plugin - nprogress", | ||
@@ -27,12 +27,8 @@ "keywords": [ | ||
"dependencies": { | ||
"@vuepress/client": "2.0.0-beta.40", | ||
"@vuepress/core": "2.0.0-beta.40", | ||
"@vuepress/utils": "2.0.0-beta.40", | ||
"nprogress": "^0.2.0", | ||
"@vuepress/client": "2.0.0-beta.41", | ||
"@vuepress/core": "2.0.0-beta.41", | ||
"@vuepress/utils": "2.0.0-beta.41", | ||
"vue": "^3.2.33", | ||
"vue-router": "^4.0.14" | ||
}, | ||
"devDependencies": { | ||
"@types/nprogress": "^0.2.0" | ||
}, | ||
"publishConfig": { | ||
@@ -39,0 +35,0 @@ "access": "public" |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
12792
5
0
18
319
1
+ Added@vuepress/client@2.0.0-beta.41(transitive)
+ Added@vuepress/core@2.0.0-beta.41(transitive)
+ Added@vuepress/markdown@2.0.0-beta.41(transitive)
+ Added@vuepress/shared@2.0.0-beta.41(transitive)
+ Added@vuepress/utils@2.0.0-beta.41(transitive)
- Removednprogress@^0.2.0
- Removed@vuepress/client@2.0.0-beta.40(transitive)
- Removed@vuepress/core@2.0.0-beta.40(transitive)
- Removed@vuepress/markdown@2.0.0-beta.40(transitive)
- Removed@vuepress/shared@2.0.0-beta.40(transitive)
- Removed@vuepress/utils@2.0.0-beta.40(transitive)
- Removednprogress@0.2.0(transitive)
Updated@vuepress/core@2.0.0-beta.41