@jsenv/cli 0.3.59 → 0.3.62
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/package.json +1 -1
- package/template-node-package/package.json +6 -6
- package/template-web/package.json +10 -10
- package/template-web-components/package.json +10 -10
- package/template-web-preact/.jsenv/entry_index/craft/@fs/Users/dmail/Documents/dev/jsenv/core/node_modules/preact/dist/preact.module.js +1 -1
- package/template-web-preact/.jsenv/entry_index/shape/@fs/Users/dmail/Documents/dev/jsenv/core/packages/related/cli/template-web-preact/dist/jsenv_template_web_preact_node_modules.js +1 -1
- package/template-web-preact/.jsenv/entry_index/shape/index.html +1 -1
- package/template-web-preact/dist/index.html +1 -1
- package/template-web-preact/dist/jsenv_template_web_preact_node_modules.js +1 -1
- package/template-web-preact/package.json +12 -12
- package/template-web-react/.jsenv/entry_index/craft/@fs/Users/dmail/Documents/dev/jsenv/core/packages/node_modules/react/react7cjs_as_js_module=.jsx +91 -92
- package/template-web-react/.jsenv/entry_index/craft/@fs/Users/dmail/Documents/dev/jsenv/core/packages/node_modules/react-dom/react-dom/client7cjs_as_js_module=.jsx +4163 -3507
- package/template-web-react/.jsenv/entry_index/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/jsenv/core/packages/node_modules/react/index.production.js +91 -92
- package/template-web-react/.jsenv/entry_index/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/jsenv/core/packages/node_modules/react/index.production.js__compile_info__.json +4 -4
- package/template-web-react/.jsenv/entry_index/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/jsenv/core/packages/node_modules/react/index.production.map +1 -1
- package/template-web-react/.jsenv/entry_index/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/jsenv/core/packages/node_modules/react/jsx-runtime.production.js__compile_info__.json +2 -2
- package/template-web-react/.jsenv/entry_index/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/jsenv/core/packages/node_modules/react-dom/client.production.js +4163 -3507
- package/template-web-react/.jsenv/entry_index/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/jsenv/core/packages/node_modules/react-dom/client.production.js__compile_info__.json +5 -5
- package/template-web-react/.jsenv/entry_index/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/jsenv/core/packages/node_modules/react-dom/client.production.map +1 -1
- package/template-web-react/.jsenv/entry_index/shape/@fs/Users/dmail/Documents/dev/jsenv/core/packages/related/cli/template-web-react/dist/jsenv_template_web_react_node_modules.js +1 -1
- package/template-web-react/.jsenv/entry_index/shape/index.html +1 -1
- package/template-web-react/dist/index.html +1 -1
- package/template-web-react/dist/jsenv_template_web_react_node_modules.js +1 -1
- package/template-web-react/package.json +13 -13
|
@@ -41,6 +41,7 @@ function requireReact_production () {
|
|
|
41
41
|
REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
|
|
42
42
|
REACT_MEMO_TYPE = Symbol.for("react.memo"),
|
|
43
43
|
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
|
|
44
|
+
REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
|
|
44
45
|
MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
|
|
45
46
|
function getIteratorFn(maybeIterable) {
|
|
46
47
|
if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
|
|
@@ -92,28 +93,22 @@ function requireReact_production () {
|
|
|
92
93
|
pureComponentPrototype.constructor = PureComponent;
|
|
93
94
|
assign(pureComponentPrototype, Component.prototype);
|
|
94
95
|
pureComponentPrototype.isPureReactComponent = true;
|
|
95
|
-
var isArrayImpl = Array.isArray
|
|
96
|
-
|
|
96
|
+
var isArrayImpl = Array.isArray;
|
|
97
|
+
function noop() {}
|
|
98
|
+
var ReactSharedInternals = { H: null, A: null, T: null, S: null },
|
|
97
99
|
hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
98
|
-
function ReactElement(type, key,
|
|
99
|
-
|
|
100
|
+
function ReactElement(type, key, props) {
|
|
101
|
+
var refProp = props.ref;
|
|
100
102
|
return {
|
|
101
103
|
$$typeof: REACT_ELEMENT_TYPE,
|
|
102
104
|
type: type,
|
|
103
105
|
key: key,
|
|
104
|
-
ref: void 0 !==
|
|
106
|
+
ref: void 0 !== refProp ? refProp : null,
|
|
105
107
|
props: props
|
|
106
108
|
};
|
|
107
109
|
}
|
|
108
110
|
function cloneAndReplaceKey(oldElement, newKey) {
|
|
109
|
-
return ReactElement(
|
|
110
|
-
oldElement.type,
|
|
111
|
-
newKey,
|
|
112
|
-
void 0,
|
|
113
|
-
void 0,
|
|
114
|
-
void 0,
|
|
115
|
-
oldElement.props
|
|
116
|
-
);
|
|
111
|
+
return ReactElement(oldElement.type, newKey, oldElement.props);
|
|
117
112
|
}
|
|
118
113
|
function isValidElement(object) {
|
|
119
114
|
return (
|
|
@@ -137,7 +132,6 @@ function requireReact_production () {
|
|
|
137
132
|
? escape("" + element.key)
|
|
138
133
|
: index.toString(36);
|
|
139
134
|
}
|
|
140
|
-
function noop$1() {}
|
|
141
135
|
function resolveThenable(thenable) {
|
|
142
136
|
switch (thenable.status) {
|
|
143
137
|
case "fulfilled":
|
|
@@ -147,7 +141,7 @@ function requireReact_production () {
|
|
|
147
141
|
default:
|
|
148
142
|
switch (
|
|
149
143
|
("string" === typeof thenable.status
|
|
150
|
-
? thenable.then(noop
|
|
144
|
+
? thenable.then(noop, noop)
|
|
151
145
|
: ((thenable.status = "pending"),
|
|
152
146
|
thenable.then(
|
|
153
147
|
function (fulfilledValue) {
|
|
@@ -308,67 +302,68 @@ function requireReact_production () {
|
|
|
308
302
|
throw payload._result;
|
|
309
303
|
}
|
|
310
304
|
var reportGlobalError =
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
forEachContext
|
|
348
|
-
);
|
|
349
|
-
},
|
|
350
|
-
count: function (children) {
|
|
351
|
-
var n = 0;
|
|
352
|
-
mapChildren(children, function () {
|
|
353
|
-
n++;
|
|
354
|
-
});
|
|
355
|
-
return n;
|
|
356
|
-
},
|
|
357
|
-
toArray: function (children) {
|
|
358
|
-
return (
|
|
359
|
-
mapChildren(children, function (child) {
|
|
360
|
-
return child;
|
|
361
|
-
}) || []
|
|
362
|
-
);
|
|
363
|
-
},
|
|
364
|
-
only: function (children) {
|
|
365
|
-
if (!isValidElement(children))
|
|
366
|
-
throw Error(
|
|
367
|
-
"React.Children.only expected to receive a single React element child."
|
|
305
|
+
"function" === typeof reportError
|
|
306
|
+
? reportError
|
|
307
|
+
: function (error) {
|
|
308
|
+
if (
|
|
309
|
+
"object" === typeof window &&
|
|
310
|
+
"function" === typeof window.ErrorEvent
|
|
311
|
+
) {
|
|
312
|
+
var event = new window.ErrorEvent("error", {
|
|
313
|
+
bubbles: true,
|
|
314
|
+
cancelable: true,
|
|
315
|
+
message:
|
|
316
|
+
"object" === typeof error &&
|
|
317
|
+
null !== error &&
|
|
318
|
+
"string" === typeof error.message
|
|
319
|
+
? String(error.message)
|
|
320
|
+
: String(error),
|
|
321
|
+
error: error
|
|
322
|
+
});
|
|
323
|
+
if (!window.dispatchEvent(event)) return;
|
|
324
|
+
} else if (
|
|
325
|
+
"object" === typeof browser$1 &&
|
|
326
|
+
"function" === typeof browser$1.emit
|
|
327
|
+
) {
|
|
328
|
+
return;
|
|
329
|
+
}
|
|
330
|
+
console.error(error);
|
|
331
|
+
},
|
|
332
|
+
Children = {
|
|
333
|
+
map: mapChildren,
|
|
334
|
+
forEach: function (children, forEachFunc, forEachContext) {
|
|
335
|
+
mapChildren(
|
|
336
|
+
children,
|
|
337
|
+
function () {
|
|
338
|
+
forEachFunc.apply(this, arguments);
|
|
339
|
+
},
|
|
340
|
+
forEachContext
|
|
368
341
|
);
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
342
|
+
},
|
|
343
|
+
count: function (children) {
|
|
344
|
+
var n = 0;
|
|
345
|
+
mapChildren(children, function () {
|
|
346
|
+
n++;
|
|
347
|
+
});
|
|
348
|
+
return n;
|
|
349
|
+
},
|
|
350
|
+
toArray: function (children) {
|
|
351
|
+
return (
|
|
352
|
+
mapChildren(children, function (child) {
|
|
353
|
+
return child;
|
|
354
|
+
}) || []
|
|
355
|
+
);
|
|
356
|
+
},
|
|
357
|
+
only: function (children) {
|
|
358
|
+
if (!isValidElement(children))
|
|
359
|
+
throw Error(
|
|
360
|
+
"React.Children.only expected to receive a single React element child."
|
|
361
|
+
);
|
|
362
|
+
return children;
|
|
363
|
+
}
|
|
364
|
+
};
|
|
365
|
+
react_production.Activity = REACT_ACTIVITY_TYPE;
|
|
366
|
+
react_production.Children = Children;
|
|
372
367
|
react_production.Component = Component;
|
|
373
368
|
react_production.Fragment = REACT_FRAGMENT_TYPE;
|
|
374
369
|
react_production.Profiler = REACT_PROFILER_TYPE;
|
|
@@ -388,18 +383,18 @@ function requireReact_production () {
|
|
|
388
383
|
return fn.apply(null, arguments);
|
|
389
384
|
};
|
|
390
385
|
};
|
|
386
|
+
react_production.cacheSignal = function () {
|
|
387
|
+
return null;
|
|
388
|
+
};
|
|
391
389
|
react_production.cloneElement = function (element, config, children) {
|
|
392
390
|
if (null === element || void 0 === element)
|
|
393
391
|
throw Error(
|
|
394
392
|
"The argument must be a React element, but you passed " + element + "."
|
|
395
393
|
);
|
|
396
394
|
var props = assign({}, element.props),
|
|
397
|
-
key = element.key
|
|
398
|
-
owner = void 0;
|
|
395
|
+
key = element.key;
|
|
399
396
|
if (null != config)
|
|
400
|
-
for (propName in (void 0 !== config.
|
|
401
|
-
void 0 !== config.key && (key = "" + config.key),
|
|
402
|
-
config))
|
|
397
|
+
for (propName in (void 0 !== config.key && (key = "" + config.key), config))
|
|
403
398
|
!hasOwnProperty.call(config, propName) ||
|
|
404
399
|
"key" === propName ||
|
|
405
400
|
"__self" === propName ||
|
|
@@ -413,7 +408,7 @@ function requireReact_production () {
|
|
|
413
408
|
childArray[i] = arguments[i + 2];
|
|
414
409
|
props.children = childArray;
|
|
415
410
|
}
|
|
416
|
-
return ReactElement(element.type, key,
|
|
411
|
+
return ReactElement(element.type, key, props);
|
|
417
412
|
};
|
|
418
413
|
react_production.createContext = function (defaultValue) {
|
|
419
414
|
defaultValue = {
|
|
@@ -453,7 +448,7 @@ function requireReact_production () {
|
|
|
453
448
|
for (propName in ((childrenLength = type.defaultProps), childrenLength))
|
|
454
449
|
void 0 === props[propName] &&
|
|
455
450
|
(props[propName] = childrenLength[propName]);
|
|
456
|
-
return ReactElement(type, key,
|
|
451
|
+
return ReactElement(type, key, props);
|
|
457
452
|
};
|
|
458
453
|
react_production.createRef = function () {
|
|
459
454
|
return { current: null };
|
|
@@ -492,7 +487,10 @@ function requireReact_production () {
|
|
|
492
487
|
} catch (error) {
|
|
493
488
|
reportGlobalError(error);
|
|
494
489
|
} finally {
|
|
495
|
-
|
|
490
|
+
null !== prevTransition &&
|
|
491
|
+
null !== currentTransition.types &&
|
|
492
|
+
(prevTransition.types = currentTransition.types),
|
|
493
|
+
(ReactSharedInternals.T = prevTransition);
|
|
496
494
|
}
|
|
497
495
|
};
|
|
498
496
|
react_production.unstable_useCacheRefresh = function () {
|
|
@@ -514,13 +512,11 @@ function requireReact_production () {
|
|
|
514
512
|
react_production.useDeferredValue = function (value, initialValue) {
|
|
515
513
|
return ReactSharedInternals.H.useDeferredValue(value, initialValue);
|
|
516
514
|
};
|
|
517
|
-
react_production.useEffect = function (create,
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
);
|
|
523
|
-
return dispatcher.useEffect(create, createDeps);
|
|
515
|
+
react_production.useEffect = function (create, deps) {
|
|
516
|
+
return ReactSharedInternals.H.useEffect(create, deps);
|
|
517
|
+
};
|
|
518
|
+
react_production.useEffectEvent = function (callback) {
|
|
519
|
+
return ReactSharedInternals.H.useEffectEvent(callback);
|
|
524
520
|
};
|
|
525
521
|
react_production.useId = function () {
|
|
526
522
|
return ReactSharedInternals.H.useId();
|
|
@@ -563,7 +559,7 @@ function requireReact_production () {
|
|
|
563
559
|
react_production.useTransition = function () {
|
|
564
560
|
return ReactSharedInternals.H.useTransition();
|
|
565
561
|
};
|
|
566
|
-
react_production.version = "19.
|
|
562
|
+
react_production.version = "19.2.0";
|
|
567
563
|
return react_production;
|
|
568
564
|
}
|
|
569
565
|
|
|
@@ -582,6 +578,7 @@ function requireReact () {
|
|
|
582
578
|
var reactExports = requireReact();
|
|
583
579
|
var __jsenv_default_import__ = /*@__PURE__*/getDefaultExportFromCjs(reactExports);
|
|
584
580
|
|
|
581
|
+
var Activity = reactExports.Activity;
|
|
585
582
|
var Children = reactExports.Children;
|
|
586
583
|
var Component = reactExports.Component;
|
|
587
584
|
var Fragment = reactExports.Fragment;
|
|
@@ -593,6 +590,7 @@ var __CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = reactExpor
|
|
|
593
590
|
var __COMPILER_RUNTIME = reactExports.__COMPILER_RUNTIME;
|
|
594
591
|
var act = reactExports.act;
|
|
595
592
|
var cache = reactExports.cache;
|
|
593
|
+
var cacheSignal = reactExports.cacheSignal;
|
|
596
594
|
var captureOwnerStack = reactExports.captureOwnerStack;
|
|
597
595
|
var cloneElement = reactExports.cloneElement;
|
|
598
596
|
var createContext = reactExports.createContext;
|
|
@@ -611,6 +609,7 @@ var useContext = reactExports.useContext;
|
|
|
611
609
|
var useDebugValue = reactExports.useDebugValue;
|
|
612
610
|
var useDeferredValue = reactExports.useDeferredValue;
|
|
613
611
|
var useEffect = reactExports.useEffect;
|
|
612
|
+
var useEffectEvent = reactExports.useEffectEvent;
|
|
614
613
|
var useId = reactExports.useId;
|
|
615
614
|
var useImperativeHandle = reactExports.useImperativeHandle;
|
|
616
615
|
var useInsertionEffect = reactExports.useInsertionEffect;
|
|
@@ -623,5 +622,5 @@ var useState = reactExports.useState;
|
|
|
623
622
|
var useSyncExternalStore = reactExports.useSyncExternalStore;
|
|
624
623
|
var useTransition = reactExports.useTransition;
|
|
625
624
|
var version = reactExports.version;
|
|
626
|
-
export { Children, Component, Fragment, Profiler, PureComponent, StrictMode, Suspense, __CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, __COMPILER_RUNTIME, act, cache, captureOwnerStack, cloneElement, createContext, createElement, createRef, __jsenv_default_import__ as default, forwardRef, isValidElement, lazy, memo, startTransition, unstable_useCacheRefresh, use, useActionState, useCallback, useContext, useDebugValue, useDeferredValue, useEffect, useId, useImperativeHandle, useInsertionEffect, useLayoutEffect, useMemo, useOptimistic, useReducer, useRef, useState, useSyncExternalStore, useTransition, version };
|
|
625
|
+
export { Activity, Children, Component, Fragment, Profiler, PureComponent, StrictMode, Suspense, __CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, __COMPILER_RUNTIME, act, cache, cacheSignal, captureOwnerStack, cloneElement, createContext, createElement, createRef, __jsenv_default_import__ as default, forwardRef, isValidElement, lazy, memo, startTransition, unstable_useCacheRefresh, use, useActionState, useCallback, useContext, useDebugValue, useDeferredValue, useEffect, useEffectEvent, useId, useImperativeHandle, useInsertionEffect, useLayoutEffect, useMemo, useOptimistic, useReducer, useRef, useState, useSyncExternalStore, useTransition, version };
|
|
627
626
|
|