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

bright

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bright - npm Package Compare versions

Comparing version 0.6.1 to 0.6.2

34

dist/index.js

@@ -176,11 +176,20 @@ "use strict";

const Wrapper = extension.MultilineAnnotation;
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Wrapper, { colors, query: line.annotationQuery, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
LinesComponent,
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
Wrapper,
{
lines: line.lines,
digits,
extensions,
colors
}
) }, i);
colors,
query: line.annotationQuery,
content: getLinesContent(line.lines),
children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
LinesComponent,
{
lines: line.lines,
digits,
extensions,
colors
}
)
},
i
);
} else {

@@ -280,2 +289,11 @@ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(

}
function getLinesContent(lines) {
return lines.map((line) => {
if ("lineNumber" in line) {
return getContent(line.tokens);
} else {
return getLinesContent(line.lines);
}
}).join("\n");
}
function Style({

@@ -282,0 +300,0 @@ themeName,

{
"name": "bright",
"version": "0.6.1",
"version": "0.6.2",
"main": "./dist/index.js",

@@ -5,0 +5,0 @@ "module": "./dist/index.mjs",

Sorry, the diff of this file is not supported yet

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