@vuepress/plugin-nprogress
Advanced tools
Comparing version 2.0.0-beta.49 to 2.0.0-beta.50
@@ -1,1 +0,1 @@ | ||
export * from './useNprogress'; | ||
export * from './useNprogress.js'; |
@@ -1,1 +0,1 @@ | ||
export * from './useNprogress'; | ||
export * from './useNprogress.js'; |
import { onMounted } from 'vue'; | ||
import { useRouter } from 'vue-router'; | ||
import { nprogress } from '../nprogress'; | ||
import { nprogress } from '../nprogress.js'; | ||
import '../styles/vars.css'; | ||
@@ -5,0 +5,0 @@ import '../styles/nprogress.css'; |
import { defineClientConfig } from '@vuepress/client'; | ||
import { useNprogress } from './composables'; | ||
import { useNprogress } from './composables/index.js'; | ||
export default defineClientConfig({ | ||
@@ -4,0 +4,0 @@ setup() { |
@@ -1,1 +0,1 @@ | ||
export * from './composables'; | ||
export * from './composables/index.js'; |
@@ -1,1 +0,1 @@ | ||
export * from './composables'; | ||
export * from './composables/index.js'; |
@@ -1,3 +0,3 @@ | ||
import { nprogressPlugin } from './nprogressPlugin'; | ||
export * from './nprogressPlugin'; | ||
import { nprogressPlugin } from './nprogressPlugin.js'; | ||
export * from './nprogressPlugin.js'; | ||
export default nprogressPlugin; |
@@ -1,19 +0,3 @@ | ||
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const nprogressPlugin_1 = require("./nprogressPlugin"); | ||
__exportStar(require("./nprogressPlugin"), exports); | ||
exports.default = nprogressPlugin_1.nprogressPlugin; | ||
import { nprogressPlugin } from './nprogressPlugin.js'; | ||
export * from './nprogressPlugin.js'; | ||
export default nprogressPlugin; |
@@ -1,9 +0,10 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.nprogressPlugin = void 0; | ||
const utils_1 = require("@vuepress/utils"); | ||
const nprogressPlugin = () => ({ | ||
import { getDirname, path } from '@vuepress/utils'; | ||
const __dirname = getDirname(import.meta.url); | ||
export const nprogressPlugin = () => ({ | ||
name: '@vuepress/plugin-nprogress', | ||
clientConfigFile: utils_1.path.resolve(__dirname, '../client/config.js'), | ||
clientConfigFile: path.resolve(__dirname, '../client/config.js'), | ||
alias: { | ||
// workaround for https://github.com/vitejs/vite/issues/7621 | ||
'@vuepress/plugin-nprogress/client': path.resolve(__dirname, '../client/index.js'), | ||
}, | ||
}); | ||
exports.nprogressPlugin = nprogressPlugin; |
{ | ||
"name": "@vuepress/plugin-nprogress", | ||
"version": "2.0.0-beta.49", | ||
"version": "2.0.0-beta.50", | ||
"description": "VuePress plugin - nprogress", | ||
@@ -21,4 +21,10 @@ "keywords": [ | ||
"author": "meteorlxy", | ||
"main": "lib/node/index.js", | ||
"types": "lib/node/index.d.ts", | ||
"type": "module", | ||
"exports": { | ||
".": "./lib/node/index.js", | ||
"./client": "./lib/client/index.js", | ||
"./package.json": "./package.json" | ||
}, | ||
"main": "./lib/node/index.js", | ||
"types": "./lib/node/index.d.ts", | ||
"files": [ | ||
@@ -28,7 +34,7 @@ "lib" | ||
"dependencies": { | ||
"@vuepress/client": "2.0.0-beta.49", | ||
"@vuepress/core": "2.0.0-beta.49", | ||
"@vuepress/utils": "2.0.0-beta.49", | ||
"@vuepress/client": "2.0.0-beta.50", | ||
"@vuepress/core": "2.0.0-beta.50", | ||
"@vuepress/utils": "2.0.0-beta.50", | ||
"vue": "^3.2.37", | ||
"vue-router": "^4.1.2" | ||
"vue-router": "^4.1.4" | ||
}, | ||
@@ -35,0 +41,0 @@ "publishConfig": { |
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
Yes
12393
313
+ Added@mdit-vue/plugin-component@0.9.4(transitive)
+ Added@mdit-vue/plugin-frontmatter@0.9.2(transitive)
+ Added@mdit-vue/plugin-headers@0.9.3(transitive)
+ Added@mdit-vue/plugin-sfc@0.9.2(transitive)
+ Added@mdit-vue/plugin-title@0.9.3(transitive)
+ Added@mdit-vue/plugin-toc@0.9.2(transitive)
+ Added@mdit-vue/shared@0.9.2(transitive)
+ Added@mdit-vue/types@0.9.2(transitive)
+ Added@types/hash-sum@1.0.2(transitive)
+ Added@vuepress/client@2.0.0-beta.50(transitive)
+ Added@vuepress/core@2.0.0-beta.50(transitive)
+ Added@vuepress/markdown@2.0.0-beta.50(transitive)
+ Added@vuepress/shared@2.0.0-beta.50(transitive)
+ Added@vuepress/utils@2.0.0-beta.50(transitive)
+ Addedansi-regex@6.1.0(transitive)
+ Addedbl@5.1.0(transitive)
+ Addedbuffer@6.0.3(transitive)
+ Addedchalk@5.3.0(transitive)
+ Addedcli-cursor@4.0.0(transitive)
+ Addedglobby@13.2.2(transitive)
+ Addedis-interactive@2.0.0(transitive)
+ Addedis-unicode-supported@1.3.0(transitive)
+ Addedlog-symbols@5.1.0(transitive)
+ Addedora@6.3.1(transitive)
+ Addedrestore-cursor@4.0.0(transitive)
+ Addedslash@4.0.0(transitive)
+ Addedstdin-discarder@0.1.0(transitive)
+ Addedstrip-ansi@7.1.0(transitive)
- Removed@mdit-vue/plugin-component@0.6.0(transitive)
- Removed@mdit-vue/plugin-frontmatter@0.6.0(transitive)
- Removed@mdit-vue/plugin-headers@0.6.0(transitive)
- Removed@mdit-vue/plugin-sfc@0.6.0(transitive)
- Removed@mdit-vue/plugin-title@0.6.0(transitive)
- Removed@mdit-vue/plugin-toc@0.6.0(transitive)
- Removed@mdit-vue/shared@0.6.0(transitive)
- Removed@mdit-vue/types@0.6.0(transitive)
- Removed@vuepress/client@2.0.0-beta.49(transitive)
- Removed@vuepress/core@2.0.0-beta.49(transitive)
- Removed@vuepress/markdown@2.0.0-beta.49(transitive)
- Removed@vuepress/shared@2.0.0-beta.49(transitive)
- Removed@vuepress/utils@2.0.0-beta.49(transitive)
- Removedansi-regex@5.0.1(transitive)
- Removedansi-styles@4.3.0(transitive)
- Removedarray-union@2.1.0(transitive)
- Removedbl@4.1.0(transitive)
- Removedbuffer@5.7.1(transitive)
- Removedchalk@4.1.2(transitive)
- Removedcli-cursor@3.1.0(transitive)
- Removedcolor-convert@2.0.1(transitive)
- Removedcolor-name@1.1.4(transitive)
- Removedglobby@11.1.0(transitive)
- Removedhas-flag@4.0.0(transitive)
- Removedis-interactive@1.0.0(transitive)
- Removedis-unicode-supported@0.1.0(transitive)
- Removedlog-symbols@4.1.0(transitive)
- Removedora@5.4.1(transitive)
- Removedrestore-cursor@3.1.0(transitive)
- Removedslash@3.0.0(transitive)
- Removedstrip-ansi@6.0.1(transitive)
- Removedsupports-color@7.2.0(transitive)
Updated@vuepress/core@2.0.0-beta.50
Updatedvue-router@^4.1.4