@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/CHANGELOG.md CHANGED
@@ -5,6 +5,19 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.3.2] - 2026-12-01
9
+
10
+ ### Fixed
11
+
12
+ - `BrowserLauncher` re-emitted whatever a page threw (`throw 'boom'`) as its `error`
13
+ event, although that event is typed as `Error`. Values that are not `Error`s are now
14
+ wrapped in one (`new Error(String(value))`).
15
+
16
+ ### Changed
17
+
18
+ - Development dependency: puppeteer 23 → 25 (types and the package smoke test). The
19
+ optional peer dependency range (`puppeteer >=21`) is unchanged.
20
+
8
21
  ## [1.3.1] - 2026-12-01
9
22
 
10
23
  ### Fixed
package/dist/chain.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { c as RenderChainInfo, R as RenderInfo } from './types-BMDemwIs.cjs';
1
+ import { c as RenderChainInfo, R as RenderInfo } from './types-BhoB9oSH.cjs';
2
2
  import { E as EventEmitter } from './event-emitter-BVYUPYLd.cjs';
3
3
 
4
4
  /**
package/dist/chain.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { c as RenderChainInfo, R as RenderInfo } from './types-BMDemwIs.js';
1
+ import { c as RenderChainInfo, R as RenderInfo } from './types-BhoB9oSH.js';
2
2
  import { E as EventEmitter } from './event-emitter-BVYUPYLd.js';
3
3
 
4
4
  /**
package/dist/cli.js CHANGED
@@ -8,7 +8,7 @@ import { createRequire } from 'module';
8
8
  import { homedir } from 'os';
9
9
  import { URL as URL$1, fileURLToPath } from 'url';
10
10
  import { request } from 'https';
11
- import { execSync, exec } from 'child_process';
11
+ import { exec, execSync } from 'child_process';
12
12
  import * as readline from 'readline';
13
13
 
14
14
  var __defProp = Object.defineProperty;
@@ -5944,7 +5944,7 @@ var BrowserLauncher = class extends EventEmitter {
5944
5944
  });
5945
5945
  });
5946
5946
  this.page.on("pageerror", (error) => {
5947
- this.emit("error", error);
5947
+ this.emit("error", error instanceof Error ? error : new Error(String(error)));
5948
5948
  });
5949
5949
  this.page.on("framenavigated", (frame) => {
5950
5950
  if (frame === this.page?.mainFrame()) {
@@ -7572,7 +7572,7 @@ var WebUIServer = class extends EventEmitter {
7572
7572
  };
7573
7573
 
7574
7574
  // src/version.ts
7575
- var VERSION = "1.3.1";
7575
+ var VERSION = "1.3.2";
7576
7576
 
7577
7577
  // src/cli/commands/scan.ts
7578
7578
  var logger5 = new Logger({ prefix: "scan", level: 1 /* INFO */ });