@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 +13 -0
- package/dist/chain.d.cts +1 -1
- package/dist/chain.d.ts +1 -1
- package/dist/cli.js +3 -3
- package/dist/cli.js.map +1 -1
- package/dist/detect.d.cts +1 -1
- package/dist/detect.d.ts +1 -1
- package/dist/fix.d.cts +1 -1
- package/dist/fix.d.ts +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/{scanner-BJFA0354.d.ts → scanner-DKxW6s8c.d.ts} +2 -2
- package/dist/{scanner-DZL2rIFv.d.cts → scanner-DdlnBlE-.d.cts} +2 -2
- package/dist/scanner.d.cts +2 -2
- package/dist/scanner.d.ts +2 -2
- package/dist/{types-BMDemwIs.d.cts → types-BhoB9oSH.d.cts} +1 -1
- package/dist/{types-BMDemwIs.d.ts → types-BhoB9oSH.d.ts} +1 -1
- package/package.json +7 -7
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-
|
|
2
|
-
export {
|
|
3
|
-
import { S as Scanner } from './scanner-
|
|
4
|
-
export {
|
|
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.
|
|
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-
|
|
2
|
-
export {
|
|
3
|
-
import { S as Scanner } from './scanner-
|
|
4
|
-
export {
|
|
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.
|
|
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.
|
|
4799
|
+
var VERSION = "1.3.2";
|
|
4800
4800
|
|
|
4801
4801
|
// src/quick-scan.ts
|
|
4802
4802
|
async function quickScan(url, options = {}) {
|