@d-i-t-a/reader 2.3.9 → 2.3.10

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/dist/esm/index.js CHANGED
@@ -12262,7 +12262,7 @@ var require_parse = __commonJS({
12262
12262
  try {
12263
12263
  parser.parse();
12264
12264
  } catch (e) {
12265
- if (false) {
12265
+ if (true) {
12266
12266
  if (e.name === "CssSyntaxError" && opts && opts.from) {
12267
12267
  if (/\.scss$/i.test(opts.from)) {
12268
12268
  e.message += "\nYou tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser";
@@ -12456,7 +12456,7 @@ var require_lazy_result = __commonJS({
12456
12456
  return this.css;
12457
12457
  }
12458
12458
  then(onFulfilled, onRejected) {
12459
- if (false) {
12459
+ if (true) {
12460
12460
  if (!("from" in this.opts)) {
12461
12461
  warnOnce("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.");
12462
12462
  }
@@ -12603,7 +12603,7 @@ var require_lazy_result = __commonJS({
12603
12603
  error.plugin = plugin.postcssPlugin;
12604
12604
  error.setMessage();
12605
12605
  } else if (plugin.postcssVersion) {
12606
- if (false) {
12606
+ if (true) {
12607
12607
  let pluginName = plugin.postcssPlugin;
12608
12608
  let pluginVer = plugin.postcssVersion;
12609
12609
  let runtimeVer = this.result.processor.version;
@@ -12849,7 +12849,7 @@ var require_no_work_result = __commonJS({
12849
12849
  return this._css;
12850
12850
  }
12851
12851
  then(onFulfilled, onRejected) {
12852
- if (false) {
12852
+ if (true) {
12853
12853
  if (!("from" in this._opts)) {
12854
12854
  warnOnce("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.");
12855
12855
  }
@@ -12918,7 +12918,7 @@ var require_processor = __commonJS({
12918
12918
  } else if (typeof i === "function") {
12919
12919
  normalized.push(i);
12920
12920
  } else if (typeof i === "object" && (i.parse || i.stringify)) {
12921
- if (false) {
12921
+ if (true) {
12922
12922
  throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation.");
12923
12923
  }
12924
12924
  } else {
@@ -52528,7 +52528,9 @@ var TextHighlighter = class {
52528
52528
  let drawUnderline = false;
52529
52529
  let drawStrikeThrough = false;
52530
52530
  let drawBackground = false;
52531
- const doNotMergeHorizontallyAlignedRects = drawUnderline || drawStrikeThrough || drawBackground;
52531
+ let doNotMergeHorizontallyAlignedRects = drawUnderline || drawStrikeThrough || drawBackground;
52532
+ import_loglevel5.default.debug(doNotMergeHorizontallyAlignedRects);
52533
+ doNotMergeHorizontallyAlignedRects = true;
52532
52534
  const clientRects = getClientRectsNoOverlap(range, doNotMergeHorizontallyAlignedRects);
52533
52535
  const roundedCorner = 3;
52534
52536
  const underlineThickness = 2;
@@ -55228,7 +55230,7 @@ function delay(t, v) {
55228
55230
  setTimeout(resolve.bind(null, v), t);
55229
55231
  });
55230
55232
  }
55231
- var IS_DEV = false;
55233
+ var IS_DEV = true;
55232
55234
  import_loglevel13.default.setLevel(IS_DEV ? "trace" : "warn", true);
55233
55235
 
55234
55236
  // src/modules/protection/ContentProtectionModule.ts