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

@code-hike/highlighter

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@code-hike/highlighter - npm Package Compare versions

Comparing version 0.3.0--canary.77.8e9455c.0 to 0.3.0--canary.77.979e373.0

10

dist/index.cjs.js

@@ -131,7 +131,7 @@ 'use strict';

var FONT_STYLE_TO_CSS = (_a = {},
_a[-1 /* NotSet */] = {},
_a[0 /* None */] = {},
_a[1 /* Italic */] = { fontStyle: "italic" },
_a[2 /* Bold */] = { fontWeight: "bold" },
_a[4 /* Underline */] = { textDecoration: "underline" },
_a[shiki.FontStyle.NotSet] = {},
_a[shiki.FontStyle.None] = {},
_a[shiki.FontStyle.Italic] = { fontStyle: "italic" },
_a[shiki.FontStyle.Bold] = { fontWeight: "bold" },
_a[shiki.FontStyle.Underline] = { textDecoration: "underline" },
_a);

@@ -138,0 +138,0 @@ function getStyle(token) {

@@ -1,2 +0,2 @@

import { setCDN, getHighlighter } from 'shiki';
import { FontStyle, setCDN, getHighlighter } from 'shiki';

@@ -127,7 +127,7 @@ /*! *****************************************************************************

var FONT_STYLE_TO_CSS = (_a = {},
_a[-1 /* NotSet */] = {},
_a[0 /* None */] = {},
_a[1 /* Italic */] = { fontStyle: "italic" },
_a[2 /* Bold */] = { fontWeight: "bold" },
_a[4 /* Underline */] = { textDecoration: "underline" },
_a[FontStyle.NotSet] = {},
_a[FontStyle.None] = {},
_a[FontStyle.Italic] = { fontStyle: "italic" },
_a[FontStyle.Bold] = { fontWeight: "bold" },
_a[FontStyle.Underline] = { textDecoration: "underline" },
_a);

@@ -134,0 +134,0 @@ function getStyle(token) {

{
"name": "@code-hike/highlighter",
"version": "0.3.0--canary.77.8e9455c.0",
"version": "0.3.0--canary.77.979e373.0",
"main": "dist/index.cjs.js",

@@ -15,8 +15,8 @@ "typings": "dist/index.d.ts",

"devDependencies": {
"@code-hike/script": "0.3.0--canary.77.8e9455c.0",
"@code-hike/script": "0.3.0--canary.77.979e373.0",
"@types/react": "^16.9.38"
},
"dependencies": {
"@code-hike/utils": "0.3.0--canary.77.8e9455c.0",
"shiki": "^0.9.5"
"@code-hike/utils": "0.3.0--canary.77.979e373.0",
"shiki": "^0.9.11"
},

@@ -34,3 +34,3 @@ "homepage": "https://codehike.org",

},
"gitHead": "8e9455c6c52537c6f0fe4beebc78853bed601fc9"
"gitHead": "979e3736f9c1202bac4f14cf192b3227271ec84f"
}
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