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

effector-inspector

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

effector-inspector - npm Package Compare versions

Comparing version 0.2.2 to 0.3.0

dist/components.d.ts

2

dist/common.js

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

module.exports=function(e){var t={};function o(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,o),n.l=!0,n.exports}return o.m=e,o.c=t,o.d=function(e,t,r){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)o.d(r,n,function(t){return e[t]}.bind(null,n));return r},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=2)}([function(e,t){e.exports=require("effector-dom")},function(e,t){e.exports=require("effector")},function(e,t,o){"use strict";o.r(t);var r=o(1),n=o(0);function i(e,t){Object(n.h)("ul",()=>{Object(n.spec)({style:d.list}),Object(n.list)(e.map(e=>[...e.entries()]),({store:e})=>{const o=e.map(([,e])=>e).getState(),i=e.map(([e])=>((e,t)=>e?t.replace(e+"/",""):t)(t.trimDomain,e)),u=Object(r.createStore)(!1),p=Object(r.createEvent)();u.on(p,e=>!e),function(e,t){const o=t.store.map(a);Object(n.h)("li",()=>{Object(n.spec)({style:d.node}),Object(n.h)("pre",{text:e,style:d.nodeTitle}),Object(n.h)("pre",{text:": ",style:d.nodeTitle}),Object(n.variant)(o,{Object(){l(t.store)},Error(){l(t.store)},WeakMap(){l(t.store)},WeakSet(){l(t.store)},Array(){var e;e=t.store,Object(n.h)("pre",{text:e.map(e=>JSON.stringify(e)),style:d.nodeContent})},Iterable(){s(t.store)},Map(){s(t.store)},Set(){s(t.store)},String(){c(t.store,e=>"string"==typeof e?`"${e}"`:"")},Number(){c(t.store)},Boolean(){c(t.store,e=>e?"true":"false")},Date(){c(t.store,e=>{var t,o,r;return null===(r=null===(t=e)||void 0===t?void 0:(o=t).toISOString)||void 0===r?void 0:r.call(o)})},Null(){c(t.store,()=>"null")},Undefined(){c(t.store,()=>"undefined")},Function(){c(t.store,e=>{var t,o,r;return null===(r=null===(t=e)||void 0===t?void 0:(o=t).toString)||void 0===r?void 0:r.call(o)})},Symbol(){c(t.store,e=>{var t,o,r;return null===(r=null===(t=e)||void 0===t?void 0:(o=t).toString)||void 0===r?void 0:r.call(o)})}})})}(i,o)})})}function c(e,t=(e=>String(e))){Object(n.h)("pre",()=>{Object(n.spec)({text:e.map(t),style:d.nodeContent})})}function l(e){Object(n.h)("pre",{text:e.map(e=>JSON.stringify(e)),style:d.nodeContent})}function s(e){Object(n.h)("pre",{text:e.map(e=>JSON.stringify(e)),style:d.nodeContent})}function a(e){const t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&"function"==typeof e[Symbol.iterator]?"Iterable":"Custom"===t&&e.constructor!==Object&&e instanceof Object?"Object":t}const d={list:{listStyleType:"none",margin:"0 0",padding:"0 0"},node:{display:"flex",padding:"0.5rem 1rem",margin:"0 0"},nodeTitle:{display:"flex",margin:"0 0"},nodeContent:{margin:"0 0"}};o.d(t,"addStore",(function(){return f})),o.d(t,"addEvent",(function(){return b})),o.d(t,"createInspector",(function(){return m}));const u=Object(r.createEvent)(),p=Object(r.createStore)({map:new Map});function f(e,t={}){u(Object.assign({store:e},t))}p.on(u,({map:e},t)=>{var o,r;const n=null!=(o=t.name)?o:t.store.compositeName.path.join("/");return e.set(n,{store:t.store,mapped:(r=t.mapped,null!=r&&r)}),{map:e}});const b=Object(r.createEvent)();function m(e={}){const t=document.createElement("div");return t.classList.add("effector-inspector"),document.body.append(t),function(e,t){var o;const c=Object(r.createStore)(null!==(o=t.visible)&&void 0!==o&&o),l=Object(r.createEvent)();console.info("%c[effector-inspector] %cPress %cCTRL+B %cto open Inspector","color: gray; font-size: 1rem;","color: currentColor; font-size: 1rem;","color: deepskyblue; font-family: monospace; font-size: 1rem;","color: currentColor; font-size: 1rem;"),c.on(l,e=>!e),document.addEventListener("keypress",e=>{const t=e;2===t.keyCode&&t.ctrlKey&&l()}),Object(n.using)(e,()=>{Object(n.h)("div",()=>{Object(n.spec)({style:y.root,visible:c}),function(e){Object(n.h)("div",{style:y.sectionHead,text:"Stores"}),Object(n.h)("div",()=>{Object(n.spec)({style:y.storesTable}),i(p.map(({map:e})=>e),e)})}(t)})})}(t,e),{root:t}}const y={root:{backgroundColor:"white",borderRadius:"0.5rem",bottom:"3rem",boxShadow:"0 14.5px 5.2px -10px rgba(0,0,0,0.038), 0 23.9px 16.6px -10px rgba(0,0,0,0.057), 0 64px 118px -10px rgba(0,0,0,0.08)",display:"flex",flexDirection:"column",left:"3rem",overflowX:"auto",position:"fixed",top:"3rem",userSelect:"none",width:"26rem",zIndex:1e3},sectionHead:{backgroundColor:"white",borderBottom:"1px solid rgba(0,0,0,0.08)",display:"flex",fontSize:"1.5rem",fontWeight:"bold",left:0,lineHeight:"2rem",padding:"0.5rem 1rem",position:"sticky",right:0,top:0},storesTable:{display:"flex",flexDirection:"column"},store:{display:"table-row",fontSize:"1rem"},storeName:{margin:0,display:"table-cell",padding:"0.5rem 1rem"},storeValue:{margin:0,display:"table-cell",padding:"0.5rem 1rem"}}}]);
module.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=3)}([function(e,t){e.exports=require("forest")},function(e,t){e.exports=require("effector")},function(e,t){e.exports=require("foliage")},function(e,t,n){"use strict";n.r(t),n.d(t,"createInspector",(function(){return nt})),n.d(t,"addStore",(function(){return rt})),n.d(t,"addEvent",(function(){return ot})),n.d(t,"addEffect",(function(){return it}));var r=n(1),o=n(0),i=n(2);function c(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function a(){var e=I(["\n padding: 0 0.5rem;\n margin: 0 0.5rem;\n border: 1px solid rgba(0, 0, 0, 0.4);\n border-radius: 0.2rem;\n"]);return a=function(){return e},e}function u(){var e=I(["\n padding: 0 0.5rem;\n"]);return u=function(){return e},e}function l(){var e=I([""]);return l=function(){return e},e}function f(){var e=I(["\n display: flex;\n padding: 1rem;\n"]);return f=function(){return e},e}function s(){var e=I(["\n color: orangered;\n"]);return s=function(){return e},e}function d(){var e=I([""]);return d=function(){return e},e}function p(){var e=I(["\n color: olive;\n"]);return p=function(){return e},e}function b(){var e=I(["\n color: blue;\n font-weight: bold;\n"]);return b=function(){return e},e}function m(){var e=I(["\n color: green;\n"]);return m=function(){return e},e}function y(){var e=I(["\n color: blue;\n"]);return y=function(){return e},e}function v(){var e=I(["\n color: mediumvioletred;\n font-style: italic;\n"]);return v=function(){return e},e}function j(){var e=I(["\n display: inline-block;\n\n [data-opened='true'] > & {\n display: block;\n padding-left: 8px;\n }\n\n &[data-hidden='folded'] {\n display: none;\n\n [data-opened='true'] > & {\n display: block;\n }\n }\n\n &[data-hidden='expanded'] {\n display: inline-block;\n\n [data-opened='true'] > & {\n display: none;\n }\n }\n\n &:not(:last-child)::after {\n content: ', ';\n }\n"]);return j=function(){return e},e}function O(){var e=I(["\n background-color: transparent;\n border: 1px solid rgba(0, 0, 0, 0.4);\n padding: 0.2rem 0.4rem;\n margin: 0;\n font-family: hasklig, monofur, monospace;\n border-radius: 6px;\n margin-left: 1rem;\n"]);return O=function(){return e},e}function g(){var e=I(["\n margin: 0 0;\n font-family: hasklig, monofur, monospace;\n"]);return g=function(){return e},e}function h(){var e=I(["\n display: flex;\n margin: 0 0;\n color: darkred;\n font-family: hasklig, monofur, monospace;\n"]);return h=function(){return e},e}function x(){var e=I(["\n display: flex;\n padding: 0.5rem 1rem;\n margin: 0 0;\n"]);return x=function(){return e},e}function w(){var e=I(["\n list-style-type: none;\n margin: 0 0;\n padding: 0 0;\n overflow-x: auto;\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n"]);return w=function(){return e},e}function S(){var e=I(["\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n overflow-y: auto;\n"]);return S=function(){return e},e}function k(){var e=I(["\n padding: 0.5rem 1rem;\n cursor: pointer;\n border-radius: inherit;\n border-top-right-radius: 0;\n\n &:hover {\n box-shadow: inset 0 -2px 0 0 mediumvioletred;\n }\n\n &:not(:first-child) {\n border-top-left-radius: 0;\n }\n\n &[data-active='true'] {\n background: linear-gradient(rgba(199, 21, 133, 0), rgba(199, 21, 133, 0.1));\n }\n"]);return k=function(){return e},e}function A(){var e=I(["\n background-color: white;\n border-bottom: 1px solid rgba(0, 0, 0, 0.08);\n border-radius: inherit;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n display: flex;\n font-size: 1.2rem;\n font-weight: bold;\n line-height: 2rem;\n position: sticky;\n left: 0;\n right: 0;\n top: 0;\n"]);return A=function(){return e},e}function E(){var e=I(["\n display: flex;\n flex-flow: column;\n position: relative;\n width: 100%;\n border-radius: inherit;\n"]);return E=function(){return e},e}function P(){var e=I(["\n background-color: white;\n border-radius: 0.5rem;\n box-shadow: 0 14.5px 5.2px -10px rgba(0, 0, 0, 0.038),\n 0 23.9px 16.6px -10px rgba(0, 0, 0, 0.057),\n 0 64px 118px -10px rgba(0, 0, 0, 0.08), 0 0 10px -3px rgba(0, 0, 0, 0.08);\n display: flex;\n flex-direction: row;\n bottom: 3rem;\n right: 3rem;\n top: 3rem;\n position: fixed;\n z-index: 1000;\n user-select: none;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,\n Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',\n 'PT Sans', Helvetica, Arial, sans-serif;\n -ms-text-size-adjust: 100%;\n -webkit-text-size-adjust: 100%;\n line-height: 1.5;\n width: 100%;\n max-width: 46rem;\n\n & > * + * {\n border-left: 1px solid rgba(0, 0, 0, 0.08);\n }\n\n @media screen and (max-width: 700px) {\n max-width: 30rem;\n }\n"]);return P=function(){return e},e}function I(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var T=i.styled.div(P()),z=i.styled.section(E()),D=i.styled.div(A()),$=i.styled.div(k()),M=i.styled.div(S()),C=i.styled.ul(w()),q=i.styled.li(x()),U=i.styled.pre(h()),F=i.styled.pre(g()),_=i.styled.button(O()),N=i.styled.span(j()),B=i.styled.span(v()),L=i.styled.span(y()),R=i.styled.span(m()),W=i.styled.span(b()),J={boolean:B,date:i.styled.span(p()),keyword:W,number:L,string:R,symbol:i.styled.span(d()),regexp:i.styled.span(s())},H=i.styled.div(f()),K=i.styled.input(l()),V=i.styled.label(u()),G=i.styled.input(a()),Q=function(e){var t=e.title,n=c(e,["title"]);V((function(){K((function(){Object(o.spec)({attr:{type:"checkbox"}}),Object(o.spec)(n)})),Object(o.spec)({text:t})}))},X=Math.pow(983020,3);function Y(e,t){var n,r;return null!==(n=null!==(r=localStorage.getItem("".concat(X,"-").concat(e)))&&void 0!==r?r:t)&&void 0!==n?n:""}function Z(e,t){return localStorage.setItem("".concat(X,"-").concat(e),t),t}function ee(e){return{read:function(t){return Y(e,t)},write:function(t){return Z(e,t)}}}function te(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return ne(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ne(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,c=!0,a=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return c=e.done,e},e:function(e){a=!0,i=e},f:function(){try{c||null==n.return||n.return()}finally{if(a)throw i}}}}function ne(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var re=ee("last-tab");function oe(e){var t=Object.keys(e),n=t[0],o=re.read(n),i=t.includes(o)?o:n,c=Object(r.createEvent)({loc:{file:"/src/tabs.ts",line:10,column:22},name:"changeTab",sid:"-z2hzvl"}),a=Object(r.restore)(c,i,{loc:{file:"/src/tabs.ts",line:11,column:17},name:"$tab",sid:"16xfb8"});a.watch(re.write),z((function(){D((function(){var n,r=te(t);try{var o=function(){var t=n.value,r=e[t];$({text:r.title,data:{active:a.map((function(e){return e===t}))},handler:{click:c.prepend((function(){return t}))}})};for(r.s();!(n=r.n()).done;)o()}catch(e){r.e(e)}finally{r.f()}}));var n,r=te(t);try{var o=function(){var t=n.value,r=e[t];M({visible:a.map((function(e){return e===t})),fn:function(){r.fn({changeTab:c})}})};for(r.s();!(n=r.n()).done;)o()}catch(e){r.e(e)}finally{r.f()}}))}function ie(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var c,a=e[Symbol.iterator]();!(r=(c=a.next()).done)&&(n.push(c.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}(e,t)||ae(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ce(e){return function(e){if(Array.isArray(e))return ue(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||ae(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ae(e,t){if(e){if("string"==typeof e)return ue(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ue(e,t):void 0}}function ue(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var le=/\[object ([\w\s]+)\]/;function fe(e){var t=Object.prototype.toString.call(e),n=le.exec(t);return n?n[1]:"unknown"}function se(e){var t=Object(o.rec)((function(e){var n=e.state;Object(o.variant)({source:n.map((function(e){return{type:fe(e)}})),key:"type",cases:{String:function(){return J.string({text:['"',n,'"']})},Number:function(){return J.number({text:n})},BigInt:function(){return J.number({text:[n,"n"],attr:{title:"BigInt"}})},Boolean:function(){return J.boolean({text:n})},Null:function(){return J.keyword({text:"null"})},Undefined:function(){return J.keyword({text:"undefined"})},Symbol:function(){return J.symbol({text:n})},RegExp:function(){var e=n.map((function(e){return e.source})),t=n.map((function(e){return e.flags}));J.regexp({text:["/",e,"/",t]})},Function:function(){var e={title:n.map((function(e){return e.toString()}))};Object(o.h)("span",{text:"function",attr:e}),J.keyword({text:n.map((function(e){return e.name?" ".concat(e.name):""})),attr:e}),Object(o.h)("span",{text:"()",attr:e})},AsyncFunction:function(){var e={title:n.map((function(e){return e.toString()}))};Object(o.h)("span",{text:"async function",attr:e}),J.keyword({text:n.map((function(e){return e.name?" ".concat(e.name):""})),attr:e}),Object(o.h)("span",{text:"()",attr:e})},Window:function(){Object(o.h)("span",(function(){var e=Object(r.createEvent)({loc:{file:"/src/object-view.ts",line:48,column:38},name:"click",sid:"nc9du1"}),t=Object(r.createStore)(!1,{loc:{file:"/src/object-view.ts",line:49,column:39},name:"opened",sid:"s6h3uu"}).on(e,(function(e){return!e}));Object(o.spec)({data:{opened:t}}),Object(o.h)("span",{text:"Window {...",fn:function(){Object(o.handler)({passive:!0,capture:!0,stop:!0},{click:e})}}),Object(o.spec)({text:"}"})}))},Date:function(){J.date({text:n.map((function(e){var t;return null===(t=e.toISOString)||void 0===t?void 0:t.call(e)})),attr:{title:n}})},Array:function(){Object(o.h)("span",(function(){var e=Object(r.createEvent)({loc:{file:"/src/object-view.ts",line:68,column:38},name:"click",sid:"-ic23p1"}),i=Object(r.createStore)(!1,{loc:{file:"/src/object-view.ts",line:69,column:39},name:"opened",sid:"-dhudo8"}).on(e,(function(e){return!e}));Object(o.spec)({data:{opened:i}}),Object(o.h)("span",{text:"[",fn:function(){Object(o.handler)({passive:!0,capture:!0,stop:!0},{click:e})}}),Object(o.list)(n,(function(e){var n=e.store;return N((function(){return t({state:n})}))})),Object(o.spec)({text:"]"})}))},Arguments:function(){Object(o.h)("span",(function(){var e=Object(r.createEvent)({loc:{file:"/src/object-view.ts",line:83,column:38},name:"click",sid:"8nics2"}),i=Object(r.createStore)(!1,{loc:{file:"/src/object-view.ts",line:84,column:39},name:"opened",sid:"dhq2sv"}).on(e,(function(e){return!e}));Object(o.spec)({data:{opened:i}}),Object(o.h)("span",{text:"Arguments [",fn:function(){Object(o.handler)({passive:!0,capture:!0,stop:!0},{click:e})}}),Object(o.list)(n.map((function(e){return ce(e)})),(function(e){var n=e.store;return N((function(){return t({state:n})}))})),Object(o.spec)({text:"]"})}))},Set:function(){Object(o.h)("span",(function(){var e=Object(r.createEvent)({loc:{file:"/src/object-view.ts",line:98,column:38},name:"click",sid:"pp4qz2"}),i=Object(r.createStore)(!1,{loc:{file:"/src/object-view.ts",line:99,column:39},name:"opened",sid:"ujcgzv"}).on(e,(function(e){return!e}));Object(o.spec)({data:{opened:i}}),Object(o.h)("span",{text:"Set [",fn:function(){Object(o.handler)({passive:!0,capture:!0,stop:!0},{click:e})}}),Object(o.list)(n.map((function(e){return ce(e.values())})),(function(e){var n=e.store;return N((function(){return t({state:n})}))})),Object(o.spec)({text:"]"})}))},Map:function(){Object(o.h)("span",(function(){var e=Object(r.createEvent)({loc:{file:"/src/object-view.ts",line:113,column:38},name:"click",sid:"-uewb2w"}),i=Object(r.createStore)(!1,{loc:{file:"/src/object-view.ts",line:114,column:39},name:"opened",sid:"ydad3b"}).on(e,(function(e){return!e}));Object(o.spec)({data:{opened:i}}),Object(o.h)("span",(function(){Object(o.spec)({text:"Map {"}),Object(o.handler)({passive:!0,capture:!0,stop:!0},{click:e})})),Object(o.list)(n.map((function(e){return ce(e.entries())})),(function(n){var r=n.store,i=r.map((function(e){return ie(e,1)[0]})),c=r.map((function(e){return ie(e,2)[1]}));N((function(){J.string({text:['"',i,'"'],fn:function(){Object(o.handler)({passive:!0,capture:!0,stop:!0},{click:e})}}),Object(o.h)("span",{text:" => "}),t({state:c})}))})),Object(o.spec)({text:"}"})}))},Error:function(){Object(o.h)("span",(function(){var e=Object(r.createEvent)({loc:{file:"/src/object-view.ts",line:139,column:38},name:"click",sid:"1s5zqc"}),i=Object(r.createStore)(!1,{loc:{file:"/src/object-view.ts",line:140,column:39},name:"opened",sid:"5h6o7i"}).on(e,(function(e){return!e}));Object(o.spec)({data:{opened:i}}),Object(o.h)("span",{text:[n.map((function(e){return e.name}))," {"],attr:{title:n.map((function(e){return e.constructor.name}))},fn:function(){Object(o.handler)({passive:!0,capture:!0,stop:!0},{click:e})}}),N((function(){Object(o.spec)({data:{hidden:"expanded"}}),J.string({text:['"message"'],fn:function(){Object(o.handler)({passive:!0,capture:!0,stop:!0},{click:e})}}),Object(o.h)("span",{text:": "}),t({state:n.map((function(e){return e.message}))})})),N((function(){Object(o.spec)({data:{hidden:"folded"}}),J.string({text:['"stack"'],fn:function(){Object(o.handler)({passive:!0,capture:!0,stop:!0},{click:e})}}),Object(o.h)("span",{text:": "}),t({state:n.map((function(e){return e.stack}))})})),Object(o.list)(n.map((function(e){return ce(Object.entries(e))})),(function(n){var r=n.store,i=r.map((function(e){return ie(e,1)[0]})),c=r.map((function(e){return ie(e,2)[1]}));N((function(){J.string({text:['"',i,'"'],fn:function(){Object(o.handler)({passive:!0,capture:!0,stop:!0},{click:e})}}),Object(o.h)("span",{text:": "}),t({state:c})}))}))})),Object(o.h)("span",{text:"}"})},__:function(e){var i=e.store;Object(o.h)("span",(function(){var e=Object(r.createEvent)({loc:{file:"/src/object-view.ts",line:190,column:38},name:"click",sid:"ek11jn"}),c=Object(r.createStore)(!1,{loc:{file:"/src/object-view.ts",line:191,column:39},name:"opened",sid:"8b3nqq"}).on(e,(function(e){return!e}));Object(o.spec)({data:{opened:c}}),Object(o.h)("span",{text:[i.map((function(e){return e.type}))," {"],fn:function(){Object(o.handler)({passive:!0,capture:!0,stop:!0},{click:e})}}),Object(o.list)(n.map((function(e){return ce(Object.entries(e))})),(function(n){var r=n.store,i=r.map((function(e){return ie(e,1)[0]})),c=r.map((function(e){return ie(e,2)[1]}));N((function(){J.string({text:['"',i,'"'],fn:function(){Object(o.handler)({passive:!0,capture:!0,stop:!0},{click:e})}}),Object(o.h)("span",{text:": "}),t({state:c})}))}))})),Object(o.h)("span",{text:"}"})}}})}));t({state:e.value})}function de(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var c,a=e[Symbol.iterator]();!(r=(c=a.next()).done)&&(n.push(c.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}(e,t)||be(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pe(e){return function(e){if(Array.isArray(e))return me(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||be(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function be(e,t){if(e){if("string"==typeof e)return me(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?me(e,t):void 0}}function me(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ye,ve=(ye="filter-kinds",{read:function(e){return JSON.parse(Y(ye,JSON.stringify(e)))},write:function(e){return Z(ye,JSON.stringify(e)),e}}),je=ee("filter-text");function Oe(e){var t=Object(r.createEvent)({loc:{file:"/src/logs.ts",line:10,column:23},name:"toggleKind",sid:"a40s1e"}),n=Object(r.createEvent)({loc:{file:"/src/logs.ts",line:11,column:26},name:"filterChanged",sid:"rus8aq"}),i=Object(r.createEvent)({loc:{file:"/src/logs.ts",line:12,column:25},name:"clearClicked",sid:"fqsv0g"}),c=Object(r.createStore)(ve.read(["event","store"]),{loc:{file:"/src/logs.ts",line:13,column:19},name:"$kinds",sid:"szzha3"}),a=Object(r.restore)(n,je.read(""),{loc:{file:"/src/logs.ts",line:14,column:24},name:"$filterText",sid:"-aznuxe"});c.on(t,(function(e,t){return e.includes(t)?e.filter((function(e){return e!==t})):[].concat(pe(e),[t])})).watch(ve.write),a.watch(je.write),e.on(i,(function(){return[]})),H((function(){Object(o.h)("span",{text:"Show: "}),Q({title:"Event",attr:{checked:c.map((function(e){return e.includes("event")}))},handler:{click:t.prepend((function(){return"event"}))}}),Q({title:"Store",attr:{checked:c.map((function(e){return e.includes("store")}))},handler:{click:t.prepend((function(){return"store"}))}}),Q({title:"Effect",attr:{checked:c.map((function(e){return e.includes("effect")}))},handler:{click:t.prepend((function(){return"effect"}))}}),Object(o.h)("span",{text:"Filter:"}),G({attr:{value:a},handler:{change:n.prepend((function(e){var t,n;return null!==(t=null===(n=e.currentTarget)||void 0===n?void 0:n.value)&&void 0!==t?t:""}))}}),_({text:"Clear",handler:{click:i}})})),C((function(){Object(o.list)({source:e,key:"id",fields:["kind","name","payload","datetime"],fn:function(e){var t=de(e.fields,4),n=t[0],o=t[1],i=t[2],u=t[3],l=Object(r.combine)({"ɔ":[n,c,function(e,t){return t.includes(e)}],config:{loc:{file:"/src/logs.ts",line:54,column:37},name:"$kindMatched",sid:"-9wrr4d"}}),f=Object(r.combine)({"ɔ":[a,o,function(e,t){return t.includes(e)}],config:{loc:{file:"/src/logs.ts",line:55,column:37},name:"$textMatched",sid:"1kzb89"}}),s=Object(r.combine)({"ɔ":[l,f,function(e,t){return e&&t}],config:{loc:{file:"/src/logs.ts",line:56,column:33},name:"$visible",sid:"-kgb7m1"}});q({visible:s,fn:function(){var e=u.map((function(e){return e.toISOString()})),t=u.map((function(e){return e.toLocaleTimeString()}));U({text:[t," ▸ "],attr:{title:e}}),U({text:n}),U({text:[" «",o,"» "]}),F((function(){return se({value:i})}))}})}})}))}function ge(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function he(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var c,a=e[Symbol.iterator]();!(r=(c=a.next()).done)&&(n.push(c.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return we(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return we(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function we(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Se(e){C((function(){var t=e.map((function(e){return Object.entries(e).map((function(e){var t=xe(e,2);return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ge(Object(n),!0).forEach((function(t){he(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ge(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({name:t[0]},t[1])}))}));Object(o.list)({source:t,key:"name",fields:["name","value"],fn:function(e){var t=xe(e.fields,2),n=t[0],r=t[1];q((function(){U({text:[n,": "]}),F((function(){se({value:r})}))}))}})}))}function ke(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ae(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ee(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var c,a=e[Symbol.iterator]();!(r=(c=a.next()).done)&&(n.push(c.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Pe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Pe(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ie(e){C((function(){var t=e.map((function(e){return Object.entries(e).map((function(e){var t=Ee(e,2);return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ke(Object(n),!0).forEach((function(t){Ae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ke(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({name:t[0]},t[1])}))}));Object(o.list)({source:t,key:"name",fields:["name","lastTriggeredWith"],fn:function(e){var t=Ee(e.fields,1)[0];q((function(){U({text:[t," "]})}))}})}))}function Te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ze(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function De(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var c,a=e[Symbol.iterator]();!(r=(c=a.next()).done)&&(n.push(c.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return $e(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return $e(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $e(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Me(e){C((function(){var t=e.map((function(e){return Object.entries(e).map((function(e){var t=De(e,2);return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Te(Object(n),!0).forEach((function(t){ze(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Te(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({sid:t[0]},t[1])}))}));Object(o.list)({source:t,key:"sid",fields:["name","inFlight"],fn:function(e){var t=De(e.fields,2),n=t[0],r=t[1];q((function(){U({text:[n," "]}),F((function(){Object(o.h)("span",(function(){Object(o.h)("span",{text:[" {"]}),J.string({text:'"inFlight": '}),J.number({text:r}),Object(o.h)("span",{text:["}"]})}))}))}))}})}))}var Ce=Object(r.createStore)(!1,{loc:{file:"/src/view.ts",line:9,column:19},name:"$isVisible",sid:"-n4epn7"}),qe=Object(r.createEvent)({loc:{file:"/src/view.ts",line:10,column:22},name:"togglePressed",sid:"-6mw5g1"}),Ue=Object(r.createEvent)({loc:{file:"/src/view.ts",line:11,column:22},name:"showInspector",sid:"-y75g2u"});function Fe(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];o&&Ue(),console.info("%c[effector-inspector] %cPress %cCTRL+B %cto open Inspector","color: gray; font-size: 1rem;","color: currentColor; font-size: 1rem;","color: deepskyblue; font-family: monospace; font-size: 1rem;","color: currentColor; font-size: 1rem;"),T({visible:Ce,fn:function(){oe({stores:{title:"Stores",fn:function(){Se(e)}},effects:{title:"Effects",fn:function(){Me(n)}},events:{title:"Events",fn:function(){Ie(t)}},logs:{title:"Logs",fn:function(){Oe(r)}}})}})}document.addEventListener("keypress",(function(e){2===e.keyCode&&e.ctrlKey&&qe()})),Ce.on(qe,(function(e){return!e})).on(Ue,(function(){return!0}));function _e(e){return function(e){if(Array.isArray(e))return Ne(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Ne(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ne(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ne(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Be(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Le(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Be(Object(n),!0).forEach((function(t){Re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Be(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var We=Object(r.createEvent)({loc:{file:"/src/index.ts",line:5,column:17},name:"storeAdd",sid:"-wopdia"}),Je=Object(r.createEvent)({loc:{file:"/src/index.ts",line:6,column:21},name:"storeUpdated",sid:"vmsjku"}),He=Object(r.createStore)({},{loc:{file:"/src/index.ts",line:7,column:16},name:"$stores",sid:"i7hdcj"}),Ke=Object(r.createEvent)({loc:{file:"/src/index.ts",line:8,column:17},name:"eventAdd",sid:"-or028u"}),Ve=Object(r.createEvent)({loc:{file:"/src/index.ts",line:9,column:23},name:"eventTriggered",sid:"86fn0c"}),Ge=Object(r.createStore)({},{loc:{file:"/src/index.ts",line:10,column:16},name:"$events",sid:"-bopi5k"}),Qe=Object(r.createEvent)({loc:{file:"/src/index.ts",line:11,column:18},name:"effectAdd",sid:"exj8si"}),Xe=Object(r.createEvent)({loc:{file:"/src/index.ts",line:12,column:24},name:"effectTriggered",sid:"-wmuqs0"}),Ye=Object(r.createStore)({},{loc:{file:"/src/index.ts",line:13,column:17},name:"$effects",sid:"-548kt"}),Ze=Object(r.createStore)([],{loc:{file:"/src/index.ts",line:14,column:14},name:"$logs",sid:"dr2ta8"});He.on(We,(function(e,t){return Le(Le({},e),{},Re({},t.name,{value:t.store.getState(),mapped:t.mapped}))})).on(Je,(function(e,t){var n=t.name,r=t.value;return e[n]=Le(Le({},e[n]),{},{value:r}),Le({},e)})),Ge.on(Ke,(function(e,t){return Le(Le({},e),{},Re({},t.name,{mapped:t.mapped,lastTriggeredWith:void 0}))})).on(Ve,(function(e,t){var n=t.name,r=t.params;return e[n]=Le(Le({},e[n]),{},{lastTriggeredWith:r}),Le({},e)})),Ye.on(Qe,(function(e,t){return Le(Le({},e),{},Re({},t.sid,{name:t.name,effect:t.effect,inFlight:t.effect.inFlight.getState()}))})).on(Xe,(function(e,t){var n=t.sid,r=e[n];return e[n]=Le(Le({},r),{},{inFlight:r.effect.inFlight.getState()}),Le({},e)}));var et=1e3,tt=Object(r.createEffect)({handler:function(e){var t=e.name,n=e.kind,r=e.payload;return{id:(++et).toString(36),kind:n,name:t,payload:r,datetime:new Date}}},{loc:{file:"/src/index.ts",line:60,column:23},name:"createRecordFx",sid:"-loxrq9"});function nt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=document.createElement("div");return t.classList.add("effector-inspector"),document.body.append(t),Object(o.using)(t,(function(){return Fe(He,Ge,Ye,Ze,e.visible)})),Object(o.using)(t,i.StyledRoot),{root:t}}function rt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.name||ct(e);We({store:e,name:n,mapped:t.mapped||!1}),Object(r.forward)({"ɔ":{from:e.updates.map((function(e){return{name:n,value:e}})),to:Je},config:{loc:{file:"/src/index.ts",line:99,column:4},sid:"-7ozz2r"}})}function ot(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.name||ct(e);Ke({event:e,name:n,mapped:t.mapped||!1}),Object(r.forward)({"ɔ":{from:e.map((function(e){return{name:n,params:e}})),to:Ve},config:{loc:{file:"/src/index.ts",line:107,column:4},sid:"-4vqu6z"}})}function it(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=ct(e),i=n.sid||e.sid||o;Qe({effect:e,name:o,sid:i,attached:null!==(t=n.attached)&&void 0!==t&&t}),Object(r.forward)({"ɔ":{from:[e,e.finally],to:Xe.prepend((function(){return{sid:i}}))},config:{loc:{file:"/src/index.ts",line:119,column:4},sid:"-4dlmm2"}});var c=e.map((function(e){return{kind:"effect",name:o,payload:e}})),a=e.done.map((function(e){return{kind:"effect",name:o+".done",payload:e}})),u=e.fail.map((function(e){return{kind:"effect",name:o+".fail",payload:e}}));Object(r.forward)({"ɔ":{from:[c,a,u],to:tt},config:{loc:{file:"/src/index.ts",line:138,column:4},sid:"-3g26f1"}})}function ct(e){return e.compositeName.path.join("/")}Object(r.forward)({"ɔ":{from:Ve,to:tt.prepend((function(e){return{kind:"event",name:e.name,payload:e.params}}))},config:{loc:{file:"/src/index.ts",line:71,column:0},sid:"-8rhkph"}}),Object(r.forward)({"ɔ":{from:Je,to:tt.prepend((function(e){return{kind:"store",name:e.name,payload:e.value}}))},config:{loc:{file:"/src/index.ts",line:79,column:0},sid:"-8n37yl"}}),Ze.on(tt.doneData,(function(e,t){return[t].concat(_e(e))}))}]);
//# sourceMappingURL=common.js.map

@@ -1,10 +0,15 @@

import { Store, Event } from 'effector';
import { Options } from './config.h';
export declare function addStore(store: Store<any>, opts?: {
import { Store, Event, Effect } from 'effector';
import { Inspector, Options } from './types.h';
export declare function createInspector(options?: Options): Inspector;
export declare function addStore(store: Store<any>, options?: {
mapped?: boolean;
name?: string;
}): void;
export declare const addEvent: Event<void>;
export declare function createInspector(options?: Options): {
root: HTMLElement;
};
export declare function addEvent(event: Event<any>, options?: {
mapped?: boolean;
name?: string;
}): void;
export declare function addEffect(effect: Effect<any, any, any>, options?: {
attached?: boolean;
sid?: string;
}): void;
{
"name": "effector-inspector",
"version": "0.2.2",
"version": "0.3.0",
"main": "./dist/common.js",

@@ -14,9 +14,9 @@ "types": "./dist/index.d.ts",

"commit": "git-cz",
"prepublish": "yarn build",
"prepublishOnly": "yarn build",
"start": "parcel serve ./usage/index.html"
},
"devDependencies": {
"@babel/core": "^7.8.4",
"@babel/preset-env": "^7.8.4",
"@babel/preset-typescript": "^7.8.3",
"@babel/core": "^7.10.5",
"@babel/preset-env": "^7.10.4",
"@babel/preset-typescript": "^7.10.4",
"@commitlint/cli": "8.2.0",

@@ -28,5 +28,6 @@ "@commitlint/config-conventional": "8.2.0",

"@typescript-eslint/parser": "^2.16.0",
"babel-loader": "^8.1.0",
"commitizen": "4.0.3",
"cz-conventional-changelog": "3.0.2",
"effector": "^20.11.5",
"effector": "^20.15.6",
"eslint": "^6.6.0",

@@ -41,4 +42,5 @@ "eslint-plugin-prettier": "^3.1.2",

"terser-webpack-plugin": "^2.3.5",
"ts-loader": "^6.2.1",
"typescript": "^3.7.5",
"ts-loader": "^8.0.1",
"typescript": "^3.9.7",
"typescript-plugin-styled-components": "^1.4.4",
"webpack": "^4.41.6",

@@ -53,7 +55,8 @@ "webpack-cli": "^3.3.11"

"peerDependencies": {
"effector": "^20.11.5"
"effector": "^20.11.5 || ^21.0.0"
},
"dependencies": {
"effector-dom": "^0.0.11"
"foliage": "^0.102.1",
"forest": "^0.16.0"
}
}

Sorry, the diff of this file is not supported yet

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