miolo 0.3.2 → 0.3.3
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/dist/cli/miolo.cli.iife.bundle.js +1 -1
- package/dist/cli/miolo.cli.iife.bundle.min.js +1 -1
- package/dist/cli/miolo.cli.iife.js +1 -1
- package/dist/cli/miolo.cli.iife.min.js +1 -1
- package/dist/cli/miolo.cli.min.mjs +1 -1
- package/dist/cli/miolo.cli.mjs +1 -1
- package/dist/cli/miolo.cli.umd.bundle.js +1 -1
- package/dist/cli/miolo.cli.umd.bundle.min.js +1 -1
- package/dist/cli/miolo.cli.umd.js +1 -1
- package/dist/cli/miolo.cli.umd.min.js +1 -1
- package/dist/cli-react/miolo.cli-react.iife.bundle.js +26 -118
- package/dist/cli-react/miolo.cli-react.iife.bundle.js.map +1 -1
- package/dist/cli-react/miolo.cli-react.iife.bundle.min.js +6 -14
- package/dist/cli-react/miolo.cli-react.iife.js +1 -1
- package/dist/cli-react/miolo.cli-react.iife.min.js +1 -1
- package/dist/cli-react/miolo.cli-react.min.mjs +1 -1
- package/dist/cli-react/miolo.cli-react.mjs +1 -1
- package/dist/cli-react/miolo.cli-react.umd.bundle.js +26 -118
- package/dist/cli-react/miolo.cli-react.umd.bundle.js.map +1 -1
- package/dist/cli-react/miolo.cli-react.umd.bundle.min.js +6 -14
- package/dist/cli-react/miolo.cli-react.umd.js +1 -1
- package/dist/cli-react/miolo.cli-react.umd.min.js +1 -1
- package/dist/server/miolo.server.cjs +1 -1
- package/dist/server/miolo.server.min.mjs +1 -1
- package/dist/server/miolo.server.mjs +1 -1
- package/dist/server/miolo.server.node.mjs +1 -1
- package/package.json +5 -5
package/dist/cli/miolo.cli.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* miolo v0.3.
|
|
2
|
+
* miolo v0.3.3
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Donato Lorenzo <donato@afialapis.com>
|
|
5
5
|
*
|
|
@@ -30,104 +30,12 @@ var miolo = (function (exports) {
|
|
|
30
30
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
var
|
|
34
|
-
var react = {
|
|
35
|
-
get exports(){ return reactExports; },
|
|
36
|
-
set exports(v){ reactExports = v; },
|
|
37
|
-
};
|
|
33
|
+
var react = {exports: {}};
|
|
38
34
|
|
|
39
35
|
var react_production_min = {};
|
|
40
36
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
(c) Sindre Sorhus
|
|
44
|
-
@license MIT
|
|
45
|
-
*/
|
|
46
|
-
/* eslint-disable no-unused-vars */
|
|
47
|
-
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
|
|
48
|
-
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
49
|
-
var propIsEnumerable = Object.prototype.propertyIsEnumerable;
|
|
50
|
-
|
|
51
|
-
function toObject(val) {
|
|
52
|
-
if (val === null || val === undefined) {
|
|
53
|
-
throw new TypeError('Object.assign cannot be called with null or undefined');
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
return Object(val);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
function shouldUseNative() {
|
|
60
|
-
try {
|
|
61
|
-
if (!Object.assign) {
|
|
62
|
-
return false;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
// Detect buggy property enumeration order in older V8 versions.
|
|
66
|
-
|
|
67
|
-
// https://bugs.chromium.org/p/v8/issues/detail?id=4118
|
|
68
|
-
var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
|
|
69
|
-
test1[5] = 'de';
|
|
70
|
-
if (Object.getOwnPropertyNames(test1)[0] === '5') {
|
|
71
|
-
return false;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
// https://bugs.chromium.org/p/v8/issues/detail?id=3056
|
|
75
|
-
var test2 = {};
|
|
76
|
-
for (var i = 0; i < 10; i++) {
|
|
77
|
-
test2['_' + String.fromCharCode(i)] = i;
|
|
78
|
-
}
|
|
79
|
-
var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
|
|
80
|
-
return test2[n];
|
|
81
|
-
});
|
|
82
|
-
if (order2.join('') !== '0123456789') {
|
|
83
|
-
return false;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
// https://bugs.chromium.org/p/v8/issues/detail?id=3056
|
|
87
|
-
var test3 = {};
|
|
88
|
-
'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
|
|
89
|
-
test3[letter] = letter;
|
|
90
|
-
});
|
|
91
|
-
if (Object.keys(Object.assign({}, test3)).join('') !==
|
|
92
|
-
'abcdefghijklmnopqrst') {
|
|
93
|
-
return false;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
return true;
|
|
97
|
-
} catch (err) {
|
|
98
|
-
// We don't expect any of the above to throw, but better to be safe.
|
|
99
|
-
return false;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
var objectAssign = shouldUseNative() ? Object.assign : function (target, source) {
|
|
104
|
-
var from;
|
|
105
|
-
var to = toObject(target);
|
|
106
|
-
var symbols;
|
|
107
|
-
|
|
108
|
-
for (var s = 1; s < arguments.length; s++) {
|
|
109
|
-
from = Object(arguments[s]);
|
|
110
|
-
|
|
111
|
-
for (var key in from) {
|
|
112
|
-
if (hasOwnProperty.call(from, key)) {
|
|
113
|
-
to[key] = from[key];
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
if (getOwnPropertySymbols) {
|
|
118
|
-
symbols = getOwnPropertySymbols(from);
|
|
119
|
-
for (var i = 0; i < symbols.length; i++) {
|
|
120
|
-
if (propIsEnumerable.call(from, symbols[i])) {
|
|
121
|
-
to[symbols[i]] = from[symbols[i]];
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
return to;
|
|
128
|
-
};
|
|
129
|
-
|
|
130
|
-
/** @license React v17.0.2
|
|
37
|
+
/**
|
|
38
|
+
* @license React
|
|
131
39
|
* react.production.min.js
|
|
132
40
|
*
|
|
133
41
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -135,29 +43,29 @@ var miolo = (function (exports) {
|
|
|
135
43
|
* This source code is licensed under the MIT license found in the
|
|
136
44
|
* LICENSE file in the root directory of this source tree.
|
|
137
45
|
*/
|
|
138
|
-
var l=
|
|
139
|
-
|
|
140
|
-
function
|
|
141
|
-
|
|
142
|
-
function
|
|
143
|
-
function
|
|
144
|
-
function
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
react_production_min.
|
|
149
|
-
react_production_min.cloneElement=function(a,b,
|
|
150
|
-
key:
|
|
151
|
-
react_production_min.
|
|
152
|
-
react_production_min.
|
|
153
|
-
|
|
154
|
-
(
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
} (react));
|
|
46
|
+
var l=Symbol.for("react.element"),n=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),q=Symbol.for("react.strict_mode"),r=Symbol.for("react.profiler"),t=Symbol.for("react.provider"),u=Symbol.for("react.context"),v=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),x=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),z=Symbol.iterator;function A(a){if(null===a||"object"!==typeof a)return null;a=z&&a[z]||a["@@iterator"];return "function"===typeof a?a:null}
|
|
47
|
+
var B={isMounted:function(){return !1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,D={};function E(a,b,e){this.props=a;this.context=b;this.refs=D;this.updater=e||B;}E.prototype.isReactComponent={};
|
|
48
|
+
E.prototype.setState=function(a,b){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.");this.updater.enqueueSetState(this,a,b,"setState");};E.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate");};function F(){}F.prototype=E.prototype;function G(a,b,e){this.props=a;this.context=b;this.refs=D;this.updater=e||B;}var H=G.prototype=new F;
|
|
49
|
+
H.constructor=G;C(H,E.prototype);H.isPureReactComponent=!0;var I=Array.isArray,J=Object.prototype.hasOwnProperty,K={current:null},L={key:!0,ref:!0,__self:!0,__source:!0};
|
|
50
|
+
function M(a,b,e){var d,c={},k=null,h=null;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]);var g=arguments.length-2;if(1===g)c.children=e;else if(1<g){for(var f=Array(g),m=0;m<g;m++)f[m]=arguments[m+2];c.children=f;}if(a&&a.defaultProps)for(d in g=a.defaultProps,g)void 0===c[d]&&(c[d]=g[d]);return {$$typeof:l,type:a,key:k,ref:h,props:c,_owner:K.current}}
|
|
51
|
+
function N(a,b){return {$$typeof:l,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function O(a){return "object"===typeof a&&null!==a&&a.$$typeof===l}function escape(a){var b={"=":"=0",":":"=2"};return "$"+a.replace(/[=:]/g,function(a){return b[a]})}var P=/\/+/g;function Q(a,b){return "object"===typeof a&&null!==a&&null!=a.key?escape(""+a.key):b.toString(36)}
|
|
52
|
+
function R(a,b,e,d,c){var k=typeof a;if("undefined"===k||"boolean"===k)a=null;var h=!1;if(null===a)h=!0;else switch(k){case "string":case "number":h=!0;break;case "object":switch(a.$$typeof){case l:case n:h=!0;}}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){return a})):null!=c&&(O(c)&&(c=N(c,e+(!c.key||h&&h.key===c.key?"":(""+c.key).replace(P,"$&/")+"/")+a)),b.push(c)),1;h=0;d=""===d?".":d+":";if(I(a))for(var g=0;g<a.length;g++){k=
|
|
53
|
+
a[g];var f=d+Q(k,g);h+=R(k,b,e,f,c);}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.");return h}
|
|
54
|
+
function S(a,b,e){if(null==a)return a;var d=[],c=0;R(a,d,"","",function(a){return b.call(e,a,c++)});return d}function T(a){if(-1===a._status){var b=a._result;b=b();b.then(function(b){if(0===a._status||-1===a._status)a._status=1,a._result=b;},function(b){if(0===a._status||-1===a._status)a._status=2,a._result=b;});-1===a._status&&(a._status=0,a._result=b);}if(1===a._status)return a._result.default;throw a._result;}
|
|
55
|
+
var U={current:null},V={transition:null},W={ReactCurrentDispatcher:U,ReactCurrentBatchConfig:V,ReactCurrentOwner:K};react_production_min.Children={map:S,forEach:function(a,b,e){S(a,function(){b.apply(this,arguments);},e);},count:function(a){var b=0;S(a,function(){b++;});return b},toArray:function(a){return S(a,function(a){return a})||[]},only:function(a){if(!O(a))throw Error("React.Children.only expected to receive a single React element child.");return a}};react_production_min.Component=E;react_production_min.Fragment=p;
|
|
56
|
+
react_production_min.Profiler=r;react_production_min.PureComponent=G;react_production_min.StrictMode=q;react_production_min.Suspense=w;react_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=W;
|
|
57
|
+
react_production_min.cloneElement=function(a,b,e){if(null===a||void 0===a)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+a+".");var d=C({},a.props),c=a.key,k=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(k=b.ref,h=K.current);void 0!==b.key&&(c=""+b.key);if(a.type&&a.type.defaultProps)var g=a.type.defaultProps;for(f in b)J.call(b,f)&&!L.hasOwnProperty(f)&&(d[f]=void 0===b[f]&&void 0!==g?g[f]:b[f]);}var f=arguments.length-2;if(1===f)d.children=e;else if(1<f){g=Array(f);
|
|
58
|
+
for(var m=0;m<f;m++)g[m]=arguments[m+2];d.children=g;}return {$$typeof:l,type:a.type,key:c,ref:k,props:d,_owner:h}};react_production_min.createContext=function(a){a={$$typeof:u,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};a.Provider={$$typeof:t,_context:a};return a.Consumer=a};react_production_min.createElement=M;react_production_min.createFactory=function(a){var b=M.bind(null,a);b.type=a;return b};react_production_min.createRef=function(){return {current:null}};
|
|
59
|
+
react_production_min.forwardRef=function(a){return {$$typeof:v,render:a}};react_production_min.isValidElement=O;react_production_min.lazy=function(a){return {$$typeof:y,_payload:{_status:-1,_result:a},_init:T}};react_production_min.memo=function(a,b){return {$$typeof:x,type:a,compare:void 0===b?null:b}};react_production_min.startTransition=function(a){var b=V.transition;V.transition={};try{a();}finally{V.transition=b;}};react_production_min.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.");};
|
|
60
|
+
react_production_min.useCallback=function(a,b){return U.current.useCallback(a,b)};react_production_min.useContext=function(a){return U.current.useContext(a)};react_production_min.useDebugValue=function(){};react_production_min.useDeferredValue=function(a){return U.current.useDeferredValue(a)};react_production_min.useEffect=function(a,b){return U.current.useEffect(a,b)};react_production_min.useId=function(){return U.current.useId()};react_production_min.useImperativeHandle=function(a,b,e){return U.current.useImperativeHandle(a,b,e)};
|
|
61
|
+
react_production_min.useInsertionEffect=function(a,b){return U.current.useInsertionEffect(a,b)};react_production_min.useLayoutEffect=function(a,b){return U.current.useLayoutEffect(a,b)};react_production_min.useMemo=function(a,b){return U.current.useMemo(a,b)};react_production_min.useReducer=function(a,b,e){return U.current.useReducer(a,b,e)};react_production_min.useRef=function(a){return U.current.useRef(a)};react_production_min.useState=function(a){return U.current.useState(a)};react_production_min.useSyncExternalStore=function(a,b,e){return U.current.useSyncExternalStore(a,b,e)};
|
|
62
|
+
react_production_min.useTransition=function(){return U.current.useTransition()};react_production_min.version="18.2.0";
|
|
63
|
+
|
|
64
|
+
{
|
|
65
|
+
react.exports = react_production_min;
|
|
66
|
+
}
|
|
160
67
|
|
|
68
|
+
var reactExports = react.exports;
|
|
161
69
|
var React = /*@__PURE__*/getDefaultExportFromCjs(reactExports);
|
|
162
70
|
|
|
163
71
|
var React$1 = /*#__PURE__*/_mergeNamespaces({
|