@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.
@@ -1,4 +1,4 @@
1
- import { h as ComponentStats, f as Severity, l as ThresholdOptions, R as RenderInfo, j as SessionSummary, c as RenderChainInfo, g as FixSuggestion, d as ScannerConfig, o as RuleOptions } from './types-BMDemwIs.js';
1
+ import { f as ComponentStats, t as Severity, T as ThresholdOptions, R as RenderInfo, s as SessionSummary, c as RenderChainInfo, h as FixSuggestion, d as ScannerConfig, q as RuleOptions } from './types-BhoB9oSH.js';
2
2
  import { E as EventEmitter } from './event-emitter-BVYUPYLd.js';
3
3
 
4
4
  /**
@@ -409,4 +409,4 @@ declare class Scanner extends EventEmitter<ScannerEvents> {
409
409
  analyzeAll(): FixSuggestion[];
410
410
  }
411
411
 
412
- export { Scanner as S, StatsCollector as a, type ScannerEvents as b, type StatsEvents as c };
412
+ export { Scanner as S, type ScannerEvents as a, StatsCollector as b, type StatsEvents as c };
@@ -1,4 +1,4 @@
1
- import { h as ComponentStats, f as Severity, l as ThresholdOptions, R as RenderInfo, j as SessionSummary, c as RenderChainInfo, g as FixSuggestion, d as ScannerConfig, o as RuleOptions } from './types-BMDemwIs.cjs';
1
+ import { f as ComponentStats, t as Severity, T as ThresholdOptions, R as RenderInfo, s as SessionSummary, c as RenderChainInfo, h as FixSuggestion, d as ScannerConfig, q as RuleOptions } from './types-BhoB9oSH.cjs';
2
2
  import { E as EventEmitter } from './event-emitter-BVYUPYLd.cjs';
3
3
 
4
4
  /**
@@ -409,4 +409,4 @@ declare class Scanner extends EventEmitter<ScannerEvents> {
409
409
  analyzeAll(): FixSuggestion[];
410
410
  }
411
411
 
412
- export { Scanner as S, StatsCollector as a, type ScannerEvents as b, type StatsEvents as c };
412
+ export { Scanner as S, type ScannerEvents as a, StatsCollector as b, type StatsEvents as c };
@@ -1,3 +1,3 @@
1
- import './types-BMDemwIs.cjs';
1
+ import './types-BhoB9oSH.cjs';
2
2
  import './event-emitter-BVYUPYLd.cjs';
3
- export { S as Scanner, b as ScannerEvents } from './scanner-DZL2rIFv.cjs';
3
+ export { S as Scanner, a as ScannerEvents } from './scanner-DdlnBlE-.cjs';
package/dist/scanner.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import './types-BMDemwIs.js';
1
+ import './types-BhoB9oSH.js';
2
2
  import './event-emitter-BVYUPYLd.js';
3
- export { S as Scanner, b as ScannerEvents } from './scanner-BJFA0354.js';
3
+ export { S as Scanner, a as ScannerEvents } from './scanner-DKxW6s8c.js';
@@ -501,4 +501,4 @@ interface WindowWithReactDevTools extends Window {
501
501
  __REACTCHECK_PORT__?: number;
502
502
  }
503
503
 
504
- export { type BrowserMessage as B, type CLIMessage as C, ErrorCode as E, type FiberNode as F, type OverlayOptions as O, type RenderInfo as R, type SessionReport as S, type TimelineEvent as T, type WindowWithReactDevTools as W, type ReactDevToolsHook as a, type ReportOptions as b, type RenderChainInfo as c, type ScannerConfig as d, type FixType as e, type Severity as f, type FixSuggestion as g, type ComponentStats as h, type SessionInfo as i, type SessionSummary as j, type FrameworkInfo as k, type ThresholdOptions as l, type FrameworkOptions as m, type RuleLevel as n, type RuleOptions as o, type ReactCheckOptions as p, type ReactCheckConfig as q, type ComponentNode as r, ReactCheckError as s, type ReactCheckEvents as t, type FiberType as u };
504
+ export { type BrowserMessage as B, type CLIMessage as C, ErrorCode as E, type FiberNode as F, type OverlayOptions as O, type RenderInfo as R, type SessionReport as S, type ThresholdOptions as T, type WindowWithReactDevTools as W, type ReactDevToolsHook as a, type ReportOptions as b, type RenderChainInfo as c, type ScannerConfig as d, type ComponentNode as e, type ComponentStats as f, type FiberType as g, type FixSuggestion as h, type FixType as i, type FrameworkInfo as j, type FrameworkOptions as k, type ReactCheckConfig as l, ReactCheckError as m, type ReactCheckEvents as n, type ReactCheckOptions as o, type RuleLevel as p, type RuleOptions as q, type SessionInfo as r, type SessionSummary as s, type Severity as t, type TimelineEvent as u };
@@ -501,4 +501,4 @@ interface WindowWithReactDevTools extends Window {
501
501
  __REACTCHECK_PORT__?: number;
502
502
  }
503
503
 
504
- export { type BrowserMessage as B, type CLIMessage as C, ErrorCode as E, type FiberNode as F, type OverlayOptions as O, type RenderInfo as R, type SessionReport as S, type TimelineEvent as T, type WindowWithReactDevTools as W, type ReactDevToolsHook as a, type ReportOptions as b, type RenderChainInfo as c, type ScannerConfig as d, type FixType as e, type Severity as f, type FixSuggestion as g, type ComponentStats as h, type SessionInfo as i, type SessionSummary as j, type FrameworkInfo as k, type ThresholdOptions as l, type FrameworkOptions as m, type RuleLevel as n, type RuleOptions as o, type ReactCheckOptions as p, type ReactCheckConfig as q, type ComponentNode as r, ReactCheckError as s, type ReactCheckEvents as t, type FiberType as u };
504
+ export { type BrowserMessage as B, type CLIMessage as C, ErrorCode as E, type FiberNode as F, type OverlayOptions as O, type RenderInfo as R, type SessionReport as S, type ThresholdOptions as T, type WindowWithReactDevTools as W, type ReactDevToolsHook as a, type ReportOptions as b, type RenderChainInfo as c, type ScannerConfig as d, type ComponentNode as e, type ComponentStats as f, type FiberType as g, type FixSuggestion as h, type FixType as i, type FrameworkInfo as j, type FrameworkOptions as k, type ReactCheckConfig as l, ReactCheckError as m, type ReactCheckEvents as n, type ReactCheckOptions as o, type RuleLevel as p, type RuleOptions as q, type SessionInfo as r, type SessionSummary as s, type Severity as t, type TimelineEvent as u };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxog/react-check",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "Scan, diagnose, and fix React performance issues. CLI tool and runtime analyzer with actionable fix suggestions.",
5
5
  "keywords": [
6
6
  "react",
@@ -103,8 +103,8 @@
103
103
  "format": "prettier --write \"src/**/*.ts\"",
