New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@hpcc-js/preact-shim

Package Overview
Dependencies
Maintainers
1
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hpcc-js/preact-shim - npm Package Compare versions

Comparing version 0.0.40 to 0.0.42

build/preact-shim.min.js.map

2

build/preact-shim.min.js

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

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(e["@hpcc-js/preact-shim"]={})}(this,function(e){"use strict";function t(e,t){for(var n in t)e[n]=t[n];return e}function n(e){!e._dirty&&(e._dirty=!0)&&1==N.push(e)&&(y.debounceRendering||g)(function(){var e,t=N;N=[];for(;e=t.pop();)e._dirty&&v(e)})}function o(e,t){return e.normalizedNodeName===t||e.nodeName.toLowerCase()===t.toLowerCase()}function r(e){var n=t({},e.attributes);n.children=e.children;var o=e.nodeName.defaultProps;if(void 0!==o)for(var r in o)void 0===n[r]&&(n[r]=o[r]);return n}function i(e){var t=e.parentNode;t&&t.removeChild(e)}function l(e,t,n,o,r){if("className"===t&&(t="class"),"key"===t);else if("ref"===t)n&&n(null),o&&o(e);else if("class"!==t||r)if("style"===t){if(o&&"string"!=typeof o&&"string"!=typeof n||(e.style.cssText=o||""),o&&"object"==typeof o){if("string"!=typeof n)for(var i in n)i in o||(e.style[i]="");for(var i in o)e.style[i]="number"==typeof o[i]&&!1===x.test(i)?o[i]+"px":o[i]}}else if("dangerouslySetInnerHTML"===t)o&&(e.innerHTML=o.__html||"");else if("o"==t[0]&&"n"==t[1]){var l=t!==(t=t.replace(/Capture$/,""));t=t.toLowerCase().substring(2),o?n||e.addEventListener(t,a,l):e.removeEventListener(t,a,l),(e._listeners||(e._listeners={}))[t]=o}else if("list"!==t&&"type"!==t&&!r&&t in e)!function(e,t,n){try{e[t]=n}catch(e){}}(e,t,null==o?"":o),null!=o&&!1!==o||e.removeAttribute(t);else{var p=r&&t!==(t=t.replace(/^xlink\:?/,""));null==o||!1===o?p?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.removeAttribute(t):"function"!=typeof o&&(p?e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),o):e.setAttribute(t,o))}else e.className=o||""}function a(e){return this._listeners[e.type](y.event&&y.event(e)||e)}function p(){for(var e;e=k.pop();)y.afterMount&&y.afterMount(e),e.componentDidMount&&e.componentDidMount()}function s(e,t,n,o,r,i){w++||(S=null!=r&&void 0!==r.ownerSVGElement,U=null!=e&&!("__preactattr_"in e));var l=c(e,t,n,o,i);return r&&l.parentNode!==r&&r.appendChild(l),--w||(U=!1,i||p()),l}function c(e,t,n,a,p){var s=e,f=S;if(null!=t&&"boolean"!=typeof t||(t=""),"string"==typeof t||"number"==typeof t)return e&&void 0!==e.splitText&&e.parentNode&&(!e._component||p)?e.nodeValue!=t&&(e.nodeValue=t):(s=document.createTextNode(t),e&&(e.parentNode&&e.parentNode.replaceChild(s,e),u(e,!0))),s.__preactattr_=!0,s;var v=t.nodeName;if("function"==typeof v)return function(e,t,n,o){var i=e&&e._component,l=i,a=e,p=i&&e._componentConstructor===t.nodeName,s=p,c=r(t);for(;i&&!s&&(i=i._parentComponent);)s=i.constructor===t.nodeName;i&&s&&(!o||i._component)?(_(i,c,3,n,o),e=i.base):(l&&!p&&(m(l),e=a=null),i=d(t.nodeName,c,n),e&&!i.nextBase&&(i.nextBase=e,a=null),_(i,c,1,n,o),e=i.base,a&&e!==a&&(a._component=null,u(a,!1)));return e}(e,t,n,a);if(S="svg"===v||"foreignObject"!==v&&S,v=String(v),(!e||!o(e,v))&&(s=function(e,t){var n=t?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e);return n.normalizedNodeName=e,n}(v,S),e)){for(;e.firstChild;)s.appendChild(e.firstChild);e.parentNode&&e.parentNode.replaceChild(s,e),u(e,!0)}var h=s.firstChild,y=s.__preactattr_,b=t.children;if(null==y){y=s.__preactattr_={};for(var C=s.attributes,g=C.length;g--;)y[C[g].name]=C[g].value}return!U&&b&&1===b.length&&"string"==typeof b[0]&&null!=h&&void 0!==h.splitText&&null==h.nextSibling?h.nodeValue!=b[0]&&(h.nodeValue=b[0]):(b&&b.length||null!=h)&&function(e,t,n,r,l){var a,p,s,f,d,_=e.childNodes,v=[],m={},h=0,y=0,b=_.length,C=0,g=t?t.length:0;if(0!==b)for(w=0;w<b;w++){var x=_[w],N=x.__preactattr_;null!=(k=g&&N?x._component?x._component.__key:N.key:null)?(h++,m[k]=x):(N||(void 0!==x.splitText?!l||x.nodeValue.trim():l))&&(v[C++]=x)}if(0!==g)for(w=0;w<g;w++){f=t[w],d=null;var k=f.key;if(null!=k)h&&void 0!==m[k]&&(d=m[k],m[k]=void 0,h--);else if(!d&&y<C)for(a=y;a<C;a++)if(void 0!==v[a]&&function(e,t,n){return"string"==typeof t||"number"==typeof t?void 0!==e.splitText:"string"==typeof t.nodeName?!e._componentConstructor&&o(e,t.nodeName):n||e._componentConstructor===t.nodeName}(p=v[a],f,l)){d=p,v[a]=void 0,a===C-1&&C--,a===y&&y++;break}d=c(d,f,n,r),s=_[w],d&&d!==e&&d!==s&&(null==s?e.appendChild(d):d===s.nextSibling?i(s):e.insertBefore(d,s))}if(h)for(var w in m)void 0!==m[w]&&u(m[w],!1);for(;y<=C;)void 0!==(d=v[C--])&&u(d,!1)}(s,b,n,a,U||null!=y.dangerouslySetInnerHTML),function(e,t,n){var o;for(o in n)t&&null!=t[o]||null==n[o]||l(e,o,n[o],n[o]=void 0,S);for(o in t)"children"===o||"innerHTML"===o||o in n&&t[o]===("value"===o||"checked"===o?e[o]:n[o])||l(e,o,n[o],n[o]=t[o],S)}(s,t.attributes,y),S=f,s}function u(e,t){var n=e._component;n?m(n):(null!=e.__preactattr_&&e.__preactattr_.ref&&e.__preactattr_.ref(null),!1!==t&&null!=e.__preactattr_||i(e),f(e))}function f(e){for(e=e.lastChild;e;){var t=e.previousSibling;u(e,!0),e=t}}function d(e,t,n){var o,r=L[e.name];if(e.prototype&&e.prototype.render?(o=new e(t,n),h.call(o,t,n)):((o=new h(t,n)).constructor=e,o.render=function(e,t,n){return this.constructor(e,n)}),r)for(var i=r.length;i--;)if(r[i].constructor===e){o.nextBase=r[i].nextBase,r.splice(i,1);break}return o}function _(e,t,o,r,i){e._disable||(e._disable=!0,(e.__ref=t.ref)&&delete t.ref,(e.__key=t.key)&&delete t.key,!e.base||i?e.componentWillMount&&e.componentWillMount():e.componentWillReceiveProps&&e.componentWillReceiveProps(t,r),r&&r!==e.context&&(e.prevContext||(e.prevContext=e.context),e.context=r),e.prevProps||(e.prevProps=e.props),e.props=t,e._disable=!1,0!==o&&(1!==o&&!1===y.syncComponentUpdates&&e.base?n(e):v(e,1,i)),e.__ref&&e.__ref(e))}function v(e,n,o,i){if(!e._disable){var l,a,c,f=e.props,h=e.state,b=e.context,C=e.prevProps||f,g=e.prevState||h,x=e.prevContext||b,N=e.base,S=e.nextBase,U=N||S,L=e._component,M=!1;if(N&&(e.props=C,e.state=g,e.context=x,2!==n&&e.shouldComponentUpdate&&!1===e.shouldComponentUpdate(f,h,b)?M=!0:e.componentWillUpdate&&e.componentWillUpdate(f,h,b),e.props=f,e.state=h,e.context=b),e.prevProps=e.prevState=e.prevContext=e.nextBase=null,e._dirty=!1,!M){l=e.render(f,h,b),e.getChildContext&&(b=t(t({},b),e.getChildContext()));var P,T,B=l&&l.nodeName;if("function"==typeof B){var W=r(l);(a=L)&&a.constructor===B&&W.key==a.__key?_(a,W,1,b,!1):(P=a,e._component=a=d(B,W,b),a.nextBase=a.nextBase||S,a._parentComponent=e,_(a,W,0,b,!1),v(a,1,o,!0)),T=a.base}else c=U,(P=L)&&(c=e._component=null),(U||1===n)&&(c&&(c._component=null),T=s(c,l,b,o||!N,U&&U.parentNode,!0));if(U&&T!==U&&a!==L){var V=U.parentNode;V&&T!==V&&(V.replaceChild(T,U),P||(U._component=null,u(U,!1)))}if(P&&m(P),e.base=T,T&&!i){for(var j=e,A=e;A=A._parentComponent;)(j=A).base=T;T._component=j,T._componentConstructor=j.constructor}}if(!N||o?k.unshift(e):M||(e.componentDidUpdate&&e.componentDidUpdate(C,g,x),y.afterUpdate&&y.afterUpdate(e)),null!=e._renderCallbacks)for(;e._renderCallbacks.length;)e._renderCallbacks.pop().call(e);w||i||p()}}function m(e){y.beforeUnmount&&y.beforeUnmount(e);var t=e.base;e._disable=!0,e.componentWillUnmount&&e.componentWillUnmount(),e.base=null;var n=e._component;n?m(n):t&&(t.__preactattr_&&t.__preactattr_.ref&&t.__preactattr_.ref(null),e.nextBase=t,i(t),function(e){var t=e.constructor.name;(L[t]||(L[t]=[])).push(e)}(e),f(t)),e.__ref&&e.__ref(null)}function h(e,t){this._dirty=!0,this.context=t,this.props=e,this.state=this.state||{}}var y={},b=[],C=[],g="function"==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):setTimeout,x=/acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,N=[],k=[],w=0,S=!1,U=!1,L={};t(h.prototype,{setState:function(e,o){var r=this.state;this.prevState||(this.prevState=t({},r)),t(r,"function"==typeof e?e(r,this.props):e),o&&(this._renderCallbacks=this._renderCallbacks||[]).push(o),n(this)},forceUpdate:function(e){e&&(this._renderCallbacks=this._renderCallbacks||[]).push(e),v(this,2)},render:function(){}}),e.h=function(e,t){var n,o,r,i,l=C;for(i=arguments.length;i-- >2;)b.push(arguments[i]);for(t&&null!=t.children&&(b.length||b.push(t.children),delete t.children);b.length;)if((o=b.pop())&&void 0!==o.pop)for(i=o.length;i--;)b.push(o[i]);else"boolean"==typeof o&&(o=null),(r="function"!=typeof e)&&(null==o?o="":"number"==typeof o?o=String(o):"string"!=typeof o&&(r=!1)),r&&n?l[l.length-1]+=o:l===C?l=[o]:l.push(o),n=r;var a=new function(){};return a.nodeName=e,a.children=l,a.attributes=null==t?void 0:t,a.key=null==t?void 0:t.key,void 0!==y.vnode&&y.vnode(a),a},e.Component=h,e.render=function(e,t,n){return s(n,e,{},!1,t,!1)},Object.defineProperty(e,"__esModule",{value:!0})});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(e["@hpcc-js/preact-shim"]={})}(this,function(e){"use strict";function t(e,t){for(var n in t)e[n]=t[n];return e}function n(e){!e._dirty&&(e._dirty=!0)&&1==S.push(e)&&(g.debounceRendering||k)(o)}function o(){var e,t=S;for(S=[];e=t.pop();)e._dirty&&y(e)}function r(e,t,n){return"string"==typeof t||"number"==typeof t?void 0!==e.splitText:"string"==typeof t.nodeName?!e._componentConstructor&&i(e,t.nodeName):n||e._componentConstructor===t.nodeName}function i(e,t){return e.normalizedNodeName===t||e.nodeName.toLowerCase()===t.toLowerCase()}function l(e){var n=t({},e.attributes);n.children=e.children;var o=e.nodeName.defaultProps;if(void 0!==o)for(var r in o)void 0===n[r]&&(n[r]=o[r]);return n}function a(e){var t=e.parentNode;t&&t.removeChild(e)}function p(e,t,n,o,r){if("className"===t&&(t="class"),"key"===t);else if("ref"===t)n&&n(null),o&&o(e);else if("class"!==t||r)if("style"===t){if(o&&"string"!=typeof o&&"string"!=typeof n||(e.style.cssText=o||""),o&&"object"==typeof o){if("string"!=typeof n)for(var i in n)i in o||(e.style[i]="");for(var i in o)e.style[i]="number"==typeof o[i]&&!1===w.test(i)?o[i]+"px":o[i]}}else if("dangerouslySetInnerHTML"===t)o&&(e.innerHTML=o.__html||"");else if("o"==t[0]&&"n"==t[1]){var l=t!==(t=t.replace(/Capture$/,""));t=t.toLowerCase().substring(2),o?n||e.addEventListener(t,s,l):e.removeEventListener(t,s,l),(e._listeners||(e._listeners={}))[t]=o}else if("list"!==t&&"type"!==t&&!r&&t in e)!function(e,t,n){try{e[t]=n}catch(e){}}(e,t,null==o?"":o),null!=o&&!1!==o||e.removeAttribute(t);else{var a=r&&t!==(t=t.replace(/^xlink\:?/,""));null==o||!1===o?a?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.removeAttribute(t):"function"!=typeof o&&(a?e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),o):e.setAttribute(t,o))}else e.className=o||""}function s(e){return this._listeners[e.type](g.event&&g.event(e)||e)}function c(){for(var e;e=U.pop();)g.afterMount&&g.afterMount(e),e.componentDidMount&&e.componentDidMount()}function u(e,t,n,o,r,i){L++||(M=null!=r&&void 0!==r.ownerSVGElement,P=null!=e&&!("__preactattr_"in e));var l=f(e,t,n,o,i);return r&&l.parentNode!==r&&r.appendChild(l),--L||(P=!1,i||c()),l}function f(e,t,n,o,s){var c=e,u=M;if(null!=t&&"boolean"!=typeof t||(t=""),"string"==typeof t||"number"==typeof t)return e&&void 0!==e.splitText&&e.parentNode&&(!e._component||s)?e.nodeValue!=t&&(e.nodeValue=t):(c=document.createTextNode(t),e&&(e.parentNode&&e.parentNode.replaceChild(c,e),d(e,!0))),c.__preactattr_=!0,c;var _=t.nodeName;if("function"==typeof _)return function(e,t,n,o){var r=e&&e._component,i=r,a=e,p=r&&e._componentConstructor===t.nodeName,s=p,c=l(t);for(;r&&!s&&(r=r._parentComponent);)s=r.constructor===t.nodeName;r&&s&&(!o||r._component)?(h(r,c,3,n,o),e=r.base):(i&&!p&&(b(i),e=a=null),r=v(t.nodeName,c,n),e&&!r.nextBase&&(r.nextBase=e,a=null),h(r,c,1,n,o),e=r.base,a&&e!==a&&(a._component=null,d(a,!1)));return e}(e,t,n,o);if(M="svg"===_||"foreignObject"!==_&&M,_=String(_),(!e||!i(e,_))&&(c=function(e,t){var n=t?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e);return n.normalizedNodeName=e,n}(_,M),e)){for(;e.firstChild;)c.appendChild(e.firstChild);e.parentNode&&e.parentNode.replaceChild(c,e),d(e,!0)}var m=c.firstChild,y=c.__preactattr_,C=t.children;if(null==y){y=c.__preactattr_={};for(var g=c.attributes,x=g.length;x--;)y[g[x].name]=g[x].value}return!P&&C&&1===C.length&&"string"==typeof C[0]&&null!=m&&void 0!==m.splitText&&null==m.nextSibling?m.nodeValue!=C[0]&&(m.nodeValue=C[0]):(C&&C.length||null!=m)&&function(e,t,n,o,i){var l,p,s,c,u,_=e.childNodes,v=[],m={},h=0,y=0,b=_.length,C=0,g=t?t.length:0;if(0!==b)for(w=0;w<b;w++){var x=_[w],N=x.__preactattr_;null!=(k=g&&N?x._component?x._component.__key:N.key:null)?(h++,m[k]=x):(N||(void 0!==x.splitText?!i||x.nodeValue.trim():i))&&(v[C++]=x)}if(0!==g)for(w=0;w<g;w++){c=t[w],u=null;var k=c.key;if(null!=k)h&&void 0!==m[k]&&(u=m[k],m[k]=void 0,h--);else if(!u&&y<C)for(l=y;l<C;l++)if(void 0!==v[l]&&r(p=v[l],c,i)){u=p,v[l]=void 0,l===C-1&&C--,l===y&&y++;break}u=f(u,c,n,o),s=_[w],u&&u!==e&&u!==s&&(null==s?e.appendChild(u):u===s.nextSibling?a(s):e.insertBefore(u,s))}if(h)for(var w in m)void 0!==m[w]&&d(m[w],!1);for(;y<=C;)void 0!==(u=v[C--])&&d(u,!1)}(c,C,n,o,P||null!=y.dangerouslySetInnerHTML),function(e,t,n){var o;for(o in n)t&&null!=t[o]||null==n[o]||p(e,o,n[o],n[o]=void 0,M);for(o in t)"children"===o||"innerHTML"===o||o in n&&t[o]===("value"===o||"checked"===o?e[o]:n[o])||p(e,o,n[o],n[o]=t[o],M)}(c,t.attributes,y),M=u,c}function d(e,t){var n=e._component;n?b(n):(null!=e.__preactattr_&&e.__preactattr_.ref&&e.__preactattr_.ref(null),!1!==t&&null!=e.__preactattr_||a(e),_(e))}function _(e){for(e=e.lastChild;e;){var t=e.previousSibling;d(e,!0),e=t}}function v(e,t,n){var o,r=T[e.name];if(e.prototype&&e.prototype.render?(o=new e(t,n),C.call(o,t,n)):((o=new C(t,n)).constructor=e,o.render=m),r)for(var i=r.length;i--;)if(r[i].constructor===e){o.nextBase=r[i].nextBase,r.splice(i,1);break}return o}function m(e,t,n){return this.constructor(e,n)}function h(e,t,o,r,i){e._disable||(e._disable=!0,(e.__ref=t.ref)&&delete t.ref,(e.__key=t.key)&&delete t.key,!e.base||i?e.componentWillMount&&e.componentWillMount():e.componentWillReceiveProps&&e.componentWillReceiveProps(t,r),r&&r!==e.context&&(e.prevContext||(e.prevContext=e.context),e.context=r),e.prevProps||(e.prevProps=e.props),e.props=t,e._disable=!1,0!==o&&(1!==o&&!1===g.syncComponentUpdates&&e.base?n(e):y(e,1,i)),e.__ref&&e.__ref(e))}function y(e,n,o,r){if(!e._disable){var i,a,p,s=e.props,f=e.state,_=e.context,m=e.prevProps||s,C=e.prevState||f,x=e.prevContext||_,N=e.base,k=e.nextBase,w=N||k,S=e._component,M=!1;if(N&&(e.props=m,e.state=C,e.context=x,2!==n&&e.shouldComponentUpdate&&!1===e.shouldComponentUpdate(s,f,_)?M=!0:e.componentWillUpdate&&e.componentWillUpdate(s,f,_),e.props=s,e.state=f,e.context=_),e.prevProps=e.prevState=e.prevContext=e.nextBase=null,e._dirty=!1,!M){i=e.render(s,f,_),e.getChildContext&&(_=t(t({},_),e.getChildContext()));var P,T,B=i&&i.nodeName;if("function"==typeof B){var W=l(i);(a=S)&&a.constructor===B&&W.key==a.__key?h(a,W,1,_,!1):(P=a,e._component=a=v(B,W,_),a.nextBase=a.nextBase||k,a._parentComponent=e,h(a,W,0,_,!1),y(a,1,o,!0)),T=a.base}else p=w,(P=S)&&(p=e._component=null),(w||1===n)&&(p&&(p._component=null),T=u(p,i,_,o||!N,w&&w.parentNode,!0));if(w&&T!==w&&a!==S){var V=w.parentNode;V&&T!==V&&(V.replaceChild(T,w),P||(w._component=null,d(w,!1)))}if(P&&b(P),e.base=T,T&&!r){for(var j=e,A=e;A=A._parentComponent;)(j=A).base=T;T._component=j,T._componentConstructor=j.constructor}}if(!N||o?U.unshift(e):M||(e.componentDidUpdate&&e.componentDidUpdate(m,C,x),g.afterUpdate&&g.afterUpdate(e)),null!=e._renderCallbacks)for(;e._renderCallbacks.length;)e._renderCallbacks.pop().call(e);L||r||c()}}function b(e){g.beforeUnmount&&g.beforeUnmount(e);var t=e.base;e._disable=!0,e.componentWillUnmount&&e.componentWillUnmount(),e.base=null;var n=e._component;n?b(n):t&&(t.__preactattr_&&t.__preactattr_.ref&&t.__preactattr_.ref(null),e.nextBase=t,a(t),function(e){var t=e.constructor.name;(T[t]||(T[t]=[])).push(e)}(e),_(t)),e.__ref&&e.__ref(null)}function C(e,t){this._dirty=!0,this.context=t,this.props=e,this.state=this.state||{}}var g={},x=[],N=[],k="function"==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):setTimeout,w=/acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,S=[],U=[],L=0,M=!1,P=!1,T={};t(C.prototype,{setState:function(e,o){var r=this.state;this.prevState||(this.prevState=t({},r)),t(r,"function"==typeof e?e(r,this.props):e),o&&(this._renderCallbacks=this._renderCallbacks||[]).push(o),n(this)},forceUpdate:function(e){e&&(this._renderCallbacks=this._renderCallbacks||[]).push(e),y(this,2)},render:function(){}}),e.h=function(e,t){var n,o,r,i,l=N;for(i=arguments.length;i-- >2;)x.push(arguments[i]);for(t&&null!=t.children&&(x.length||x.push(t.children),delete t.children);x.length;)if((o=x.pop())&&void 0!==o.pop)for(i=o.length;i--;)x.push(o[i]);else"boolean"==typeof o&&(o=null),(r="function"!=typeof e)&&(null==o?o="":"number"==typeof o?o=String(o):"string"!=typeof o&&(r=!1)),r&&n?l[l.length-1]+=o:l===N?l=[o]:l.push(o),n=r;var a=new function(){};return a.nodeName=e,a.children=l,a.attributes=null==t?void 0:t,a.key=null==t?void 0:t.key,void 0!==g.vnode&&g.vnode(a),a},e.Component=C,e.render=function(e,t,n){return u(n,e,{},!1,t,!1)},Object.defineProperty(e,"__esModule",{value:!0})});
{
"name": "@hpcc-js/preact-shim",
"version": "0.0.40",
"version": "0.0.42",
"description": "hpcc-js - preact shim",

@@ -20,3 +20,3 @@ "main": "build/preact-shim.js",

"bundle-watch": "npm run bundle -- -w",
"minimize": "uglifyjs build/preact-shim.js -c -m -o build/preact-shim.min.js",
"minimize": "uglifyjs build/preact-shim.js -c -m --source-map -o build/preact-shim.min.js",
"build": "npm run compile && npm run bundle",

@@ -32,3 +32,3 @@ "watch": "concurrently --kill-others \"npm run compile-watch\" \"npm run bundle-watch\"",

"rimraf": "2.6.1",
"rollup": "0.51.3",
"rollup": "0.51.7",
"rollup-plugin-alias": "1.4.0",

@@ -39,3 +39,3 @@ "rollup-plugin-commonjs": "8.2.6",

"typescript": "2.6.1",
"uglify-js": "3.1.8"
"uglify-es": "3.2.0"
},

@@ -42,0 +42,0 @@ "repository": {

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