@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/detect.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { k as FrameworkInfo } from './types-BMDemwIs.cjs';
1
+ import { j as FrameworkInfo } from './types-BhoB9oSH.cjs';
2
2
 
3
3
  /**
4
4
  * Framework detection module
package/dist/detect.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { k as FrameworkInfo } from './types-BMDemwIs.js';
1
+ import { j as FrameworkInfo } from './types-BhoB9oSH.js';
2
2
 
3
3
  /**
4
4
  * Framework detection module
package/dist/fix.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { g as FixSuggestion, h as ComponentStats, f as Severity, e as FixType } from './types-BMDemwIs.cjs';
1
+ import { h as FixSuggestion, f as ComponentStats, t as Severity, i as FixType } from './types-BhoB9oSH.cjs';
2
2
  import { E as EventEmitter } from './event-emitter-BVYUPYLd.cjs';
3
3
 
4
4
  /**
package/dist/fix.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { g as FixSuggestion, h as ComponentStats, f as Severity, e as FixType } from './types-BMDemwIs.js';
1
+ import { h as FixSuggestion, f as ComponentStats, t as Severity, i as FixType } from './types-BhoB9oSH.js';
2
2
  import { E as EventEmitter } from './event-emitter-BVYUPYLd.js';
3
3
 
4
4
  /**
package/dist/index.cjs CHANGED
@@ -2462,7 +2462,7 @@ var BrowserLauncher = class extends chunk7R4KKJTW_cjs.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 = {}) {