@oxog/react-check 1.3.1 → 1.3.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/dist/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
- import { F as FiberNode, R as RenderInfo, a as ReactDevToolsHook, S as SessionReport, b as ReportOptions, C as CLIMessage, B as BrowserMessage, c as RenderChainInfo, d as ScannerConfig, W as WindowWithReactDevTools } from './types-BMDemwIs.cjs';
2
- export { r as ComponentNode, h as ComponentStats, E as ErrorCode, u as FiberType, g as FixSuggestion, e as FixType, k as FrameworkInfo, m as FrameworkOptions, O as OverlayOptions, q as ReactCheckConfig, s as ReactCheckError, t as ReactCheckEvents, p as ReactCheckOptions, n as RuleLevel, o as RuleOptions, i as SessionInfo, j as SessionSummary, f as Severity, l as ThresholdOptions, T as TimelineEvent } from './types-BMDemwIs.cjs';
3
- import { S as Scanner } from './scanner-DZL2rIFv.cjs';
4
- export { b as ScannerEvents, a as StatsCollector, c as StatsEvents } from './scanner-DZL2rIFv.cjs';
1
+ import { F as FiberNode, R as RenderInfo, a as ReactDevToolsHook, S as SessionReport, b as ReportOptions, C as CLIMessage, B as BrowserMessage, c as RenderChainInfo, d as ScannerConfig, W as WindowWithReactDevTools } from './types-BhoB9oSH.cjs';
2
+ export { e as ComponentNode, f as ComponentStats, E as ErrorCode, g as FiberType, h as FixSuggestion, i as FixType, j as FrameworkInfo, k as FrameworkOptions, O as OverlayOptions, l as ReactCheckConfig, m as ReactCheckError, n as ReactCheckEvents, o as ReactCheckOptions, p as RuleLevel, q as RuleOptions, r as SessionInfo, s as SessionSummary, t as Severity, T as ThresholdOptions, u as TimelineEvent } from './types-BhoB9oSH.cjs';
3
+ import { S as Scanner } from './scanner-DdlnBlE-.cjs';
4
+ export { a as ScannerEvents, b as StatsCollector, c as StatsEvents } from './scanner-DdlnBlE-.cjs';
5
5
  export { ChainAnalyzer, ChainEvents } from './chain.cjs';
6
6
  export { FixEvents, FixSuggester } from './fix.cjs';
7
7
  export { detectFramework, detectFrameworkFromWindow, frameworkDetectors, getFrameworkTips } from './detect.cjs';
@@ -1620,7 +1620,7 @@ declare function installReactCheck(win: WindowWithReactDevTools): ReactCheckInje
1620
1620
  * Package version (kept in sync with package.json; checked by tests)
1621
1621
  * @packageDocumentation
1622
1622
  */
1623
- declare const VERSION = "1.3.1";
1623
+ declare const VERSION = "1.3.2";
1624
1624
 
1625
1625
  /**
1626
1626
  * One-call programmatic scan of a URL
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { F as FiberNode, R as RenderInfo, a as ReactDevToolsHook, S as SessionReport, b as ReportOptions, C as CLIMessage, B as BrowserMessage, c as RenderChainInfo, d as ScannerConfig, W as WindowWithReactDevTools } from './types-BMDemwIs.js';
2
- export { r as ComponentNode, h as ComponentStats, E as ErrorCode, u as FiberType, g as FixSuggestion, e as FixType, k as FrameworkInfo, m as FrameworkOptions, O as OverlayOptions, q as ReactCheckConfig, s as ReactCheckError, t as ReactCheckEvents, p as ReactCheckOptions, n as RuleLevel, o as RuleOptions, i as SessionInfo, j as SessionSummary, f as Severity, l as ThresholdOptions, T as TimelineEvent } from './types-BMDemwIs.js';
3
- import { S as Scanner } from './scanner-BJFA0354.js';
4
- export { b as ScannerEvents, a as StatsCollector, c as StatsEvents } from './scanner-BJFA0354.js';
1
+ import { F as FiberNode, R as RenderInfo, a as ReactDevToolsHook, S as SessionReport, b as ReportOptions, C as CLIMessage, B as BrowserMessage, c as RenderChainInfo, d as ScannerConfig, W as WindowWithReactDevTools } from './types-BhoB9oSH.js';
2
+ export { e as ComponentNode, f as ComponentStats, E as ErrorCode, g as FiberType, h as FixSuggestion, i as FixType, j as FrameworkInfo, k as FrameworkOptions, O as OverlayOptions, l as ReactCheckConfig, m as ReactCheckError, n as ReactCheckEvents, o as ReactCheckOptions, p as RuleLevel, q as RuleOptions, r as SessionInfo, s as SessionSummary, t as Severity, T as ThresholdOptions, u as TimelineEvent } from './types-BhoB9oSH.js';
3
+ import { S as Scanner } from './scanner-DKxW6s8c.js';
4
+ export { a as ScannerEvents, b as StatsCollector, c as StatsEvents } from './scanner-DKxW6s8c.js';
5
5
  export { ChainAnalyzer, ChainEvents } from './chain.js';
6
6
  export { FixEvents, FixSuggester } from './fix.js';
7
7
  export { detectFramework, detectFrameworkFromWindow, frameworkDetectors, getFrameworkTips } from './detect.js';
@@ -1620,7 +1620,7 @@ declare function installReactCheck(win: WindowWithReactDevTools): ReactCheckInje
1620
1620
  * Package version (kept in sync with package.json; checked by tests)
1621
1621
  * @packageDocumentation
1622
1622
  */
1623
- declare const VERSION = "1.3.1";
1623
+ declare const VERSION = "1.3.2";
1624
1624
 
1625
1625
  /**
1626
1626
  * One-call programmatic scan of a URL
package/dist/index.js CHANGED
@@ -2462,7 +2462,7 @@ var BrowserLauncher = class extends EventEmitter {
2462
2462
  });
2463
2463
  });
2464
2464
  this.page.on("pageerror", (error) => {
2465
- this.emit("error", error);
2465
+ this.emit("error", error instanceof Error ? error : new Error(String(error)));
2466
2466
  });
2467
2467
  this.page.on("framenavigated", (frame) => {
2468
2468
  if (frame === this.page?.mainFrame()) {
@@ -4796,7 +4796,7 @@ function installReactCheck(win) {
4796
4796
  }
4797
4797
 
4798
4798
  // src/version.ts
4799
- var VERSION = "1.3.1";
4799
+ var VERSION = "1.3.2";
4800
4800
 
4801
4801
  // src/quick-scan.ts
4802
4802
  async function quickScan(url, options = {}) {