Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

inferno-hydrate

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inferno-hydrate - npm Package Compare versions

Comparing version 7.3.1 to 7.3.2

2

dist/inferno-hydrate.min.js

@@ -1,1 +0,1 @@

!function(e,n){"object"===typeof exports&&"undefined"!==typeof module?n(exports,require("inferno")):"function"===typeof define&&define.amd?define(["exports","inferno"],n):n((e=e||self).Inferno=e.Inferno||{},e.Inferno)}(this,function(e,n){"use strict";var r="a runtime error occured! Use Inferno in development environment to find the error.";function t(e){return"function"===typeof e}function l(e){return null===e}function o(e){throw e||(e=r),new Error("Inferno Error: "+e)}function i(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 u(e,n){return Boolean(n&&n.dangerouslySetInnerHTML&&n.dangerouslySetInnerHTML.__html&&i(e,n.dangerouslySetInnerHTML.__html))}function d(e,n,r){return 32768&e.flags?e.type.render(r,e.ref,n):e.type(r,n)}function a(e,r,t,l,o,i,f){var u,a=e.type,s=e.ref,c=e.props||n.EMPTY_OBJ;if(i){var h=n._CI(e,a,c,l,o,f);u=p(h.$LI,r,t,h.$CX,o,f),n._MCCC(s,h,f)}else{var m=n._HI(d(e,l,c));u=p(m,r,t,l,o,f),e.children=m,n._MFCC(e,f)}return u}function s(e,r,t,o,i,f){var d=e.childFlags,a=e.children,s=e.props,c=e.flags;if(1!==d){if(2===d)l(t)?n._M(a,r,o,i,null,f):t=(t=p(a,r,t,o,i,f))?t.nextSibling:null;else if(16===d)l(t)?r.appendChild(document.createTextNode(a)):1!==r.childNodes.length||3!==t.nodeType?r.textContent=a:t.nodeValue!==a&&(t.nodeValue=a),t=null;else if(12&d)for(var h=!1,m=0,v=a.length;m<v;++m){var g=a[m];l(t)||h&&(16&g.flags)>0?n._M(g,r,o,i,t,f):t=(t=p(g,r,t,o,i,f))?t.nextSibling:null,h=(16&g.flags)>0}if(0===(8192&c))for(var C=null;t;)C=t.nextSibling,r.removeChild(t),t=C}else l(r.firstChild)||u(r,s)||(r.textContent="",448&c&&(r.defaultValue=""))}function c(e,r,t,o,i,f){var u,d=e.props,a=e.className,c=e.flags,h=e.ref;return i=i||(32&c)>0,1!==t.nodeType||t.tagName.toLowerCase()!==e.type?(n._ME(e,null,o,i,null,f),r.replaceChild(e.dom,t)):(e.dom=t,s(e,t,t.firstChild,o,i,f),l(d)||n._MP(e,c,d,t,i),void 0===(u=a)||null===u?""!==t.className&&t.removeAttribute("class"):i?t.setAttribute("class",a):t.className=a,n._MR(h,t,f)),e.dom}function h(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 m(e,n,r,t,l,o){var i=e.children;if(2===e.childFlags)return h(i,n,r),i.dom;return s(e,n,r,t,l,o),f(i[i.length-1])}function p(e,n,r,t,l,i){var f=e.flags|=16384;if(14&f)return a(e,n,r,t,l,(4&f)>0,i);if(481&f)return c(e,n,r,t,l,i);if(16&f)return h(e,n,r);if(512&f)return e.dom=r;if(8192&f)return m(e,n,r,t,l,i);return o(),null}e.hydrate=function(e,r,o){var i,f=r.firstChild;if(l(f))n.render(e,r,o);else{var u=[];for(null!==(i=e)&&!1!==i&&!0!==i&&void 0!==i&&(f=p(e,r,f,{},!1,u));f&&(f=f.nextSibling);)r.removeChild(f);if(u.length>0)for(var d;void 0!==(d=u.shift());)d()}r.$V=e,t(o)&&o()},Object.defineProperty(e,"__esModule",{value:!0})});
!function(e,n){"object"===typeof exports&&"undefined"!==typeof module?n(exports,require("inferno")):"function"===typeof define&&define.amd?define(["exports","inferno"],n):n((e=e||self).Inferno=e.Inferno||{},e.Inferno)}(this,(function(e,n){"use strict";var r="a runtime error occured! Use Inferno in development environment to find the error.";function t(e){return null===e}function l(e,r,l,o,f,u){var d=e.childFlags,a=e.children,s=e.props,c=e.flags;if(1!==d){if(2===d)t(l)?n._M(a,r,o,f,null,u):l=(l=i(a,r,l,o,f,u))?l.nextSibling:null;else if(16===d)t(l)?r.appendChild(document.createTextNode(a)):1!==r.childNodes.length||3!==l.nodeType?r.textContent=a:l.nodeValue!==a&&(l.nodeValue=a),l=null;else if(12&d)for(var h=!1,m=0,p=a.length;m<p;++m){var v=a[m];t(l)||h&&(16&v.flags)>0?n._M(v,r,o,f,l,u):l=(l=i(v,r,l,o,f,u))?l.nextSibling:null,h=(16&v.flags)>0}if(0===(8192&c))for(var g=null;l;)g=l.nextSibling,r.removeChild(l),l=g}else t(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,s)||(r.textContent="",448&c&&(r.defaultValue=""))}function o(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 i(e,f,u,d,a,s){var c=e.flags|=16384;if(14&c)return function(e,r,t,l,o,f,u){var d,a=e.type,s=e.ref,c=e.props||n.EMPTY_OBJ;if(f){var h=n._CI(e,a,c,l,o,u);d=i(h.$LI,r,t,h.$CX,o,u),n._MCCC(s,h,u)}else{var m=n._HI(function(e,n,r){return 32768&e.flags?e.type.render(r,e.ref,n):e.type(r,n)}(e,l,c));d=i(m,r,t,l,o,u),e.children=m,n._MFCC(e,u)}return d}(e,f,u,d,a,(4&c)>0,s);if(481&c)return function(e,r,o,i,f,u){var d,a=e.props,s=e.className,c=e.flags,h=e.ref;return f=f||(32&c)>0,1!==o.nodeType||o.tagName.toLowerCase()!==e.type?(n._ME(e,null,i,f,null,u),r.replaceChild(e.dom,o)):(e.dom=o,l(e,o,o.firstChild,i,f,u),t(a)||n._MP(e,c,a,o,f),void 0===(d=s)||null===d?""!==o.className&&o.removeAttribute("class"):f?o.setAttribute("class",s):o.className=s,n._MR(h,o,u)),e.dom}(e,f,u,d,a,s);if(16&c)return o(e,f,u);if(512&c)return e.dom=u;if(8192&c)return function(e,n,r,t,i,f){var u=e.children;if(2===e.childFlags)return o(u,n,r),u.dom;return l(e,n,r,t,i,f),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}(u[u.length-1])}(e,f,u,d,a,s);return function(e){throw e||(e=r),new Error("Inferno Error: "+e)}(),null}e.hydrate=function(e,r,l){var o,f=r.firstChild;if(t(f))n.render(e,r,l);else{var u=[];for(null!==(o=e)&&!1!==o&&!0!==o&&void 0!==o&&(f=i(e,r,f,{},!1,u));f&&(f=f.nextSibling);)r.removeChild(f);if(u.length>0)for(var d;void 0!==(d=u.shift());)d()}r.$V=e,function(e){return"function"===typeof e}(l)&&l()},Object.defineProperty(e,"__esModule",{value:!0})}));
{
"name": "inferno-hydrate",
"version": "7.3.1",
"version": "7.3.2",
"license": "MIT",

@@ -35,9 +35,9 @@ "description": "Hydrate plugin to inferno. This package can be used to reuse server side rendered html",

"dependencies": {
"inferno": "7.3.1"
"inferno": "7.3.2"
},
"devDependencies": {
"inferno-create-element": "7.3.1",
"inferno-hyperscript": "7.3.1",
"inferno-shared": "7.3.1",
"inferno-vnode-flags": "7.3.1"
"inferno-create-element": "7.3.2",
"inferno-hyperscript": "7.3.2",
"inferno-shared": "7.3.2",
"inferno-vnode-flags": "7.3.2"
},

@@ -54,3 +54,3 @@ "rollup": {

},
"gitHead": "520273383d027e7aa0bf45aaeec45be1b28153b7"
"gitHead": "deccbe52e60eeaa070db580c6e84f7e225e25811"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc