Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@henrybuilt/react-lib
Advanced tools
cd ~/repos
git clone https://github.com/henrybuilt/hb-react-lib.git
cd ~/repos/hb-react-lib
npm i
npm link
cd ~/repos/hb-react-lib
npm link
npm run watch
, this will rebuild your ~/repos/hb-react-lib/dist as you make changes locallyrm -rf ./node_modules/react
, we remove the /react dir from ./node_modules to prevent conflicts with the target repo we wish to npm link with hb-react-lib
cd ~/repos/target-repo
, where "target-repo" is the repo in which you wish to use @henrybuilt/react-lib
npm link @henrybuilt/react-lib
If npm run build
results in TypeError: Unknown file extension ".json"
, try the following:
See this stack-overflow for more information.
Run node --experimental-json-modules ./node_modules/.bin/rollup -c
If using npm link
and you get the following error message in the repo where you're linking @henrybuilt/react-lib
,
Uncaught TypeError: Cannot read properties of null (reading 'useState')
run the following commands in hb-react-lib
directory:
a. rm -rf ./node_modules/react
b. rm -rf ./node_modules/react-dom
This can occur if you recently ran npm i
inside hb-react-lib
.
FAQs
## Development
The npm package @henrybuilt/react-lib receives a total of 0 weekly downloads. As such, @henrybuilt/react-lib popularity was classified as not popular.
We found that @henrybuilt/react-lib demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.