Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
React standard library—must-have toolbox for any React project.
react-native
).npm i libreact --save
Library is modular—you can import each component by its name.
import {mock} from 'libreact/lib/mock';
// or
import {mock} from 'libreact/modules/mock';
const MyComponent = mock();
mock()
and loadable()
— examplelazy()
and delayed()
<State>
and withState()
<Toggle>
, withToggle()
, and @withToggle
— example<Flipflop>
, withFlipflop()
, and @withFlipflop
<Value>
, withValue()
, and @withValue
<Counter>
, withCounter()
and @withCounter
<List>
, withList()
, and @withList
<Map>
, withMap()
, and @withMap
<ShouldUpdate>
, shouldUpdate()
, and pure()
<Lifecycles>
invert()
and <Inverted>
<ActiveSensor>
, withActive()
, and @withActive
<BatterySensor>
, withBattery()
, and @withBattery
<ExitSensor>
— example<FocusSensor>
, withFocus()
, and @withFocus
<GeoLocationSensor>
, withGeoLocation()
, and @withGeoLocation
<HoverSensor>
, withHover()
, and @withHover
— example<IdleSensor>
, withIdle()
, and @withIdle
<MediaDeviceSensor>
, withMediaDevices()
, and @withMediaDevices
<MediaSensor>
, withMedia()
, and @withMedia
<MotionSensor>
, withMotion()
, and @withMotion
<MouseSensor>
, withMouse()
, and @withMouse
— example<NetworkSensor>
, withNetwork()
, and @withNetwork
<LightSensor>
, withLight()
, and @withLight
<LocationSensor>
, withLocation()
, and @withLocation
<OrientationSensor>
, withOrientation()
, and @withOrientation
<ScratchSensor>
, withScratch()
, and @withScratch
<ScrollSensor>
<SizeSensor>
, withSize()
, and @withSize
— example
<TouchSupportSensor>
<ViewportSensor>
, withViewport()
, and @withViewport
<WindowScrollSensor>
, withWindowScroll()
, and @withWindowScroll
<WindowSizeSensor>
, withWindowSize()
, and @withWindowSize
<Provider>
, <Consumer>
, withContext()
, and @withContext
<Theme>
, <Themed>
, withTheme()
, and @withTheme
<CssVarsProvider>
, <CssVars>
, withCssVars()
, and @withCssVars
createRouter()
, <Router>
, <Route>
, <Switch>
, <Match>
, <Link>
, and go()
<Translations>
, <Translate>
, <T>
, withT()
, and @withT
<BrowserOnly>
, <ServerOnly>
, and <ElectronOnly>
<ErrorBoundary>
and withErrorBoundary()
<CacheBoundary>
This project exists thanks to all the people who contribute.
Thank you to all our backers! 🙏 [Become a backer]
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]
Unlicense — public domain.
FAQs
React standard library
The npm package libreact receives a total of 669 weekly downloads. As such, libreact popularity was classified as not popular.
We found that libreact demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.