hadars 0.4.3-rc.0 → 0.4.3-rc.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.
@@ -275,15 +275,17 @@ import * as ReactNS from "react";
275
275
  var _r19;
276
276
  var _r18;
277
277
  var _detected = false;
278
+ var _k19 = "__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE";
279
+ var _k18 = "__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED";
278
280
  function _detect() {
279
281
  if (_detected) return;
280
282
  _detected = true;
281
- const r19 = ReactNS["__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE"];
283
+ const r19 = ReactNS[_k19];
282
284
  if (r19) {
283
285
  _r19 = r19;
284
286
  return;
285
287
  }
286
- const raw = ReactNS["__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED"];
288
+ const raw = ReactNS[_k18];
287
289
  if (raw?.ReactCurrentDispatcher) _r18 = raw;
288
290
  }
289
291
  var slimDispatcher = {
@@ -1183,7 +1185,7 @@ var Component = class {
1183
1185
  var PureComponent = class extends Component {
1184
1186
  };
1185
1187
  var version = REACT_VERSION;
1186
- var __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED2 = {
1188
+ var __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = {
1187
1189
  ReactCurrentDispatcher: { current: null },
1188
1190
  ReactCurrentBatchConfig: { transition: null },
1189
1191
  ReactCurrentOwner: { current: null }
@@ -1233,7 +1235,7 @@ var React = {
1233
1235
  // Version
1234
1236
  version,
1235
1237
  // React 18 internals
1236
- __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED2
1238
+ __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED
1237
1239
  };
1238
1240
  var slim_react_default = React;
1239
1241
 
@@ -1272,6 +1274,6 @@ export {
1272
1274
  Component,
1273
1275
  PureComponent,
1274
1276
  version,
1275
- __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED2 as __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
1277
+ __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
1276
1278
  slim_react_default
1277
1279
  };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  renderPreflight,
3
3
  renderToString
4
- } from "./chunk-BNBZ3XYX.js";
4
+ } from "./chunk-FZOSW2PU.js";
5
5
  import {
6
6
  createElement
7
7
  } from "./chunk-OZUZS2PD.js";
package/dist/cli.js CHANGED
@@ -388,16 +388,18 @@ import * as ReactNS from "react";
388
388
  var _r19;
389
389
  var _r18;
390
390
  var _detected = false;
391
+ var _k19 = "__CLIENT_INTERNALS_DO_NOT_USE" + "_OR_WARN_USERS_THEY_CANNOT_UPGRADE";
392
+ var _k18 = "__SECRET_INTERNALS_DO_NOT_USE" + "_OR_YOU_WILL_BE_FIRED";
391
393
  function _detect() {
392
394
  if (_detected)
393
395
  return;
394
396
  _detected = true;
395
- const r19 = ReactNS.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
397
+ const r19 = ReactNS[_k19];
396
398
  if (r19) {
397
399
  _r19 = r19;
398
400
  return;
399
401
  }
400
- const raw = ReactNS.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
402
+ const raw = ReactNS[_k18];
401
403
  if (raw?.ReactCurrentDispatcher)
402
404
  _r18 = raw;
403
405
  }
@@ -408,15 +408,17 @@ var ReactNS = __toESM(require("react"), 1);
408
408
  var _r19;
409
409
  var _r18;
410
410
  var _detected = false;
411
+ var _k19 = "__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE";
412
+ var _k18 = "__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED";
411
413
  function _detect() {
412
414
  if (_detected) return;
413
415
  _detected = true;
414
- const r19 = ReactNS["__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE"];
416
+ const r19 = ReactNS[_k19];
415
417
  if (r19) {
416
418
  _r19 = r19;
417
419
  return;
418
420
  }
419
- const raw = ReactNS["__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED"];
421
+ const raw = ReactNS[_k18];
420
422
  if (raw?.ReactCurrentDispatcher) _r18 = raw;
421
423
  }
422
424
  var slimDispatcher = {
@@ -6,8 +6,8 @@ import {
6
6
  getReactResponse,
7
7
  makePrecontentHtmlGetter,
8
8
  parseRequest
9
- } from "./chunk-YCCTGINV.js";
10
- import "./chunk-BNBZ3XYX.js";
9
+ } from "./chunk-W5ZSLBP3.js";
10
+ import "./chunk-FZOSW2PU.js";
11
11
  import "./chunk-OZUZS2PD.js";
12
12
  import "./chunk-3RG5ZIWI.js";
13
13
 
package/dist/lambda.cjs CHANGED
@@ -448,15 +448,17 @@ var ReactNS = __toESM(require("react"), 1);
448
448
  var _r19;
449
449
  var _r18;
450
450
  var _detected = false;
451
+ var _k19 = "__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE";
452
+ var _k18 = "__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED";
451
453
  function _detect() {
452
454
  if (_detected) return;
453
455
  _detected = true;
454
- const r19 = ReactNS["__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE"];
456
+ const r19 = ReactNS[_k19];
455
457
  if (r19) {
456
458
  _r19 = r19;
457
459
  return;
458
460
  }
459
- const raw = ReactNS["__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED"];
461
+ const raw = ReactNS[_k18];
460
462
  if (raw?.ReactCurrentDispatcher) _r18 = raw;
461
463
  }
462
464
  var slimDispatcher = {
package/dist/lambda.js CHANGED
@@ -6,8 +6,8 @@ import {
6
6
  getReactResponse,
7
7
  makePrecontentHtmlGetter,
8
8
  parseRequest
9
- } from "./chunk-YCCTGINV.js";
10
- import "./chunk-BNBZ3XYX.js";
9
+ } from "./chunk-W5ZSLBP3.js";
10
+ import "./chunk-FZOSW2PU.js";
11
11
  import "./chunk-OZUZS2PD.js";
12
12
  import "./chunk-3RG5ZIWI.js";
13
13
 
@@ -38,7 +38,7 @@ __export(slim_react_exports, {
38
38
  SLIM_ELEMENT: () => SLIM_ELEMENT,
39
39
  SUSPENSE_TYPE: () => SUSPENSE_TYPE,
40
40
  Suspense: () => Suspense,
41
- __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: () => __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED2,
41
+ __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: () => __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
42
42
  cloneElement: () => cloneElement,
43
43
  createContext: () => createContext,
44
44
  createElement: () => createElement,
@@ -376,15 +376,17 @@ var ReactNS = __toESM(require("react"), 1);
376
376
  var _r19;
377
377
  var _r18;
378
378
  var _detected = false;
379
+ var _k19 = "__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE";
380
+ var _k18 = "__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED";
379
381
  function _detect() {
380
382
  if (_detected) return;
381
383
  _detected = true;
382
- const r19 = ReactNS["__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE"];
384
+ const r19 = ReactNS[_k19];
383
385
  if (r19) {
384
386
  _r19 = r19;
385
387
  return;
386
388
  }
387
- const raw = ReactNS["__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED"];
389
+ const raw = ReactNS[_k18];
388
390
  if (raw?.ReactCurrentDispatcher) _r18 = raw;
389
391
  }
390
392
  var slimDispatcher = {
@@ -1284,7 +1286,7 @@ var Component = class {
1284
1286
  var PureComponent = class extends Component {
1285
1287
  };
1286
1288
  var version = REACT_VERSION;
1287
- var __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED2 = {
1289
+ var __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = {
1288
1290
  ReactCurrentDispatcher: { current: null },
1289
1291
  ReactCurrentBatchConfig: { transition: null },
1290
1292
  ReactCurrentOwner: { current: null }
@@ -1334,7 +1336,7 @@ var React = {
1334
1336
  // Version
1335
1337
  version,
1336
1338
  // React 18 internals
1337
- __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED2
1339
+ __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED
1338
1340
  };
1339
1341
  var slim_react_default = React;
1340
1342
  // Annotate the CommonJS export names for ESM import in node:
@@ -35,7 +35,7 @@ import {
35
35
  useSyncExternalStore,
36
36
  useTransition,
37
37
  version
38
- } from "../chunk-BNBZ3XYX.js";
38
+ } from "../chunk-FZOSW2PU.js";
39
39
  import {
40
40
  FRAGMENT_TYPE,
41
41
  Fragment,
@@ -251,16 +251,18 @@ import * as ReactNS from "react";
251
251
  var _r19;
252
252
  var _r18;
253
253
  var _detected = false;
254
+ var _k19 = "__CLIENT_INTERNALS_DO_NOT_USE" + "_OR_WARN_USERS_THEY_CANNOT_UPGRADE";
255
+ var _k18 = "__SECRET_INTERNALS_DO_NOT_USE" + "_OR_YOU_WILL_BE_FIRED";
254
256
  function _detect() {
255
257
  if (_detected)
256
258
  return;
257
259
  _detected = true;
258
- const r19 = ReactNS.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
260
+ const r19 = ReactNS[_k19];
259
261
  if (r19) {
260
262
  _r19 = r19;
261
263
  return;
262
264
  }
263
- const raw = ReactNS.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
265
+ const raw = ReactNS[_k18];
264
266
  if (raw?.ReactCurrentDispatcher)
265
267
  _r18 = raw;
266
268
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hadars",
3
- "version": "0.4.3-rc.0",
3
+ "version": "0.4.3-rc.2",
4
4
  "description": "Minimal SSR framework for React — rspack, HMR, TypeScript, Bun/Node/Deno",
5
5
  "module": "./dist/index.js",
6
6
  "type": "module",