@parcel/codeframe 2.8.0 → 2.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/codeframe.js CHANGED
@@ -35928,12 +35928,12 @@ const $796233c1fee0ccb8$var$highlightSyntax = (txt, lang)=>{
35928
35928
  };
35929
35929
  function $796233c1fee0ccb8$export$2e2bcd8739ae039(code, highlights, inputOpts = {}) {
35930
35930
  if (highlights.length < 1) return "";
35931
- var _maxLines;
35931
+ var _inputOpts_maxLines;
35932
35932
  let opts = {
35933
35933
  useColor: !!inputOpts.useColor,
35934
35934
  syntaxHighlighting: !!inputOpts.syntaxHighlighting,
35935
35935
  language: inputOpts.language,
35936
- maxLines: (_maxLines = inputOpts.maxLines) !== null && _maxLines !== void 0 ? _maxLines : 12,
35936
+ maxLines: (_inputOpts_maxLines = inputOpts.maxLines) !== null && _inputOpts_maxLines !== void 0 ? _inputOpts_maxLines : 12,
35937
35937
  terminalWidth: inputOpts.terminalWidth || $796233c1fee0ccb8$var$DEFAULT_TERMINAL_WIDTH,
35938
35938
  padding: inputOpts.padding || {
35939
35939
  before: 1,