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

@stoplight/mosaic-code-viewer

Package Overview
Dependencies
Maintainers
26
Versions
193
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stoplight/mosaic-code-viewer - npm Package Compare versions

Comparing version 1.0.0-beta.43 to 1.0.0-beta.44

10

code-viewer.esm.js

@@ -411,13 +411,15 @@ import { __rest, __assign } from 'tslib';

}), {
className: "sl-table-row"
className: "sl-flex"
}), showLineNumbers ? React.createElement(Box, {
className: "sl-code-highlight__ln sl-table-cell",
className: "sl-code-highlight__ln",
userSelect: "none",
flex: "none",
opacity: 50,
style: {
width: gutterWidth,
fontSize: '0.9em'
fontSize: '0.9em',
lineHeight: '21px'
}
}, i + 1) : null, React.createElement("div", {
className: "sl-table-cell"
className: "sl-flex-grow sl-break-all"
}, line.map(function (token, key) {

@@ -424,0 +426,0 @@ return React.createElement("span", __assign({

@@ -415,13 +415,15 @@ (function (global, factory) {

}), {
className: "sl-table-row"
className: "sl-flex"
}), showLineNumbers ? React__default.createElement(mosaic.Box, {
className: "sl-code-highlight__ln sl-table-cell",
className: "sl-code-highlight__ln",
userSelect: "none",
flex: "none",
opacity: 50,
style: {
width: gutterWidth,
fontSize: '0.9em'
fontSize: '0.9em',
lineHeight: '21px'
}
}, i + 1) : null, React__default.createElement("div", {
className: "sl-table-cell"
className: "sl-flex-grow sl-break-all"
}, line.map(function (token, key) {

@@ -428,0 +430,0 @@ return React__default.createElement("span", tslib.__assign({

4

package.json
{
"name": "@stoplight/mosaic-code-viewer",
"version": "1.0.0-beta.43",
"version": "1.0.0-beta.44",
"sideEffects": true,

@@ -11,3 +11,3 @@ "license": "Apache-2.0",

"tslib": "^2.1.0",
"@stoplight/mosaic": "1.0.0-beta.43",
"@stoplight/mosaic": "1.0.0-beta.44",
"clsx": "^1.1.1",

@@ -14,0 +14,0 @@ "@react-aria/button": "~3.3.1",

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