Socket
Socket
Sign inDemoInstall

twoslash-vue

Package Overview
Dependencies
3
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.8 to 0.0.9

23

dist/index.d.ts

@@ -1,7 +0,24 @@

import { CreateTwoslashOptions, TwoslashInstance } from 'twoslash';
import { VueCompilerOptions } from '@vue/language-core';
import { CreateTwoslashOptions, TwoslashExecuteOptions, TwoslashInstance } from 'twoslash';
interface VueSpecificOptions {
/**
* Vue Compiler options
*/
vueCompilerOptions?: Partial<VueCompilerOptions>;
}
interface CreateTwoslashVueOptions extends CreateTwoslashOptions, VueSpecificOptions {
/**
* Render the generated code in the output instead of the Vue file
*
* @default false
*/
debugShowGeneratedCode?: boolean;
}
interface TwoslashVueExecuteOptions extends TwoslashExecuteOptions, VueSpecificOptions {
}
/**
* Create a twoslasher instance that add additional support for Vue SFC.
*/
declare function createTwoslasher(createOptions?: CreateTwoslashOptions, flag?: boolean): TwoslashInstance;
declare function createTwoslasher(createOptions?: CreateTwoslashVueOptions): TwoslashInstance;
/**

@@ -12,2 +29,2 @@ * @deprecated Use `createTwoslasher` instead.

export { createTwoslasher, createTwoslasherVue };
export { type CreateTwoslashVueOptions, type TwoslashVueExecuteOptions, type VueSpecificOptions, createTwoslasher, createTwoslasherVue };

4

package.json
{
"name": "twoslash-vue",
"type": "module",
"version": "0.0.8",
"version": "0.0.9",
"description": "Extended Twoslash for Vue SFC support",

@@ -48,3 +48,3 @@ "author": "Anthony Fu <anthonyfu117@hotmail.com>",

"@vue/language-core": "^1.8.27",
"twoslash": "0.0.8"
"twoslash": "0.0.9"
},

@@ -51,0 +51,0 @@ "scripts": {

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

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc