omnix-chat 1.2.4 → 1.2.5
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 +8 -0
- package/dist/react.legacy.es.js +2 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.2.5] - 2026-06-17
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- **ESM / Umi `nodeModulesTransform: 'none'`**: rewrite Rolldown `__require("react")`
|
|
15
|
+
in `react.legacy.es.js` to top-level ESM imports so browsers and zero-Babel
|
|
16
|
+
consumers no longer throw at runtime.
|
|
17
|
+
|
|
10
18
|
## [1.2.2] - 2026-06-03
|
|
11
19
|
|
|
12
20
|
### Fixed
|
package/dist/react.legacy.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var _a, _b;
|
|
2
|
-
import * as
|
|
2
|
+
import * as __omnixReact from "react";
|
|
3
3
|
import React, { Children, Component, PureComponent, Suspense, cloneElement, createContext, createElement, forwardRef, isValidElement, lazy, memo, useCallback, useContext, useDebugValue, useEffect, useId, useImperativeHandle, useInsertionEffect, useLayoutEffect, useMemo, useRef, useState, useSyncExternalStore, version } from "react";
|
|
4
4
|
import { createPortal, flushSync, unstable_batchedUpdates } from "react-dom";
|
|
5
5
|
import { createRoot } from "react-dom/client";
|
|
@@ -40,10 +40,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
40
40
|
enumerable: true
|
|
41
41
|
}) : target, mod));
|
|
42
42
|
var __toCommonJS = (mod) => __hasOwnProp.call(mod, "module.exports") ? mod["module.exports"] : __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
43
|
-
var __require = /* @__PURE__ */ ((x2) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x2, { get: (a2, b2) => (typeof require !== "undefined" ? require : a2)[b2] }) : x2)(function(x2) {
|
|
44
|
-
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
45
|
-
throw Error('Calling `require` for "' + x2 + "\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.");
|
|
46
|
-
});
|
|
47
43
|
function _typeof$3(o) {
|
|
48
44
|
"@babel/helpers - typeof";
|
|
49
45
|
return _typeof$3 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
@@ -57330,7 +57326,7 @@ var require_canUseDom = /* @__PURE__ */ __commonJSMin((exports) => {
|
|
|
57330
57326
|
var import_useLayoutEffect = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin((exports) => {
|
|
57331
57327
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
57332
57328
|
exports.useLayoutUpdateEffect = exports.default = void 0;
|
|
57333
|
-
var React$1 = _interopRequireWildcard(
|
|
57329
|
+
var React$1 = _interopRequireWildcard(__omnixReact);
|
|
57334
57330
|
var _canUseDom = _interopRequireDefault2(require_canUseDom());
|
|
57335
57331
|
function _interopRequireDefault2(obj) {
|
|
57336
57332
|
return obj && obj.__esModule ? obj : { default: obj };
|