@jsenv/cli 0.2.20 → 0.2.22

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.
Files changed (53) hide show
  1. package/package.json +1 -1
  2. package/template-node-package/package.json +4 -4
  3. package/template-web/package.json +7 -7
  4. package/template-web-components/package.json +7 -7
  5. package/template-web-preact/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/node_modules/preact/dist/preact.module.js +159 -155
  6. package/template-web-preact/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js +5 -6
  7. package/template-web-preact/.jsenv/shape/index.html +2 -2
  8. package/template-web-preact/.jsenv/shape/main.jsx +1 -1
  9. package/template-web-preact/.jsenv/shape/main.nomodule.jsx +1 -1
  10. package/template-web-preact/.jsenv/shape/vendors.js +1 -1
  11. package/template-web-preact/.jsenv/shape/vendors.nomodule.js +1 -1
  12. package/template-web-preact/dist/index.html +2 -2
  13. package/template-web-preact/dist/js/main.nomodule.js +1 -1
  14. package/template-web-preact/dist/js/vendors.nomodule.js +1 -1
  15. package/template-web-preact/package.json +10 -10
  16. package/template-web-react/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/{node_modules → packages/related/cli/node_modules}/react/index.js +1 -1
  17. package/template-web-react/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/{node_modules → packages/related/cli/node_modules}/react/jsx-runtime.js +1 -1
  18. package/template-web-react/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/packages/related/cli/node_modules/react/react/jsx-runtime.jsx +61 -0
  19. package/template-web-react/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/packages/related/cli/node_modules/react/react.jsx +635 -0
  20. package/template-web-react/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/packages/related/cli/node_modules/react-dom/client.js +34 -0
  21. package/template-web-react/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/packages/related/cli/node_modules/react-dom/react-dom/client.jsx +9847 -0
  22. package/template-web-react/.jsenv/craft/app/app.jsx +2 -2
  23. package/template-web-react/.jsenv/craft/app/counter.jsx +2 -2
  24. package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/packages/related/cli/node_modules/react/index.production.js +824 -0
  25. package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/packages/related/cli/node_modules/react/index.production.js__compile_info__.json +26 -0
  26. package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/packages/related/cli/node_modules/react/index.production.map +1 -0
  27. package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/packages/related/cli/node_modules/react/jsx-runtime.production.js +69 -0
  28. package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/packages/related/cli/node_modules/react/jsx-runtime.production.js__compile_info__.json +18 -0
  29. package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/packages/related/cli/node_modules/react/jsx-runtime.production.map +1 -0
  30. package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/packages/related/cli/node_modules/react-dom/client.production.js +16066 -0
  31. package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/packages/related/cli/node_modules/react-dom/client.production.js__compile_info__.json +42 -0
  32. package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/packages/related/cli/node_modules/react-dom/client.production.map +1 -0
  33. package/template-web-react/.jsenv/craft/cjs_to_esm/__compile_context__.json +1 -1
  34. package/template-web-react/.jsenv/craft/main.jsx +3 -3
  35. package/template-web-react/.jsenv/shape/index.html +1 -1
  36. package/template-web-react/.jsenv/shape/vendors.js +1 -10
  37. package/template-web-react/.jsenv/shape/vendors.nomodule.js +1 -10
  38. package/template-web-react/dist/index.html +1 -1
  39. package/template-web-react/dist/js/vendors.nomodule.js +1 -10
  40. package/template-web-react/package.json +11 -11
  41. package/template-web-react/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/node_modules/react/react/jsx-runtime.jsx +0 -443
  42. package/template-web-react/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/node_modules/react/react.jsx +0 -413
  43. package/template-web-react/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/node_modules/react-dom/client.js +0 -25
  44. package/template-web-react/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/node_modules/react-dom/react-dom/client.jsx +0 -7462
  45. package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react/index.production.js +0 -96
  46. package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react/index.production.js__compile_info__.json +0 -18
  47. package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react/index.production.map +0 -1
  48. package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react/jsx-runtime.production.js +0 -99
  49. package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react/jsx-runtime.production.js__compile_info__.json +0 -26
  50. package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react/jsx-runtime.production.map +0 -1
  51. package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react-dom/client.production.js +0 -439
  52. package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react-dom/client.production.js__compile_info__.json +0 -30
  53. package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react-dom/client.production.map +0 -1
