
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@g2crowd/review-widget
Advanced tools
yarn install
To scan the project for linting and formatting errors, run
yarn run lint
To automatically fix linting and formatting errors, run
yarn run format
To execute a single test run:
yarn run test
To run the tests in interactive watch mode run:
yarn run test:watch
For most of the tools, the configuration is in the package.json
to reduce the amount of files in your project.
If you customize the configuration a lot, you can consider moving them to individual files.
Make sure you have access to the G2 NPM account.
To publish a new version of the widget, update the version number in package.json
and commit the changes.
npm login
then
yarn start
yarn build
yarn publish
This only works with chubbywombat in it's current state.
yarn install
<review-widget widget-id="<WIDGET_UUID>" env="staging"></review-widget>
yarn start
yarn build
<script src="http://localhost:8000/build-modern/components/review-widget.js"></script>
<review-widget widget-id="<WIDGET_UUID>" env="development"></review-widget>
The env attribute is necessary to ensure api calls are made to your local UE server (development).
You'll need to run yarn build
after every change
UE includes this widget in package.json
. To update UE to use this local version, you can use yarn link
:
From the UE directory, create a link to this directory with:
> yarn link --relative ../review-widget
Update any HTML tags to point to the local widget.
<script src="https://www.g2.test/assets/review_widget.js"></script>
<review-widget widget-id="<WIDGET_UUID>" env="development"></review-widget>
FAQs
Webcomponent review-widget following open-wc recommendations
We found that @g2crowd/review-widget demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.