🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis
Socket
Book a DemoInstallSign in
Socket

bippy

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

bippy

get fiber information from react in a safe-ish way

Source
npmnpm
Version
0.0.1
Version published
Weekly downloads
411K
-4.93%
Maintainers
1
Weekly downloads
 
Created
Source

bippy

a set of utilities for working with React fiber. i use this internally for react-scan.

[!WARNING] this project accesses react internals. this is not recommended and may break production apps - unless you acknowledge this risk and know exactly you're doing.

example

import { instrument, traverseFiberRoot } from 'bippy'; // must be imported BEFORE react

instrument({
  onCommitFiberRoot: traverseFiberRoot({
    onRender(fiber) {
      console.log(fiber);
    },
  }),
});

misc

the original bippy character is owned and created by @dairyfreerice. this project is not related to the bippy brand, i just think the character is cute

Keywords

react

FAQs

Package last updated on 04 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts