Socket
Socket
Sign inDemoInstall

shiki

Package Overview
Dependencies
Maintainers
2
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shiki - npm Package Compare versions

Comparing version 0.9.0 to 0.9.1

2

dist/index.d.ts

@@ -174,2 +174,2 @@ import { IRawThemeSetting, IRawGrammar, IRawTheme } from 'vscode-textmate';

export { languages as BUNDLED_LANGUAGES, themes as BUNDLED_THEMES, Highlighter, HighlighterOptions, ILanguageRegistration, IShikiTheme, IThemeRegistration, IThemedToken, Lang, Theme, getHighlighter, fetchTheme as loadTheme, renderToHtml, setCDN, setOnigasmWASM };
export { languages as BUNDLED_LANGUAGES, themes as BUNDLED_THEMES, Highlighter, HighlighterOptions, HtmlRendererOptions, ILanguageRegistration, IShikiTheme, IThemeRegistration, IThemedToken, Lang, Theme, getHighlighter, fetchTheme as loadTheme, renderToHtml, setCDN, setOnigasmWASM };

@@ -697,3 +697,3 @@ 'use strict';

function getThemeDefaultColors(theme) {
var _a, _b, _c, _d;
var _a, _b, _c, _d, _e, _f;
let fg, bg;

@@ -722,6 +722,6 @@ /**

*/
if (!fg && ((_c = theme) === null || _c === void 0 ? void 0 : _c.colors['editor.foreground'])) {
if (!fg && ((_d = (_c = theme) === null || _c === void 0 ? void 0 : _c.colors) === null || _d === void 0 ? void 0 : _d['editor.foreground'])) {
fg = theme.colors['editor.foreground'];
}
if (!bg && ((_d = theme) === null || _d === void 0 ? void 0 : _d.colors['editor.background'])) {
if (!bg && ((_f = (_e = theme) === null || _e === void 0 ? void 0 : _e.colors) === null || _f === void 0 ? void 0 : _f['editor.background'])) {
bg = theme.colors['editor.background'];

@@ -728,0 +728,0 @@ }

{
"name": "shiki",
"version": "0.9.0",
"version": "0.9.1",
"description": "shiki",

@@ -36,3 +36,3 @@ "author": "Pine Wu <octref@gmail.com>",

},
"gitHead": "991d85fd5441a5391b385e1bc51f6e161078db6c"
"gitHead": "c1738801805e9d8a5cc4b18f77eb3d40bcdffbb7"
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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