New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@slidev/types

Package Overview
Dependencies
Maintainers
1
Versions
411
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@slidev/types - npm Package Compare versions

Comparing version 0.0.0-alpha.55 to 0.0.0-alpha.57

15

dist/index.d.ts
import { Awaitable } from '@antfu/utils';
import { Options } from 'markdown-it-shiki';
import { IThemeRegistration, ILanguageRegistration, Highlighter } from 'shiki';
import * as monaco from 'monaco-editor';

@@ -61,3 +61,12 @@ import { App } from 'vue';

}
declare type ShikiSetup = () => Awaitable<Options | undefined>;
interface ShikiDarkModeThemes {
dark: IThemeRegistration;
light: IThemeRegistration;
}
interface ShikiOptions {
theme?: IThemeRegistration | ShikiDarkModeThemes;
langs?: ILanguageRegistration[];
highlighter?: Highlighter;
}
declare type ShikiSetup = () => Awaitable<ShikiOptions | undefined>;
declare type MonacoSetup = (m: typeof monaco) => Awaitable<void>;

@@ -69,2 +78,2 @@ declare type AppSetup = (context: AppContext) => Awaitable<void>;

export { AppContext, AppSetup, MonacoSetup, ShikiSetup, SlideInfo, SlideInfoExtended, SlidevConfig, SlidevMarkdown, defineAppSetup, defineMonacoSetup, defineShikiSetup };
export { AppContext, AppSetup, MonacoSetup, ShikiDarkModeThemes, ShikiOptions, ShikiSetup, SlideInfo, SlideInfoExtended, SlidevConfig, SlidevMarkdown, defineAppSetup, defineMonacoSetup, defineShikiSetup };

7

package.json
{
"name": "@slidev/types",
"version": "0.0.0-alpha.55",
"version": "0.0.0-alpha.57",
"description": "Shared types declerations for Slidev",

@@ -24,3 +24,6 @@ "license": "MIT",

"@antfu/utils": "^0.1.4",
"markdown-it-shiki": "^0.2.3"
"monaco-editor": "^0.23.0",
"shiki": "^0.9.3",
"vue": "^3.0.11",
"vue-router": "^4.0.6"
},

@@ -27,0 +30,0 @@ "scripts": {

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