inferno-compat
Advanced tools
Comparing version 7.4.8 to 7.4.9
@@ -1,1 +0,1 @@ | ||
!function(e,n){"object"===typeof exports&&"undefined"!==typeof module?n(exports,require("inferno"),require("inferno-clone-vnode"),require("inferno-create-class"),require("inferno-create-element"),require("inferno-extras")):"function"===typeof define&&define.amd?define(["exports","inferno","inferno-clone-vnode","inferno-create-class","inferno-create-element","inferno-extras"],n):n((e="undefined"!==typeof globalThis?globalThis:e||self).Inferno=e.Inferno||{},e.Inferno,e.Inferno,e.Inferno,e.Inferno,e.Inferno)}(this,(function(e,n,r,t,o,i){"use strict";function a(e){return null===e}function l(e,r,t,o,i,l){var c=e.childFlags,f=e.children,d=e.props,s=e.flags;if(1!==c){if(2===c)a(t)?n._M(f,r,o,i,null,l):t=(t=u(f,r,t,o,i,l))?t.nextSibling:null;else if(16===c)a(t)?r.appendChild(document.createTextNode(f)):1!==r.childNodes.length||3!==t.nodeType?r.textContent=f:t.nodeValue!==f&&(t.nodeValue=f),t=null;else if(12&c)for(var p=!1,m=0,g=f.length;m<g;++m){var y=f[m];a(t)||p&&(16&y.flags)>0?n._M(y,r,o,i,t,l):t=(t=u(y,r,t,o,i,l))?t.nextSibling:null,p=(16&y.flags)>0}if(0===(8192&s))for(var h=null;t;)h=t.nextSibling,r.removeChild(t),t=h}else a(r.firstChild)||function(e,n){return Boolean(n&&n.dangerouslySetInnerHTML&&n.dangerouslySetInnerHTML.__html&&function(e,n){var r=document.createElement("i");return r.innerHTML=n,r.innerHTML===e.innerHTML}(e,n.dangerouslySetInnerHTML.__html))}(r,d)||(r.textContent="",448&s&&(r.defaultValue=""))}function c(e,n,r){if(3!==r.nodeType)n.replaceChild(e.dom=document.createTextNode(e.children),r);else{var t=e.children;r.nodeValue!==t&&(r.nodeValue=t),e.dom=r}return e.dom}function u(e,r,t,o,i,f){var d=e.flags|=16384;if(14&d)return function(e,r,t,o,i,a,l){var c,f=e.type,d=e.ref,s=e.props||n.EMPTY_OBJ;if(a){var p=n._CI(e,f,s,o,i,l);c=u(p.$LI,r,t,p.$CX,i,l),n._MCCC(d,p,l)}else{var m=n._HI(n._RFC(e,o));c=u(m,r,t,o,i,l),e.children=m,n._MFCC(e,l)}return c}(e,r,t,o,i,(4&d)>0,f);if(481&d)return function(e,r,t,o,i,c){var u,f=e.props,d=e.className,s=e.flags,p=e.ref;return i=i||(32&s)>0,1!==t.nodeType||t.tagName.toLowerCase()!==e.type?(n._ME(e,null,o,i,null,c),r.replaceChild(e.dom,t)):(e.dom=t,l(e,t,t.firstChild,o,i,c),a(f)||n._MP(e,s,f,t,i),void 0===(u=d)||null===u?""!==t.className&&t.removeAttribute("class"):i?t.setAttribute("class",d):t.className=d,n._MR(p,t,c)),e.dom}(e,r,t,o,i,f);if(16&d)return c(e,r,t);if(512&d)return e.dom=t;if(8192&d)return function(e,n,r,t,o,i){var a=e.children;if(2===e.childFlags)return c(a,n,r),a.dom;return l(e,n,r,t,o,i),function(e){for(var n,r;e;){if(2033&(n=e.flags))return e.dom;r=e.children,e=8192&n?2===e.childFlags?r:r[r.length-1]:4&n?r.$LI:r}return null}(a[a.length-1])}(e,r,t,o,i,f);return function(e){throw e||(e="a runtime error occured! Use Inferno in development environment to find the error."),new Error("Inferno Error: "+e)}(),null}function f(e,r,t){var o,i=r.firstChild;if(a(i))n.render(e,r,t);else{var l=[];for(null!==(o=e)&&!1!==o&&!0!==o&&void 0!==o&&(i=u(e,r,i,{},!1,l));i&&(i=i.nextSibling);)r.removeChild(i);if(l.length>0)for(var c;void 0!==(c=l.shift());)c()}r.$V=e,function(e){return"function"===typeof e}(t)&&t()}var d=Array.isArray;function s(e){return void 0===e||null===e}function p(e){return"string"===typeof e}function m(e){return null===e}function g(e){if("object"!==typeof e||m(e))return!1;return(495&e.flags)>0}function y(){}y.isRequired=y;var h=function(){return y},b={any:h,array:y,arrayOf:h,bool:y,checkPropTypes:function(){return null},element:h,func:y,instanceOf:h,node:h,number:y,object:y,objectOf:h,oneOf:h,oneOfType:h,shape:h,string:y,symbol:y},C={htmlFor:"for",onDoubleClick:"onDblClick"},_=/[\-:]([a-z])/g,v=function(e){return e[1].toUpperCase()};function M(e,n){switch(e){case"animation-iteration-count":case"border-image-outset":case"border-image-slice":case"border-image-width":case"box-flex":case"box-flex-group":case"box-ordinal-group":case"column-count":case"fill-opacity":case"flex":case"flex-grow":case"flex-negative":case"flex-order":case"flex-positive":case"flex-shrink":case"flood-opacity":case"font-weight":case"grid-column":case"grid-row":case"line-clamp":case"line-height":case"opacity":case"order":case"orphans":case"stop-opacity":case"stroke-dasharray":case"stroke-dashoffset":case"stroke-miterlimit":case"stroke-opacity":case"stroke-width":case"tab-size":case"widows":case"z-index":case"zoom":return n;default:return n+"px"}}["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-constiant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","x-height","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xmlns:xlink","xml:lang","xml:space"].forEach((function(e){var n=e.replace(_,v);C[n]=e}));var P=/[A-Z]/g;function O(e){return n.__render(null,e,null,null),!0}function x(e,n){for(var r=0,t=e.length;r<t;++r){var o=e[r];d(o)?x(o,n):n.push(o)}return n}n.options.reactStyles=!0;var N=[],V={map:function(e,n,r){if(s(e))return e;return e=V.toArray(e),r&&(n=n.bind(r)),e.map(n)},forEach:function(e,n,r){if(s(e))return;e=V.toArray(e),r&&(n=n.bind(r));for(var t=0,o=e.length;t<o;++t)n(null===(i=e[t])||!1===i||!0===i||void 0===i?null:e[t],t,e);var i},count:function(e){return(e=V.toArray(e)).length},only:function(e){if(1!==(e=V.toArray(e)).length)throw new Error("Children.only() expects only one child.");return e[0]},toArray:function(e){if(s(e))return[];if(d(e)){var n=[];return x(e,n),n}return N.concat(e)}};n.Component.prototype.isReactComponent={};var E="15.4.2",j={date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};if("undefined"!==typeof Event){var w=Event.prototype;w.persist||(w.persist=function(){})}var F="undefined"===typeof window?global:window,k="undefined"!==typeof F.Symbol,T=k?F.Symbol.iterator:"",I=n.options.createVNode;function R(e,n){var r;for(r in e)if(!(r in n))return!0;for(r in n)if(e[r]!==n[r])return!0;return!1}n.options.createVNode=function(e){var r=e.children,t=e.props;s(t)&&(t=e.props={}),!k||m(r)||"object"!==typeof r||d(r)||"function"!==typeof r[T]||(e.children=function(e){var n,r=[];do{n=e.next(),r.push(n.value)}while(!n.done);return r}(r[T]())),!s(r)&&s(t.children)&&(t.children=r),14&e.flags&&p(e.type)&&(e.flags=n.getFlagsForElementVnode(e.type),t&&n.normalizeProps(e));var o=e.flags;448&o&&function(e,n){if(("input"===e||"textarea"===e)&&"radio"!==n.type&&n.onChange){var r,t=n.type&&n.type.toLowerCase();t&&!j[t]||(r="oninput"),r&&!n[r]&&(n[r]=n.onChange,n.onChange=void 0)}}(e.type,t),481&o&&(e.className&&(t.className=e.className),function(e){for(var r in e){var t=C[r];if(t&&e[r]&&t!==r&&(e[t]=e[r],e[r]=void 0),n.options.reactStyles&&"style"===r){var o=e.style;if(o&&!p(o)){var i={};for(var a in o){var l=o[a],c=a.replace(P,"-$&").toLowerCase();i[c]="number"===typeof l?M(c,l):l}e.style=i}}}}(t)),I&&I(e)};var z=function(e){function n(){e.apply(this,arguments)}return e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n,n.prototype.shouldComponentUpdate=function(e,n){return R(this.props,e)||R(this.state,n)},n}(n.Component),D=function(e){function n(){e.apply(this,arguments)}return e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n,n.prototype.getChildContext=function(){return this.props.context},n.prototype.render=function(e){return e.children},n}(n.Component);function S(e,r,t,o){H(n.createComponentVNode(4,D,{children:r,context:e.context}),t,null);var i=r.children;return o&&o.call(i),i}function A(e){return o.createElement.bind(null,e)}function H(e,r,t,o){void 0===t&&(t=null),void 0===o&&(o=n.EMPTY_OBJ),n.__render(e,r,t,o);var i=r.$V;if(i&&14&i.flags)return i.children}if("undefined"!==typeof window&&"undefined"===typeof window.React){var L={Children:V,Component:n.Component,EMPTY_OBJ:n.EMPTY_OBJ,Fragment:n.Fragment,PropTypes:b,PureComponent:z,_CI:n._CI,_HI:n._HI,_M:n._M,_MCCC:n._MCCC,_ME:n._ME,_MFCC:n._MFCC,_MP:n._MP,_MR:n._MR,__render:n.__render,cloneElement:r.cloneVNode,cloneVNode:r.cloneVNode,createClass:t.createClass,createComponentVNode:n.createComponentVNode,createElement:o.createElement,createFactory:A,createFragment:n.createFragment,createPortal:n.createPortal,createRef:n.createRef,createRenderer:n.createRenderer,createTextVNode:n.createTextVNode,createVNode:n.createVNode,directClone:n.directClone,findDOMNode:i.findDOMNode,findDOMfromVNode:n.findDOMfromVNode,forwardRef:n.forwardRef,getFlagsForElementVnode:n.getFlagsForElementVnode,hydrate:f,isValidElement:g,linkEvent:n.linkEvent,normalizeProps:n.normalizeProps,options:n.options,render:H,rerender:n.rerender,unmountComponentAtNode:O,unstable_renderSubtreeIntoContainer:S,version:E};window.React=L,window.ReactDOM=L}var B={Children:V,Component:n.Component,EMPTY_OBJ:n.EMPTY_OBJ,Fragment:n.Fragment,PropTypes:b,PureComponent:z,_CI:n._CI,_HI:n._HI,_M:n._M,_MCCC:n._MCCC,_ME:n._ME,_MFCC:n._MFCC,_MP:n._MP,_MR:n._MR,__render:n.__render,cloneElement:r.cloneVNode,cloneVNode:r.cloneVNode,createClass:t.createClass,createComponentVNode:n.createComponentVNode,createElement:o.createElement,createFactory:A,createFragment:n.createFragment,createPortal:n.createPortal,createRef:n.createRef,createRenderer:n.createRenderer,createTextVNode:n.createTextVNode,createVNode:n.createVNode,directClone:n.directClone,findDOMNode:i.findDOMNode,findDOMfromVNode:n.findDOMfromVNode,forwardRef:n.forwardRef,getFlagsForElementVnode:n.getFlagsForElementVnode,hydrate:f,isValidElement:g,linkEvent:n.linkEvent,normalizeProps:n.normalizeProps,options:n.options,render:H,rerender:n.rerender,unmountComponentAtNode:O,unstable_renderSubtreeIntoContainer:S,version:E};Object.defineProperty(e,"Component",{enumerable:!0,get:function(){return n.Component}}),Object.defineProperty(e,"EMPTY_OBJ",{enumerable:!0,get:function(){return n.EMPTY_OBJ}}),Object.defineProperty(e,"Fragment",{enumerable:!0,get:function(){return n.Fragment}}),Object.defineProperty(e,"_CI",{enumerable:!0,get:function(){return n._CI}}),Object.defineProperty(e,"_HI",{enumerable:!0,get:function(){return n._HI}}),Object.defineProperty(e,"_M",{enumerable:!0,get:function(){return n._M}}),Object.defineProperty(e,"_MCCC",{enumerable:!0,get:function(){return n._MCCC}}),Object.defineProperty(e,"_ME",{enumerable:!0,get:function(){return n._ME}}),Object.defineProperty(e,"_MFCC",{enumerable:!0,get:function(){return n._MFCC}}),Object.defineProperty(e,"_MP",{enumerable:!0,get:function(){return n._MP}}),Object.defineProperty(e,"_MR",{enumerable:!0,get:function(){return n._MR}}),Object.defineProperty(e,"__render",{enumerable:!0,get:function(){return n.__render}}),Object.defineProperty(e,"createComponentVNode",{enumerable:!0,get:function(){return n.createComponentVNode}}),Object.defineProperty(e,"createFragment",{enumerable:!0,get:function(){return n.createFragment}}),Object.defineProperty(e,"createPortal",{enumerable:!0,get:function(){return n.createPortal}}),Object.defineProperty(e,"createRef",{enumerable:!0,get:function(){return n.createRef}}),Object.defineProperty(e,"createRenderer",{enumerable:!0,get:function(){return n.createRenderer}}),Object.defineProperty(e,"createTextVNode",{enumerable:!0,get:function(){return n.createTextVNode}}),Object.defineProperty(e,"createVNode",{enumerable:!0,get:function(){return n.createVNode}}),Object.defineProperty(e,"directClone",{enumerable:!0,get:function(){return n.directClone}}),Object.defineProperty(e,"findDOMfromVNode",{enumerable:!0,get:function(){return n.findDOMfromVNode}}),Object.defineProperty(e,"forwardRef",{enumerable:!0,get:function(){return n.forwardRef}}),Object.defineProperty(e,"getFlagsForElementVnode",{enumerable:!0,get:function(){return n.getFlagsForElementVnode}}),Object.defineProperty(e,"linkEvent",{enumerable:!0,get:function(){return n.linkEvent}}),Object.defineProperty(e,"normalizeProps",{enumerable:!0,get:function(){return n.normalizeProps}}),Object.defineProperty(e,"options",{enumerable:!0,get:function(){return n.options}}),Object.defineProperty(e,"rerender",{enumerable:!0,get:function(){return n.rerender}}),Object.defineProperty(e,"cloneElement",{enumerable:!0,get:function(){return r.cloneVNode}}),Object.defineProperty(e,"cloneVNode",{enumerable:!0,get:function(){return r.cloneVNode}}),Object.defineProperty(e,"createClass",{enumerable:!0,get:function(){return t.createClass}}),Object.defineProperty(e,"createElement",{enumerable:!0,get:function(){return o.createElement}}),Object.defineProperty(e,"findDOMNode",{enumerable:!0,get:function(){return i.findDOMNode}}),e.Children=V,e.PropTypes=b,e.PureComponent=z,e.createFactory=A,e.default=B,e.hydrate=f,e.isValidElement=g,e.render=H,e.unmountComponentAtNode=O,e.unstable_renderSubtreeIntoContainer=S,e.version=E,Object.defineProperty(e,"__esModule",{value:!0})})); | ||
!function(e,n){"object"===typeof exports&&"undefined"!==typeof module?n(exports,require("inferno"),require("inferno-clone-vnode"),require("inferno-create-class"),require("inferno-create-element"),require("inferno-extras")):"function"===typeof define&&define.amd?define(["exports","inferno","inferno-clone-vnode","inferno-create-class","inferno-create-element","inferno-extras"],n):n((e="undefined"!==typeof globalThis?globalThis:e||self).Inferno=e.Inferno||{},e.Inferno,e.Inferno,e.Inferno,e.Inferno,e.Inferno)}(this,(function(e,n,r,t,o,i){"use strict";function a(e){return"function"===typeof e}function l(e){return null===e}function c(e){throw e||(e="a runtime error occured! Use Inferno in development environment to find the error."),new Error("Inferno Error: "+e)}function u(e,n){var r=document.createElement("i");return r.innerHTML=n,r.innerHTML===e.innerHTML}function f(e){for(var n,r;e;){if(2033&(n=e.flags))return e.dom;r=e.children,e=8192&n?2===e.childFlags?r:r[r.length-1]:4&n?r.$LI:r}return null}function d(e,n){return Boolean(n&&n.dangerouslySetInnerHTML&&n.dangerouslySetInnerHTML.__html&&u(e,n.dangerouslySetInnerHTML.__html))}function s(e,r,t,o,i,a,l){var c,u=e.type,f=e.ref,d=e.props||n.EMPTY_OBJ;if(a){var s=n._CI(e,u,d,o,i,l);c=h(s.$LI,r,t,s.$CX,i,l),n._MCCC(f,s,l)}else{var p=n._HI(n._RFC(e,o));c=h(p,r,t,o,i,l),e.children=p,n._MFCC(e,l)}return c}function p(e,r,t,o,i,a){var c=e.childFlags,u=e.children,f=e.props,s=e.flags;if(1!==c){if(2===c)l(t)?n._M(u,r,o,i,null,a):t=(t=h(u,r,t,o,i,a))?t.nextSibling:null;else if(16===c)l(t)?r.appendChild(document.createTextNode(u)):1!==r.childNodes.length||3!==t.nodeType?r.textContent=u:t.nodeValue!==u&&(t.nodeValue=u),t=null;else if(12&c)for(var p=!1,m=0,g=u.length;m<g;++m){var y=u[m];l(t)||p&&(16&y.flags)>0?n._M(y,r,o,i,t,a):t=(t=h(y,r,t,o,i,a))?t.nextSibling:null,p=(16&y.flags)>0}if(0===(8192&s))for(var b=null;t;)b=t.nextSibling,r.removeChild(t),t=b}else l(r.firstChild)||d(r,f)||(r.textContent="",448&s&&(r.defaultValue=""))}function m(e,r,t,o,i,a){var c,u=e.props,f=e.className,d=e.flags,s=e.ref;return i=i||(32&d)>0,1!==t.nodeType||t.tagName.toLowerCase()!==e.type?(n._ME(e,null,o,i,null,a),r.replaceChild(e.dom,t)):(e.dom=t,p(e,t,t.firstChild,o,i,a),l(u)||n._MP(e,d,u,t,i),void 0===(c=f)||null===c?""!==t.className&&t.removeAttribute("class"):i?t.setAttribute("class",f):t.className=f,n._MR(s,t,a)),e.dom}function g(e,n,r){if(3!==r.nodeType)n.replaceChild(e.dom=document.createTextNode(e.children),r);else{var t=e.children;r.nodeValue!==t&&(r.nodeValue=t),e.dom=r}return e.dom}function y(e,n,r,t,o,i){var a=e.children;if(2===e.childFlags)return g(a,n,r),a.dom;return p(e,n,r,t,o,i),f(a[a.length-1])}function h(e,n,r,t,o,i){var a=e.flags|=16384;if(14&a)return s(e,n,r,t,o,(4&a)>0,i);if(481&a)return m(e,n,r,t,o,i);if(16&a)return g(e,n,r);if(512&a)return e.dom=r;if(8192&a)return y(e,n,r,t,o,i);return c(),null}function b(e,r,t){var o,i=r.firstChild;if(l(i))n.render(e,r,t);else{var c=[];for(null!==(o=e)&&!1!==o&&!0!==o&&void 0!==o&&(i=h(e,r,i,{},!1,c));i&&(i=i.nextSibling);)r.removeChild(i);if(c.length>0)for(var u;void 0!==(u=c.shift());)u()}r.$V=e,a(t)&&t()}var C=Array.isArray;function _(e){return void 0===e||null===e}function v(e){return"string"===typeof e}function M(e){return null===e}function P(e){if("object"!==typeof e||M(e))return!1;return(495&e.flags)>0}function O(){}O.isRequired=O;var x=function(){return O},N={any:x,array:O,arrayOf:x,bool:O,checkPropTypes:function(){return null},element:x,func:O,instanceOf:x,node:x,number:O,object:O,objectOf:x,oneOf:x,oneOfType:x,shape:x,string:O,symbol:O},V={htmlFor:"for",onDoubleClick:"onDblClick"},E=/[\-:]([a-z])/g,j=function(e){return e[1].toUpperCase()};function w(e,n){switch(e){case"animation-iteration-count":case"border-image-outset":case"border-image-slice":case"border-image-width":case"box-flex":case"box-flex-group":case"box-ordinal-group":case"column-count":case"fill-opacity":case"flex":case"flex-grow":case"flex-negative":case"flex-order":case"flex-positive":case"flex-shrink":case"flood-opacity":case"font-weight":case"grid-column":case"grid-row":case"line-clamp":case"line-height":case"opacity":case"order":case"orphans":case"stop-opacity":case"stroke-dasharray":case"stroke-dashoffset":case"stroke-miterlimit":case"stroke-opacity":case"stroke-width":case"tab-size":case"widows":case"z-index":case"zoom":return n;default:return n+"px"}}["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-constiant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","x-height","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xmlns:xlink","xml:lang","xml:space"].forEach((function(e){var n=e.replace(E,j);V[n]=e}));var F=/[A-Z]/g;function k(e){return n.__render(null,e,null,null),!0}function T(e,n){for(var r=0,t=e.length;r<t;++r){var o=e[r];C(o)?T(o,n):n.push(o)}return n}n.options.reactStyles=!0;var I=[],R={map:function(e,n,r){if(_(e))return e;return e=R.toArray(e),r&&(n=n.bind(r)),e.map(n)},forEach:function(e,n,r){if(_(e))return;e=R.toArray(e),r&&(n=n.bind(r));for(var t=0,o=e.length;t<o;++t)n(null===(i=e[t])||!1===i||!0===i||void 0===i?null:e[t],t,e);var i},count:function(e){return(e=R.toArray(e)).length},only:function(e){if(1!==(e=R.toArray(e)).length)throw new Error("Children.only() expects only one child.");return e[0]},toArray:function(e){if(_(e))return[];if(C(e)){var n=[];return T(e,n),n}return I.concat(e)}};n.Component.prototype.isReactComponent={};var z="15.4.2",D={date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function S(e){for(var r in e){var t=V[r];if(t&&e[r]&&t!==r&&(e[t]=e[r],e[r]=void 0),n.options.reactStyles&&"style"===r){var o=e.style;if(o&&!v(o)){var i={};for(var a in o){var l=o[a],c=a.replace(F,"-$&").toLowerCase();i[c]="number"===typeof l?w(c,l):l}e.style=i}}}}function A(e,n){if(("input"===e||"textarea"===e)&&"radio"!==n.type&&n.onChange){var r,t=n.type&&n.type.toLowerCase();t&&!D[t]||(r="oninput"),r&&!n[r]&&(n[r]=n.onChange,n.onChange=void 0)}}if("undefined"!==typeof Event){var H=Event.prototype;H.persist||(H.persist=function(){})}function L(e){var n,r=[];do{n=e.next(),r.push(n.value)}while(!n.done);return r}var B="undefined"===typeof window?global:window,J="undefined"!==typeof B.Symbol,Y=J?B.Symbol.iterator:"",q=n.options.createVNode;function $(e,n){var r;for(r in e)if(!(r in n))return!0;for(r in n)if(e[r]!==n[r])return!0;return!1}n.options.createVNode=function(e){var r=e.children,t=e.props;_(t)&&(t=e.props={}),!J||M(r)||"object"!==typeof r||C(r)||"function"!==typeof r[Y]||(e.children=L(r[Y]())),!_(r)&&_(t.children)&&(t.children=r),14&e.flags&&v(e.type)&&(e.flags=n.getFlagsForElementVnode(e.type),t&&n.normalizeProps(e));var o=e.flags;448&o&&A(e.type,t),481&o&&(e.className&&(t.className=e.className),S(t)),q&&q(e)};var U=function(e){function n(){e.apply(this,arguments)}return e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n,n.prototype.shouldComponentUpdate=function(e,n){return $(this.props,e)||$(this.state,n)},n}(n.Component),X=function(e){function n(){e.apply(this,arguments)}return e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n,n.prototype.getChildContext=function(){return this.props.context},n.prototype.render=function(e){return e.children},n}(n.Component);function Z(e,r,t,o){K(n.createComponentVNode(4,X,{children:r,context:e.context}),t,null);var i=r.children;return o&&o.call(i),i}function G(e){return o.createElement.bind(null,e)}function K(e,r,t,o){void 0===t&&(t=null),void 0===o&&(o=n.EMPTY_OBJ),n.__render(e,r,t,o);var i=r.$V;if(i&&14&i.flags)return i.children}if("undefined"!==typeof window&&"undefined"===typeof window.React){var Q={Children:R,Component:n.Component,EMPTY_OBJ:n.EMPTY_OBJ,Fragment:n.Fragment,PropTypes:N,PureComponent:U,_CI:n._CI,_HI:n._HI,_M:n._M,_MCCC:n._MCCC,_ME:n._ME,_MFCC:n._MFCC,_MP:n._MP,_MR:n._MR,__render:n.__render,cloneElement:r.cloneVNode,cloneVNode:r.cloneVNode,createClass:t.createClass,createComponentVNode:n.createComponentVNode,createElement:o.createElement,createFactory:G,createFragment:n.createFragment,createPortal:n.createPortal,createRef:n.createRef,createRenderer:n.createRenderer,createTextVNode:n.createTextVNode,createVNode:n.createVNode,directClone:n.directClone,findDOMNode:i.findDOMNode,findDOMfromVNode:n.findDOMfromVNode,forwardRef:n.forwardRef,getFlagsForElementVnode:n.getFlagsForElementVnode,hydrate:b,isValidElement:P,linkEvent:n.linkEvent,normalizeProps:n.normalizeProps,options:n.options,render:K,rerender:n.rerender,unmountComponentAtNode:k,unstable_renderSubtreeIntoContainer:Z,version:z};window.React=Q,window.ReactDOM=Q}var W={Children:R,Component:n.Component,EMPTY_OBJ:n.EMPTY_OBJ,Fragment:n.Fragment,PropTypes:N,PureComponent:U,_CI:n._CI,_HI:n._HI,_M:n._M,_MCCC:n._MCCC,_ME:n._ME,_MFCC:n._MFCC,_MP:n._MP,_MR:n._MR,__render:n.__render,cloneElement:r.cloneVNode,cloneVNode:r.cloneVNode,createClass:t.createClass,createComponentVNode:n.createComponentVNode,createElement:o.createElement,createFactory:G,createFragment:n.createFragment,createPortal:n.createPortal,createRef:n.createRef,createRenderer:n.createRenderer,createTextVNode:n.createTextVNode,createVNode:n.createVNode,directClone:n.directClone,findDOMNode:i.findDOMNode,findDOMfromVNode:n.findDOMfromVNode,forwardRef:n.forwardRef,getFlagsForElementVnode:n.getFlagsForElementVnode,hydrate:b,isValidElement:P,linkEvent:n.linkEvent,normalizeProps:n.normalizeProps,options:n.options,render:K,rerender:n.rerender,unmountComponentAtNode:k,unstable_renderSubtreeIntoContainer:Z,version:z};Object.defineProperty(e,"Component",{enumerable:!0,get:function(){return n.Component}}),Object.defineProperty(e,"EMPTY_OBJ",{enumerable:!0,get:function(){return n.EMPTY_OBJ}}),Object.defineProperty(e,"Fragment",{enumerable:!0,get:function(){return n.Fragment}}),Object.defineProperty(e,"_CI",{enumerable:!0,get:function(){return n._CI}}),Object.defineProperty(e,"_HI",{enumerable:!0,get:function(){return n._HI}}),Object.defineProperty(e,"_M",{enumerable:!0,get:function(){return n._M}}),Object.defineProperty(e,"_MCCC",{enumerable:!0,get:function(){return n._MCCC}}),Object.defineProperty(e,"_ME",{enumerable:!0,get:function(){return n._ME}}),Object.defineProperty(e,"_MFCC",{enumerable:!0,get:function(){return n._MFCC}}),Object.defineProperty(e,"_MP",{enumerable:!0,get:function(){return n._MP}}),Object.defineProperty(e,"_MR",{enumerable:!0,get:function(){return n._MR}}),Object.defineProperty(e,"__render",{enumerable:!0,get:function(){return n.__render}}),Object.defineProperty(e,"createComponentVNode",{enumerable:!0,get:function(){return n.createComponentVNode}}),Object.defineProperty(e,"createFragment",{enumerable:!0,get:function(){return n.createFragment}}),Object.defineProperty(e,"createPortal",{enumerable:!0,get:function(){return n.createPortal}}),Object.defineProperty(e,"createRef",{enumerable:!0,get:function(){return n.createRef}}),Object.defineProperty(e,"createRenderer",{enumerable:!0,get:function(){return n.createRenderer}}),Object.defineProperty(e,"createTextVNode",{enumerable:!0,get:function(){return n.createTextVNode}}),Object.defineProperty(e,"createVNode",{enumerable:!0,get:function(){return n.createVNode}}),Object.defineProperty(e,"directClone",{enumerable:!0,get:function(){return n.directClone}}),Object.defineProperty(e,"findDOMfromVNode",{enumerable:!0,get:function(){return n.findDOMfromVNode}}),Object.defineProperty(e,"forwardRef",{enumerable:!0,get:function(){return n.forwardRef}}),Object.defineProperty(e,"getFlagsForElementVnode",{enumerable:!0,get:function(){return n.getFlagsForElementVnode}}),Object.defineProperty(e,"linkEvent",{enumerable:!0,get:function(){return n.linkEvent}}),Object.defineProperty(e,"normalizeProps",{enumerable:!0,get:function(){return n.normalizeProps}}),Object.defineProperty(e,"options",{enumerable:!0,get:function(){return n.options}}),Object.defineProperty(e,"rerender",{enumerable:!0,get:function(){return n.rerender}}),Object.defineProperty(e,"cloneElement",{enumerable:!0,get:function(){return r.cloneVNode}}),Object.defineProperty(e,"cloneVNode",{enumerable:!0,get:function(){return r.cloneVNode}}),Object.defineProperty(e,"createClass",{enumerable:!0,get:function(){return t.createClass}}),Object.defineProperty(e,"createElement",{enumerable:!0,get:function(){return o.createElement}}),Object.defineProperty(e,"findDOMNode",{enumerable:!0,get:function(){return i.findDOMNode}}),e.Children=R,e.PropTypes=N,e.PureComponent=U,e.createFactory=G,e.default=W,e.hydrate=b,e.isValidElement=P,e.render=K,e.unmountComponentAtNode=k,e.unstable_renderSubtreeIntoContainer=Z,e.version=z,Object.defineProperty(e,"__esModule",{value:!0})})); |
{ | ||
"name": "inferno-compat", | ||
"version": "7.4.8", | ||
"version": "7.4.9", | ||
"license": "MIT", | ||
@@ -36,13 +36,13 @@ "description": "Provides a compatibility with React codebases", | ||
"dependencies": { | ||
"inferno": "7.4.8", | ||
"inferno-clone-vnode": "7.4.8", | ||
"inferno-create-class": "7.4.8", | ||
"inferno-create-element": "7.4.8", | ||
"inferno-extras": "7.4.8" | ||
"inferno": "7.4.9", | ||
"inferno-clone-vnode": "7.4.9", | ||
"inferno-create-class": "7.4.9", | ||
"inferno-create-element": "7.4.9", | ||
"inferno-extras": "7.4.9" | ||
}, | ||
"devDependencies": { | ||
"inferno-hyperscript": "7.4.8", | ||
"inferno-shared": "7.4.8", | ||
"inferno-test-utils": "7.4.8", | ||
"inferno-vnode-flags": "7.4.8" | ||
"inferno-hyperscript": "7.4.9", | ||
"inferno-shared": "7.4.9", | ||
"inferno-test-utils": "7.4.9", | ||
"inferno-vnode-flags": "7.4.9" | ||
}, | ||
@@ -58,4 +58,3 @@ "rollup": { | ||
} | ||
}, | ||
"gitHead": "521a4c39ca229345f76e43d6b2255fbf61b809a1" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
186495
28
+ Addedinferno@7.4.9(transitive)
+ Addedinferno-clone-vnode@7.4.9(transitive)
+ Addedinferno-create-class@7.4.9(transitive)
+ Addedinferno-create-element@7.4.9(transitive)
+ Addedinferno-extras@7.4.9(transitive)
+ Addedinferno-shared@7.4.9(transitive)
+ Addedinferno-vnode-flags@7.4.9(transitive)
- Removedinferno@7.4.8(transitive)
- Removedinferno-clone-vnode@7.4.8(transitive)
- Removedinferno-create-class@7.4.8(transitive)
- Removedinferno-create-element@7.4.8(transitive)
- Removedinferno-extras@7.4.8(transitive)
- Removedinferno-shared@7.4.8(transitive)
- Removedinferno-vnode-flags@7.4.8(transitive)
Updatedinferno@7.4.9
Updatedinferno-clone-vnode@7.4.9
Updatedinferno-create-class@7.4.9
Updatedinferno-create-element@7.4.9
Updatedinferno-extras@7.4.9