Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

msc-code-viewer

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

msc-code-viewer - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

mjs/wc-msc-code-viewer.js

@@ -284,3 +284,3 @@ import { _wcl } from './common-lib.js';

this._onClick = this._onClick.bind(this);
this._onTouch = this._onClick.bind(this);
this._onTouch = this._onTouch.bind(this);
}

@@ -287,0 +287,0 @@

{
"name": "msc-code-viewer",
"version": "1.0.2",
"version": "1.0.3",
"description": "As a web developer, show some demo code is a very common stuff. There are so many syntax highlighting libraries for the Web. highlight.js is one of the popular library. It is easy to use and there are so many themes for it. To make it more suitable for me, I wrap highlight.js and GitHub light / dark themes as a web component and named it <msc-code-viewer />. With <msc-code-viewer /> syntax highlighting is a piece of cake. It will switch light / dark mode as user preference. Of course「COPY」feature has already built-in.",

@@ -5,0 +5,0 @@ "main": "index.html",

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