bippy 0.7.3-dev.e6929e3 → 0.7.3-dev.ebf9a42
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/README.md +1 -1
- package/dist/rdt-hook.cjs +1 -1
- package/dist/rdt-hook.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -345,4 +345,4 @@ const parentFrames = await getParentStack(fiber);
|
|
|
345
345
|
|
|
346
346
|
## Acknowledgements
|
|
347
347
|
|
|
348
|
-
[@
|
|
348
|
+
The bippy character is originally created by [@bippyandfriends](https://www.instagram.com/bippyandfriends/) (See [website](https://www.bippyandfriends.com/)). This project has nothing to do with the bippy brand. I just think the character is cute.
|
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=(e,t,...n)=>{try{e.apply(t,n)}catch(e){try{console.error(`Bippy instrumentation encountered an error:`,e)}catch{}}},t=`0.7.3-dev.
|
|
9
|
+
const e=(e,t,...n)=>{try{e.apply(t,n)}catch(e){try{console.error(`Bippy instrumentation encountered an error:`,e)}catch{}}},t=`0.7.3-dev.ebf9a42`,n=`bippy-${t}`,r=Object.defineProperty,i=()=>{},a=e=>e.__REACT_DEVTOOLS_GLOBAL_HOOK__,o=e=>Object.assign(e,{[Symbol.dispose]:e}),s=e=>{let t=e.current.memoizedState;return t===null||t!==void 0&&(t.element===null||t.element===void 0)},c=e=>{if(!(typeof process<`u`&&process.versions?.node))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{}},l=(e=globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__)=>!!(e&&`getFiberRoots`in e&&e._isBippyHook!==!0),u=(e=globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__)=>{if(!e||typeof e.inject!=`function`||l(e))return!1;try{return Function.prototype.toString.call(e.inject).includes(`(injected)`)}catch{return!1}},d=new Set,f=new Set,p=new WeakMap,m=new Set,h=new Set,g=new WeakMap,_=(e,t)=>{d.add(e);let n=p.get(e)??new Set;n.add(t),p.set(e,n)},v=(e,t)=>{let n=p.get(e);n?.delete(t),(!n||n.size===0)&&(p.delete(e),d.delete(e))},y=t=>{for(let n of d)p.get(n)?.has(t)&&e(n,void 0)},b=(t,n)=>{for(let r of m)r.target===t&&e(r.listener,r,n)},x=(t,n)=>{for(let r of h)e(r,void 0,t,n)},S=(e,t=globalThis)=>{A(void 0,t);let n={listener:e,target:t};return m.add(n),o(()=>{m.delete(n)})},C=e=>(h.add(e),o(()=>{h.delete(e)})),w=e=>Object.prototype.toString.call(e)===`[object Map]`,T=e=>(w(e.renderers)||(e.renderers=new Map),e.renderers),E=(e,t,n,r,i)=>{n.set(r,i),f.add(i),e._instrumentationIsActive||(e._instrumentationIsActive=!0,y(t));let a=g.get(t)??new WeakSet;g.set(t,a),!a.has(i)&&(a.add(i),b(t,i))},D=(e,t=globalThis)=>{e&&_(e,t);let a=new Map,o=new Map,l=e=>{let t=o.get(e)??new Set;return o.set(e,t),t},u=0,d={_instrumentationIsActive:!1,_instrumentationSource:n,_isBippyHook:!0,checkDCE:c,getFiberRoots:l,hasUnsupportedRendererAttached:!1,inject:e=>{let n=++u;return E(d,t,a,n,e),n},on:i,onCommitFiberRoot:(e,t)=>{let n=l(e);s(t)?n.delete(t):n.add(t)},onCommitFiberUnmount:i,onPostCommitFiberRoot:i,renderers:a,supportsFiber:!0,supportsFlight:!0};try{if(r(t,`__REACT_DEVTOOLS_GLOBAL_HOOK__`,{configurable:!0,enumerable:!0,get:()=>d,set:n=>{if(n&&typeof n==`object`){let r=d.renderers;d=n;let i=T(d);r.forEach((e,t)=>{f.add(e),i.set(t,e)}),(r.size>0||h.size>0)&&O(e,t),x(d,t)}}}),t===globalThis&&typeof window<`u`){let e=window.hasOwnProperty.bind(window),t=Object.getOwnPropertyDescriptor(window,`hasOwnProperty`),n=!1,i=()=>{t?r(window,`hasOwnProperty`,t):Reflect.deleteProperty(window,`hasOwnProperty`)};r(window,`hasOwnProperty`,{configurable:!0,value:t=>!n&&t===`__REACT_DEVTOOLS_GLOBAL_HOOK__`?(n=!0,i(),globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__=void 0,!1):e(t),writable:!0})}}catch{O(e,t)}return d},O=(t,r=globalThis)=>{t&&_(t,r);let o=!1,s=a(r);if(!s)return;let d=T(s);if(!s._instrumentationSource){s.checkDCE=c,s.supportsFiber=!0,s.supportsFlight=!0,s.hasUnsupportedRendererAttached=!1,s._instrumentationSource=n,s._instrumentationIsActive=!1;let e=l(s);e||(s.on=i),d.size?(d.forEach(e=>f.add(e)),s._instrumentationIsActive=!0,y(r),o=!0):!e&&u(s)&&(s._instrumentationIsActive=!0,y(r),o=!0);let t=s.inject;s.inject=e=>{let n=t.call(s,e);return E(s,r,d,n,e),n}}!o&&(d.size||s._instrumentationIsActive)&&t&&e(t,void 0)},k=(e=globalThis)=>Object.hasOwn(e,`__REACT_DEVTOOLS_GLOBAL_HOOK__`),A=(e,t=globalThis)=>k(t)?(O(e,t),a(t)??D(e,t)):D(e,t);Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return k}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,"d",{enumerable:!0,get:function(){return C}}),Object.defineProperty(exports,"f",{enumerable:!0,get:function(){return S}}),Object.defineProperty(exports,"g",{enumerable:!0,get:function(){return e}}),Object.defineProperty(exports,"h",{enumerable:!0,get:function(){return t}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return A}}),Object.defineProperty(exports,"l",{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,"m",{enumerable:!0,get:function(){return v}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return D}}),Object.defineProperty(exports,"p",{enumerable:!0,get:function(){return O}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,"u",{enumerable:!0,get:function(){return w}});
|
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=(e,t,...n)=>{try{e.apply(t,n)}catch(e){try{console.error(`Bippy instrumentation encountered an error:`,e)}catch{}}},t=`0.7.3-dev.
|
|
9
|
+
const e=(e,t,...n)=>{try{e.apply(t,n)}catch(e){try{console.error(`Bippy instrumentation encountered an error:`,e)}catch{}}},t=`0.7.3-dev.ebf9a42`,n=`bippy-${t}`,r=Object.defineProperty,i=()=>{},a=e=>e.__REACT_DEVTOOLS_GLOBAL_HOOK__,o=e=>Object.assign(e,{[Symbol.dispose]:e}),s=e=>{let t=e.current.memoizedState;return t===null||t!==void 0&&(t.element===null||t.element===void 0)},c=e=>{if(!(typeof process<`u`&&process.versions?.node))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{}},l=(e=globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__)=>!!(e&&`getFiberRoots`in e&&e._isBippyHook!==!0),u=(e=globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__)=>{if(!e||typeof e.inject!=`function`||l(e))return!1;try{return Function.prototype.toString.call(e.inject).includes(`(injected)`)}catch{return!1}},d=new Set,f=new Set,p=new WeakMap,m=new Set,h=new Set,g=new WeakMap,_=(e,t)=>{d.add(e);let n=p.get(e)??new Set;n.add(t),p.set(e,n)},v=(e,t)=>{let n=p.get(e);n?.delete(t),(!n||n.size===0)&&(p.delete(e),d.delete(e))},y=t=>{for(let n of d)p.get(n)?.has(t)&&e(n,void 0)},b=(t,n)=>{for(let r of m)r.target===t&&e(r.listener,r,n)},x=(t,n)=>{for(let r of h)e(r,void 0,t,n)},S=(e,t=globalThis)=>{A(void 0,t);let n={listener:e,target:t};return m.add(n),o(()=>{m.delete(n)})},C=e=>(h.add(e),o(()=>{h.delete(e)})),w=e=>Object.prototype.toString.call(e)===`[object Map]`,T=e=>(w(e.renderers)||(e.renderers=new Map),e.renderers),E=(e,t,n,r,i)=>{n.set(r,i),f.add(i),e._instrumentationIsActive||(e._instrumentationIsActive=!0,y(t));let a=g.get(t)??new WeakSet;g.set(t,a),!a.has(i)&&(a.add(i),b(t,i))},D=(e,t=globalThis)=>{e&&_(e,t);let a=new Map,o=new Map,l=e=>{let t=o.get(e)??new Set;return o.set(e,t),t},u=0,d={_instrumentationIsActive:!1,_instrumentationSource:n,_isBippyHook:!0,checkDCE:c,getFiberRoots:l,hasUnsupportedRendererAttached:!1,inject:e=>{let n=++u;return E(d,t,a,n,e),n},on:i,onCommitFiberRoot:(e,t)=>{let n=l(e);s(t)?n.delete(t):n.add(t)},onCommitFiberUnmount:i,onPostCommitFiberRoot:i,renderers:a,supportsFiber:!0,supportsFlight:!0};try{if(r(t,`__REACT_DEVTOOLS_GLOBAL_HOOK__`,{configurable:!0,enumerable:!0,get:()=>d,set:n=>{if(n&&typeof n==`object`){let r=d.renderers;d=n;let i=T(d);r.forEach((e,t)=>{f.add(e),i.set(t,e)}),(r.size>0||h.size>0)&&O(e,t),x(d,t)}}}),t===globalThis&&typeof window<`u`){let e=window.hasOwnProperty.bind(window),t=Object.getOwnPropertyDescriptor(window,`hasOwnProperty`),n=!1,i=()=>{t?r(window,`hasOwnProperty`,t):Reflect.deleteProperty(window,`hasOwnProperty`)};r(window,`hasOwnProperty`,{configurable:!0,value:t=>!n&&t===`__REACT_DEVTOOLS_GLOBAL_HOOK__`?(n=!0,i(),globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__=void 0,!1):e(t),writable:!0})}}catch{O(e,t)}return d},O=(t,r=globalThis)=>{t&&_(t,r);let o=!1,s=a(r);if(!s)return;let d=T(s);if(!s._instrumentationSource){s.checkDCE=c,s.supportsFiber=!0,s.supportsFlight=!0,s.hasUnsupportedRendererAttached=!1,s._instrumentationSource=n,s._instrumentationIsActive=!1;let e=l(s);e||(s.on=i),d.size?(d.forEach(e=>f.add(e)),s._instrumentationIsActive=!0,y(r),o=!0):!e&&u(s)&&(s._instrumentationIsActive=!0,y(r),o=!0);let t=s.inject;s.inject=e=>{let n=t.call(s,e);return E(s,r,d,n,e),n}}!o&&(d.size||s._instrumentationIsActive)&&t&&e(t,void 0)},k=(e=globalThis)=>Object.hasOwn(e,`__REACT_DEVTOOLS_GLOBAL_HOOK__`),A=(e,t=globalThis)=>k(t)?(O(e,t),a(t)??D(e,t)):D(e,t);export{k as a,u as c,C as d,S as f,e as g,t as h,A as i,l,v as m,f as n,D as o,O as p,o as r,s,n as t,w as u};
|