104
104
  "format:check": "prettier --check \"src/**/*.ts\"",
105
105
  "typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.test.json",
106
- "check": "npm run lint && npm run typecheck && npm run test:coverage",
107
- "prepublishOnly": "npm run check && npm run build && npm run test:package",
106
+ "check": "npm run lint && npm run typecheck && npm run build && npm run test:coverage",
107
+ "prepublishOnly": "npm run check && npm run test:package",
108
108
  "clean": "node -e \"require('fs').rmSync('dist', { recursive: true, force: true })\"",
109
109
  "demo": "npm run demo:install && npm run demo:dev",
110
110
  "demo:install": "cd demo && npm install",
@@ -119,17 +119,17 @@
119
119
  "devDependencies": {
120
120
  "@eslint/js": "^9.39.5",
121
121
  "@types/node": "^20.0.0",
122
- "@vitest/coverage-v8": "^2.0.0",
122
+ "@vitest/coverage-v8": "^4.1.12",
123
123
  "eslint": "^9.0.0",
124
- "happy-dom": "^15.11.7",
124
+ "happy-dom": "^21.0.4",
125
125
  "prettier": "^3.0.0",
126
- "puppeteer": "^23.0.0",
126
+ "puppeteer": "^25.19.0",
127
127
  "react": "^18.3.1",
128
128
  "react-dom": "^18.3.1",
129
129
  "tsup": "^8.0.0",
130
130
  "typescript": "^5.0.0",
131
131
  "typescript-eslint": "^8.74.0",
132
- "vitest": "^2.0.0"
132
+ "vitest": "^4.1.12"
133
133
  },
134
134
  "peerDependencies": {
135
135
  "puppeteer": ">=21.0.0"