@wix/zero-config-implementation 1.59.0 → 1.60.0

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/README.md CHANGED
@@ -72,7 +72,7 @@ Full API reference: [docs-audit/README.md](./docs-audit/README.md) (generate wit
72
72
  - `src/ts-compiler.ts` — TypeScript compilation
73
73
  - `src/manifest-pipeline.ts` — Per-component pipeline (load → render → CSS → conversion)
74
74
  - `src/component-loader.ts` — Resolve and load component package
75
- - `src/component-renderer/` — React createElement interception and `renderWithExtractors`
75
+ - `src/component-renderer.ts` — React createElement interception and `renderWithExtractors`
76
76
  - `src/information-extractors/` — TS (AST), CSS (css-tree), React (prop tracking, DOM coupling)
77
77
  - `src/converters/` — To EditorReactComponent and data items
78
78
  - `src/errors.ts` — BaseError, NotFoundError, ParseError, etc.
package/dist/index.d.ts CHANGED
@@ -1477,10 +1477,10 @@ ChildCustomClass extends CustomClass,
1477
1477
  * Attempts to load a module, first via ESM `import()`, then via CJS `require`.
1478
1478
  *
1479
1479
  * ESM `import()` is preferred because it participates in the ESM loader hook
1480
- * pipeline (registered via `module.register()` in the CLI). This is required
1481
- * for JSX interception to work — the loader hook redirects `react/jsx-runtime`
1482
- * to the interceptable version. CJS `require()` bypasses ESM hooks even when
1483
- * loading ESM modules (Node 22+), so it's only used as a fallback.
1480
+ * pipeline. The hook is registered here before the import, redirecting
1481
+ * `react/jsx-runtime` to the interceptable version. CJS `require()` bypasses
1482
+ * ESM hooks even when loading ESM modules (Node 22+), so it's only used as a
1483
+ * fallback.
1484
1484
  *
1485
1485
  * @param entryPath - Absolute path to the module entry point.
1486
1486
  * @returns A `ResultAsync` containing the module exports on success.