Socket
Socket
Sign inDemoInstall

@vuepress/plugin-copy-code

Package Overview
Dependencies
Maintainers
2
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vuepress/plugin-copy-code - npm Package Compare versions

Comparing version 2.0.0-rc.14 to 2.0.0-rc.15

4

lib/client/composables/useCopyCode.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc