bippy 0.7.0-dev.697d535 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/rdt-hook.cjs +1 -1
- package/dist/rdt-hook.js +1 -1
- package/package.json +1 -1
package/dist/rdt-hook.cjs
CHANGED
|
@@ -6,4 +6,4 @@
|
|
|
6
6
|
* This source code is licensed under the MIT license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
|
-
const e=`0.7.0
|
|
9
|
+
const e=`0.7.0`,t=`bippy-${e}`,n=Object.defineProperty,r=()=>{},i=e=>Object.assign(e,{[Symbol.dispose]:e}),a=e=>{try{Function.prototype.toString.call(e).indexOf(`^_^`)>-1&&setTimeout(()=>{throw Error(`React is running in production mode, but dead code elimination has not been applied. Read how to correctly configure React for production: https://react.dev/link/perf-use-production-build`)})}catch{}},o=(e=globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__)=>!!(e&&`getFiberRoots`in e),s=new Set,c=new Set,l=new Set,u=new Set,d=new WeakSet,f=new WeakMap,p=()=>{for(let e of s)e()},m=e=>{for(let t of l)t(e)},h=e=>{for(let t of u)t(e)},g=e=>{if(e.inject===f.get(e))return;let t=e.inject,n=n=>{let r=t.call(e,n);return d.has(n)||(d.add(n),m(n)),r};e.inject=n,f.set(e,n)},_=e=>(g(w()),l.add(e),i(()=>{l.delete(e)})),v=e=>(u.add(e),i(()=>{u.delete(e)})),y=e=>(e.renderers instanceof Map||(e.renderers=new Map),e.renderers),b=(e,t,n,r)=>{t.set(n,r),c.add(r),e._instrumentationIsActive||(e._instrumentationIsActive=!0,p())},x=e=>{e&&s.add(e);let i=new Map,o=0,l={_instrumentationIsActive:!1,_instrumentationSource:t,checkDCE:a,hasUnsupportedRendererAttached:!1,inject:e=>{let t=++o;return b(l,i,t,e),t},on:r,onCommitFiberRoot:r,onCommitFiberUnmount:r,onPostCommitFiberRoot:r,renderers:i,supportsFiber:!0,supportsFlight:!0};try{if(n(globalThis,`__REACT_DEVTOOLS_GLOBAL_HOOK__`,{configurable:!0,enumerable:!0,get(){return l},set(t){if(t&&typeof t==`object`){let n=l.renderers;l=t;let r=y(l);n.forEach((e,t)=>{c.add(e),r.set(t,e)}),(n.size>0||u.size>0)&&S(e),h(l)}}}),typeof window<`u`){let e=window.hasOwnProperty.bind(window),t=Object.getOwnPropertyDescriptor(window,`hasOwnProperty`),r=!1,i=()=>{t?n(window,`hasOwnProperty`,t):Reflect.deleteProperty(window,`hasOwnProperty`)};n(window,`hasOwnProperty`,{configurable:!0,value:t=>!r&&t===`__REACT_DEVTOOLS_GLOBAL_HOOK__`?(r=!0,i(),globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__=void 0,!1):e(t),writable:!0})}}catch{S(e)}return l},S=e=>{e&&s.add(e);let n=!1,i=globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!i)return;let l=y(i);if(!i._instrumentationSource){i.checkDCE=a,i.supportsFiber=!0,i.supportsFlight=!0,i.hasUnsupportedRendererAttached=!1,i._instrumentationSource=t,i._instrumentationIsActive=!1,o(i)||(i.on=r),l.size&&(l.forEach(e=>c.add(e)),i._instrumentationIsActive=!0,p(),n=!0);let e=i.inject;i.inject=t=>{let n=e.call(i,t);return b(i,l,n,t),n}}!n&&(l.size||i._instrumentationIsActive)&&e?.()},C=()=>Object.hasOwn(globalThis,`__REACT_DEVTOOLS_GLOBAL_HOOK__`),w=e=>C()?(S(e),globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__??x(e)):x(e);Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return w}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,"d",{enumerable:!0,get:function(){return S}}),Object.defineProperty(exports,"f",{enumerable:!0,get:function(){return e}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return i}}),Object.defineProperty(exports,"l",{enumerable:!0,get:function(){return v}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return C}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return x}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return t}}),Object.defineProperty(exports,"u",{enumerable:!0,get:function(){return _}});
|
package/dist/rdt-hook.js
CHANGED
|
@@ -6,4 +6,4 @@
|
|
|
6
6
|
* This source code is licensed under the MIT license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
|
-
const e=`0.7.0
|
|
9
|
+
const e=`0.7.0`,t=`bippy-${e}`,n=Object.defineProperty,r=()=>{},i=e=>Object.assign(e,{[Symbol.dispose]:e}),a=e=>{try{Function.prototype.toString.call(e).indexOf(`^_^`)>-1&&setTimeout(()=>{throw Error(`React is running in production mode, but dead code elimination has not been applied. Read how to correctly configure React for production: https://react.dev/link/perf-use-production-build`)})}catch{}},o=(e=globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__)=>!!(e&&`getFiberRoots`in e),s=new Set,c=new Set,l=new Set,u=new Set,d=new WeakSet,f=new WeakMap,p=()=>{for(let e of s)e()},m=e=>{for(let t of l)t(e)},h=e=>{for(let t of u)t(e)},g=e=>{if(e.inject===f.get(e))return;let t=e.inject,n=n=>{let r=t.call(e,n);return d.has(n)||(d.add(n),m(n)),r};e.inject=n,f.set(e,n)},_=e=>(g(w()),l.add(e),i(()=>{l.delete(e)})),v=e=>(u.add(e),i(()=>{u.delete(e)})),y=e=>(e.renderers instanceof Map||(e.renderers=new Map),e.renderers),b=(e,t,n,r)=>{t.set(n,r),c.add(r),e._instrumentationIsActive||(e._instrumentationIsActive=!0,p())},x=e=>{e&&s.add(e);let i=new Map,o=0,l={_instrumentationIsActive:!1,_instrumentationSource:t,checkDCE:a,hasUnsupportedRendererAttached:!1,inject:e=>{let t=++o;return b(l,i,t,e),t},on:r,onCommitFiberRoot:r,onCommitFiberUnmount:r,onPostCommitFiberRoot:r,renderers:i,supportsFiber:!0,supportsFlight:!0};try{if(n(globalThis,`__REACT_DEVTOOLS_GLOBAL_HOOK__`,{configurable:!0,enumerable:!0,get(){return l},set(t){if(t&&typeof t==`object`){let n=l.renderers;l=t;let r=y(l);n.forEach((e,t)=>{c.add(e),r.set(t,e)}),(n.size>0||u.size>0)&&S(e),h(l)}}}),typeof window<`u`){let e=window.hasOwnProperty.bind(window),t=Object.getOwnPropertyDescriptor(window,`hasOwnProperty`),r=!1,i=()=>{t?n(window,`hasOwnProperty`,t):Reflect.deleteProperty(window,`hasOwnProperty`)};n(window,`hasOwnProperty`,{configurable:!0,value:t=>!r&&t===`__REACT_DEVTOOLS_GLOBAL_HOOK__`?(r=!0,i(),globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__=void 0,!1):e(t),writable:!0})}}catch{S(e)}return l},S=e=>{e&&s.add(e);let n=!1,i=globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!i)return;let l=y(i);if(!i._instrumentationSource){i.checkDCE=a,i.supportsFiber=!0,i.supportsFlight=!0,i.hasUnsupportedRendererAttached=!1,i._instrumentationSource=t,i._instrumentationIsActive=!1,o(i)||(i.on=r),l.size&&(l.forEach(e=>c.add(e)),i._instrumentationIsActive=!0,p(),n=!0);let e=i.inject;i.inject=t=>{let n=e.call(i,t);return b(i,l,n,t),n}}!n&&(l.size||i._instrumentationIsActive)&&e?.()},C=()=>Object.hasOwn(globalThis,`__REACT_DEVTOOLS_GLOBAL_HOOK__`),w=e=>C()?(S(e),globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__??x(e)):x(e);export{w as a,o as c,S as d,e as f,i,v as l,s as n,C as o,c as r,x as s,t,_ as u};
|