@@ -1,413 +0,0 @@
1
- function getDefaultExportFromCjs(x) {
2
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
3
- }
4
- var react = {
5
- exports: {}
6
- };
7
- var react_production_min = {};
8
-
9
- /**
10
- * @license React
11
- * react.production.min.js
12
- *
13
- * Copyright (c) Facebook, Inc. and its affiliates.
14
- *
15
- * This source code is licensed under the MIT license found in the
16
- * LICENSE file in the root directory of this source tree.
17
- */
18
-
19
- var hasRequiredReact_production_min;
20
- function requireReact_production_min() {
21
- if (hasRequiredReact_production_min) return react_production_min;
22
- hasRequiredReact_production_min = 1;
23
- var l = Symbol.for("react.element"),
24
- n = Symbol.for("react.portal"),
25
- p = Symbol.for("react.fragment"),
26
- q = Symbol.for("react.strict_mode"),
27
- r = Symbol.for("react.profiler"),
28
- t = Symbol.for("react.provider"),
29
- u = Symbol.for("react.context"),
30
- v = Symbol.for("react.forward_ref"),
31
- w = Symbol.for("react.suspense"),
32
- x = Symbol.for("react.memo"),
33
- y = Symbol.for("react.lazy"),
34
- z = Symbol.iterator;
35
- function A(a) {
36
- if (null === a || "object" !== typeof a) return null;
37
- a = z && a[z] || a["@@iterator"];
38
- return "function" === typeof a ? a : null;
39
- }
40
- var B = {
41
- isMounted: function () {
42
- return !1;
43
- },
44
- enqueueForceUpdate: function () {},
45
- enqueueReplaceState: function () {},
46
- enqueueSetState: function () {}
47
- },
48
- C = Object.assign,
49
- D = {};
50
- function E(a, b, e) {
51
- this.props = a;
52
- this.context = b;
53
- this.refs = D;
54
- this.updater = e || B;
55
- }
56
- E.prototype.isReactComponent = {};
57
- E.prototype.setState = function (a, b) {
58
- if ("object" !== typeof a && "function" !== typeof a && null != a) throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
59
- this.updater.enqueueSetState(this, a, b, "setState");
60
- };
61
- E.prototype.forceUpdate = function (a) {
62
- this.updater.enqueueForceUpdate(this, a, "forceUpdate");
63
- };
64
- function F() {}
65
- F.prototype = E.prototype;
66
- function G(a, b, e) {
67
- this.props = a;
68
- this.context = b;
69
- this.refs = D;
70
- this.updater = e || B;
71
- }
72
- var H = G.prototype = new F();
73
- H.constructor = G;
74
- C(H, E.prototype);
75
- H.isPureReactComponent = !0;
76
- var I = Array.isArray,
77
- J = Object.prototype.hasOwnProperty,
78
- K = {
79
- current: null
80
- },
81
- L = {
82
- key: !0,
83
- ref: !0,
84
- __self: !0,
85
- __source: !0
86
- };
87
- function M(a, b, e) {
88
- var d,
89
- c = {},
90
- k = null,
91
- h = null;
92
- if (null != b) for (d in void 0 !== b.ref && (h = b.ref), void 0 !== b.key && (k = "" + b.key), b) J.call(b, d) && !L.hasOwnProperty(d) && (c[d] = b[d]);
93
- var g = arguments.length - 2;
94
- if (1 === g) c.children = e;else if (1 < g) {
95
- for (var f = Array(g), m = 0; m < g; m++) f[m] = arguments[m + 2];
96
- c.children = f;
97
- }
98
- if (a && a.defaultProps) for (d in g = a.defaultProps, g) void 0 === c[d] && (c[d] = g[d]);
99
- return {
100
- $$typeof: l,
101
- type: a,
102
- key: k,
103
- ref: h,
104
- props: c,
105
- _owner: K.current
106
- };
107
- }
108
- function N(a, b) {
109
- return {
110
- $$typeof: l,
111
- type: a.type,
112
- key: b,
113
- ref: a.ref,
114
- props: a.props,
115
- _owner: a._owner
116
- };
117
- }
118
- function O(a) {
119
- return "object" === typeof a && null !== a && a.$$typeof === l;
120
- }
121
- function escape(a) {
122
- var b = {
123
- "=": "=0",
124
- ":": "=2"
125
- };
126
- return "$" + a.replace(/[=:]/g, function (a) {
127
- return b[a];
128
- });
129
- }
130
- var P = /\/+/g;
131
- function Q(a, b) {
132
- return "object" === typeof a && null !== a && null != a.key ? escape("" + a.key) : b.toString(36);
133
- }
134
- function R(a, b, e, d, c) {
135
- var k = typeof a;
136
- if ("undefined" === k || "boolean" === k) a = null;
137
- var h = !1;
138
- if (null === a) h = !0;else switch (k) {
139
- case "string":
140
- case "number":
141
- h = !0;
142
- break;
143
- case "object":
144
- switch (a.$$typeof) {
145
- case l:
146
- case n:
147
- h = !0;
148
- }
149
- }
150
- if (h) return h = a, c = c(h), a = "" === d ? "." + Q(h, 0) : d, I(c) ? (e = "", null != a && (e = a.replace(P, "$&/") + "/"), R(c, b, e, "", function (a) {
151
- return a;
152
- })) : null != c && (O(c) && (c = N(c, e + (!c.key || h && h.key === c.key ? "" : ("" + c.key).replace(P, "$&/") + "/") + a)), b.push(c)), 1;
153
- h = 0;
154
- d = "" === d ? "." : d + ":";
155
- if (I(a)) for (var g = 0; g < a.length; g++) {
156
- k = a[g];
157
- var f = d + Q(k, g);
158
- h += R(k, b, e, f, c);
159
- } else if (f = A(a), "function" === typeof f) for (a = f.call(a), g = 0; !(k = a.next()).done;) k = k.value, f = d + Q(k, g++), h += R(k, b, e, f, c);else if ("object" === k) throw b = String(a), Error("Objects are not valid as a React child (found: " + ("[object Object]" === b ? "object with keys {" + Object.keys(a).join(", ") + "}" : b) + "). If you meant to render a collection of children, use an array instead.");
160
- return h;
161
- }
162
- function S(a, b, e) {
163
- if (null == a) return a;
164
- var d = [],
165
- c = 0;
166
- R(a, d, "", "", function (a) {
167
- return b.call(e, a, c++);
168
- });
169
- return d;
170
- }
171
- function T(a) {
172
- if (-1 === a._status) {
173
- var b = a._result;
174
- b = b();
175
- b.then(function (b) {
176
- if (0 === a._status || -1 === a._status) a._status = 1, a._result = b;
177
- }, function (b) {
178
- if (0 === a._status || -1 === a._status) a._status = 2, a._result = b;
179
- });
180
- -1 === a._status && (a._status = 0, a._result = b);
181
- }
182
- if (1 === a._status) return a._result.default;
183
- throw a._result;
184
- }
185
- var U = {
186
- current: null
187
- },
188
- V = {
189
- transition: null
190
- },
191
- W = {
192
- ReactCurrentDispatcher: U,
193
- ReactCurrentBatchConfig: V,
194
- ReactCurrentOwner: K
195
- };
196
- function X() {
197
- throw Error("act(...) is not supported in production builds of React.");
198
- }
199
- react_production_min.Children = {
200
- map: S,
201
- forEach: function (a, b, e) {
202
- S(a, function () {
203
- b.apply(this, arguments);
204
- }, e);
205
- },
206
- count: function (a) {
207
- var b = 0;
208
- S(a, function () {
209
- b++;
210
- });
211
- return b;
212
- },
213
- toArray: function (a) {
214
- return S(a, function (a) {
215
- return a;
216
- }) || [];
217
- },
218
- only: function (a) {
219
- if (!O(a)) throw Error("React.Children.only expected to receive a single React element child.");
220
- return a;
221
- }
222
- };
223
- react_production_min.Component = E;
224
- react_production_min.Fragment = p;
225
- react_production_min.Profiler = r;
226
- react_production_min.PureComponent = G;
227
- react_production_min.StrictMode = q;
228
- react_production_min.Suspense = w;
229
- react_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = W;
230
- react_production_min.act = X;
231
- react_production_min.cloneElement = function (a, b, e) {
232
- if (null === a || void 0 === a) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + a + ".");
233
- var d = C({}, a.props),
234
- c = a.key,
235
- k = a.ref,
236
- h = a._owner;
237
- if (null != b) {
238
- void 0 !== b.ref && (k = b.ref, h = K.current);
239
- void 0 !== b.key && (c = "" + b.key);
240
- if (a.type && a.type.defaultProps) var g = a.type.defaultProps;
241
- for (f in b) J.call(b, f) && !L.hasOwnProperty(f) && (d[f] = void 0 === b[f] && void 0 !== g ? g[f] : b[f]);
242
- }
243
- var f = arguments.length - 2;
244
- if (1 === f) d.children = e;else if (1 < f) {
245
- g = Array(f);
246
- for (var m = 0; m < f; m++) g[m] = arguments[m + 2];
247
- d.children = g;
248
- }
249
- return {
250
- $$typeof: l,
251
- type: a.type,
252
- key: c,
253
- ref: k,
254
- props: d,
255
- _owner: h
256
- };
257
- };
258
- react_production_min.createContext = function (a) {
259
- a = {
260
- $$typeof: u,
261
- _currentValue: a,
262
- _currentValue2: a,
263
- _threadCount: 0,
264
- Provider: null,
265
- Consumer: null,
266
- _defaultValue: null,
267
- _globalName: null
268
- };
269
- a.Provider = {
270
- $$typeof: t,
271
- _context: a
272
- };
273
- return a.Consumer = a;
274
- };
275
- react_production_min.createElement = M;
276
- react_production_min.createFactory = function (a) {
277
- var b = M.bind(null, a);
278
- b.type = a;
279
- return b;
280
- };
281
- react_production_min.createRef = function () {
282
- return {
283
- current: null
284
- };
285
- };
286
- react_production_min.forwardRef = function (a) {
287
- return {
288
- $$typeof: v,
289
- render: a
290
- };
291
- };
292
- react_production_min.isValidElement = O;
293
- react_production_min.lazy = function (a) {
294
- return {
295
- $$typeof: y,
296
- _payload: {
297
- _status: -1,
298
- _result: a
299
- },
300
- _init: T
301
- };
302
- };
303
- react_production_min.memo = function (a, b) {
304
- return {
305
- $$typeof: x,
306
- type: a,
307
- compare: void 0 === b ? null : b
308
- };
309
- };
310
- react_production_min.startTransition = function (a) {
311
- var b = V.transition;
312
- V.transition = {};
313
- try {
314
- a();
315
- } finally {
316
- V.transition = b;
317
- }
318
- };
319
- react_production_min.unstable_act = X;
320
- react_production_min.useCallback = function (a, b) {
321
- return U.current.useCallback(a, b);
322
- };
323
- react_production_min.useContext = function (a) {
324
- return U.current.useContext(a);
325
- };
326
- react_production_min.useDebugValue = function () {};
327
- react_production_min.useDeferredValue = function (a) {
328
- return U.current.useDeferredValue(a);
329
- };
330
- react_production_min.useEffect = function (a, b) {
331
- return U.current.useEffect(a, b);
332
- };
333
- react_production_min.useId = function () {
334
- return U.current.useId();
335
- };
336
- react_production_min.useImperativeHandle = function (a, b, e) {
337
- return U.current.useImperativeHandle(a, b, e);
338
- };
339
- react_production_min.useInsertionEffect = function (a, b) {
340
- return U.current.useInsertionEffect(a, b);
341
- };
342
- react_production_min.useLayoutEffect = function (a, b) {
343
- return U.current.useLayoutEffect(a, b);
344
- };
345
- react_production_min.useMemo = function (a, b) {
346
- return U.current.useMemo(a, b);
347
- };
348
- react_production_min.useReducer = function (a, b, e) {
349
- return U.current.useReducer(a, b, e);
350
- };
351
- react_production_min.useRef = function (a) {
352
- return U.current.useRef(a);
353
- };
354
- react_production_min.useState = function (a) {
355
- return U.current.useState(a);
356
- };
357
- react_production_min.useSyncExternalStore = function (a, b, e) {
358
- return U.current.useSyncExternalStore(a, b, e);
359
- };
360
- react_production_min.useTransition = function () {
361
- return U.current.useTransition();
362
- };
363
- react_production_min.version = "18.3.1";
364
- return react_production_min;
365
- }
366
- var hasRequiredReact;
367
- function requireReact() {
368
- if (hasRequiredReact) return react.exports;
369
- hasRequiredReact = 1;
370
- {
371
- react.exports = requireReact_production_min();
372
- }
373
- return react.exports;
374
- }
375
- var reactExports = requireReact();
376
- var __jsenv_default_import__ = /*@__PURE__*/getDefaultExportFromCjs(reactExports);
377
- var Children = reactExports.Children;
378
- var Component = reactExports.Component;
379
- var Fragment = reactExports.Fragment;
380
- var Profiler = reactExports.Profiler;
381
- var PureComponent = reactExports.PureComponent;
382
- var StrictMode = reactExports.StrictMode;
383
- var Suspense = reactExports.Suspense;
384
- var __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = reactExports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
385
- var act = reactExports.act;
386
- var cloneElement = reactExports.cloneElement;
387
- var createContext = reactExports.createContext;
388
- var createElement = reactExports.createElement;
389
- var createFactory = reactExports.createFactory;
390
- var createRef = reactExports.createRef;
391
- var forwardRef = reactExports.forwardRef;
392
- var isValidElement = reactExports.isValidElement;
393
- var lazy = reactExports.lazy;
394
- var memo = reactExports.memo;
395
- var startTransition = reactExports.startTransition;
396
- var unstable_act = reactExports.unstable_act;
397
- var useCallback = reactExports.useCallback;
398
- var useContext = reactExports.useContext;
399
- var useDebugValue = reactExports.useDebugValue;
400
- var useDeferredValue = reactExports.useDeferredValue;
401
- var useEffect = reactExports.useEffect;
402
- var useId = reactExports.useId;
403
- var useImperativeHandle = reactExports.useImperativeHandle;
404
- var useInsertionEffect = reactExports.useInsertionEffect;
405
- var useLayoutEffect = reactExports.useLayoutEffect;
406
- var useMemo = reactExports.useMemo;
407
- var useReducer = reactExports.useReducer;
408
- var useRef = reactExports.useRef;
409
- var useState = reactExports.useState;
410
- var useSyncExternalStore = reactExports.useSyncExternalStore;
411
- var useTransition = reactExports.useTransition;
412
- var version = reactExports.version;
413
- export { Children, Component, Fragment, Profiler, PureComponent, StrictMode, Suspense, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, act, cloneElement, createContext, createElement, createFactory, createRef, __jsenv_default_import__ as default, forwardRef, isValidElement, lazy, memo, startTransition, unstable_act, useCallback, useContext, useDebugValue, useDeferredValue, useEffect, useId, useImperativeHandle, useInsertionEffect, useLayoutEffect, useMemo, useReducer, useRef, useState, useSyncExternalStore, useTransition, version };
@@ -1,25 +0,0 @@
1
- 'use strict';
2
-
3
- var m = require('react-dom');
4
- if (("production") === 'production') {
5
- exports.createRoot = m.createRoot;
6
- exports.hydrateRoot = m.hydrateRoot;
7
- } else {
8
- var i = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
9
- exports.createRoot = function (c, o) {
10
- i.usingClientEntryPoint = true;
11
- try {
12
- return m.createRoot(c, o);
13
- } finally {
14
- i.usingClientEntryPoint = false;
15
- }
16
- };
17
- exports.hydrateRoot = function (c, h, o) {
18
- i.usingClientEntryPoint = true;
19
- try {
20
- return m.hydrateRoot(c, h, o);
21
- } finally {
22
- i.usingClientEntryPoint = false;
23
- }
24
- };
25
- }