Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
alliance-platform-frontend
Advanced tools
A library for integrating the Alliance Platform React library into a Django project.
Uses Vite to bundle Javascript and perform server-side rendering, and supplies a number of templatetags to easily embed Alliance Platform React components into Django templates.
pip install alliance-platform-frontend
A collection of built-in template tags for easily using Alliance UI React components in Django templates.
A templatetag (for example, Button) can be inserted in a template using the syntax:
{% Button variant="outlined" type="submit" %}Submit{% endButton %}
Components can be nested, e.g.
{% MenuBar %}
{% Menubar.SubMenu %}
{% Menubar.Item %}Item{% endMenubar.Item %}
{% endMenubar.SubMenu %}
{% endMenuBar %}
Keyword arguments to the tag will be automatically passed as props to the React component.
The following functions are also available:
Given the name of the export within alliance-platform-js/ui
, creates the javascript import specification for the specified component.
poetry config repositories.testpypi https://test.pypi.org/legacy/
poetry config pypi-token.testpypi ${TOKEN}
login
keychain at poetry-repository-testpypi
poetry config pypi-token.pypi ${TOKEN}
login
keychain at poetry-repository-pypi
bin/build.py
. This will extract version from CHANGELOG.md, bump version in pyproject.toml
and generate a build for publishingver=$( poetry version --short ) && echo "Version: $ver"
git tag v/frontend/$ver
git push --tags
poetry publish --repository testpypi
poetry publish
FAQs
Django integration for Frontend Bundlers & React
We found that alliance-platform-frontend demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.