@vuepress/plugin-copy-code
Advanced tools
Comparing version 2.0.0-rc.14 to 2.0.0-rc.15
@@ -1,4 +0,4 @@ | ||
import type { CopyCodeLocaleConfig } from '../../shared/index.js'; | ||
import type { CopyCodePluginLocaleConfig } from '../../shared/index.js'; | ||
export interface UseCopyCodeOptions { | ||
locales: CopyCodeLocaleConfig; | ||
locales: CopyCodePluginLocaleConfig; | ||
selector: string[]; | ||
@@ -5,0 +5,0 @@ /** @default 500 */ |
@@ -1,3 +0,3 @@ | ||
import type { CopyCodeLocaleConfig } from '../shared/index.js'; | ||
import type { CopyCodePluginLocaleConfig } from '../shared/index.js'; | ||
/** Multi language config for copy code */ | ||
export declare const copyCodeLocales: CopyCodeLocaleConfig; | ||
export declare const copyCodeLocales: CopyCodePluginLocaleConfig; |
import type { LocaleConfig } from 'vuepress/shared'; | ||
import type { CopyCodeLocaleData } from '../shared/index.js'; | ||
import type { CopyCodePluginLocaleData } from '../shared/index.js'; | ||
export interface CopyCodePluginOptions { | ||
@@ -47,3 +47,3 @@ /** | ||
*/ | ||
locales?: LocaleConfig<CopyCodeLocaleData>; | ||
locales?: LocaleConfig<CopyCodePluginLocaleData>; | ||
} |
import type { ExactLocaleConfig } from '@vuepress/helper/shared'; | ||
export interface CopyCodeLocaleData { | ||
export interface CopyCodePluginLocaleData { | ||
/** | ||
@@ -16,2 +16,2 @@ * Copy text | ||
} | ||
export type CopyCodeLocaleConfig = ExactLocaleConfig<CopyCodeLocaleData>; | ||
export type CopyCodePluginLocaleConfig = ExactLocaleConfig<CopyCodePluginLocaleData>; |
{ | ||
"name": "@vuepress/plugin-copy-code", | ||
"version": "2.0.0-rc.14", | ||
"version": "2.0.0-rc.15", | ||
"description": "VuePress plugin - copy code block", | ||
@@ -45,8 +45,8 @@ "keywords": [ | ||
"dependencies": { | ||
"@vuepress/helper": "~2.0.0-rc.14", | ||
"@vuepress/helper": "~2.0.0-rc.15", | ||
"@vueuse/core": "^10.7.2", | ||
"vue": "^3.4.16" | ||
"vue": "^3.4.19" | ||
}, | ||
"peerDependencies": { | ||
"vuepress": "2.0.0-rc.7" | ||
"vuepress": "2.0.0-rc.8" | ||
}, | ||
@@ -56,3 +56,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "cf292f189b5b4852a241bffc48c45112f647b2de" | ||
"gitHead": "f85c8b1cf54e30b2267f6dbf27d06263d2cfbfbd" | ||
} |
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
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
15613
+ Added@vuepress/cli@2.0.0-rc.8(transitive)
+ Added@vuepress/client@2.0.0-rc.8(transitive)
+ Added@vuepress/core@2.0.0-rc.8(transitive)
+ Added@vuepress/markdown@2.0.0-rc.8(transitive)
+ Added@vuepress/shared@2.0.0-rc.8(transitive)
+ Added@vuepress/utils@2.0.0-rc.8(transitive)
+ Addedvuepress@2.0.0-rc.8(transitive)
- Removed@vuepress/cli@2.0.0-rc.7(transitive)
- Removed@vuepress/client@2.0.0-rc.7(transitive)
- Removed@vuepress/core@2.0.0-rc.7(transitive)
- Removed@vuepress/markdown@2.0.0-rc.7(transitive)
- Removed@vuepress/shared@2.0.0-rc.7(transitive)
- Removed@vuepress/utils@2.0.0-rc.7(transitive)
- Removedvuepress@2.0.0-rc.7(transitive)
Updatedvue@^3.4.19