Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
@figma/create-widget
Advanced tools
Create new FigJam widgets with a single command.
npm init @figma/widget
The created widgets use:
file/folder | description |
---|---|
manifest.json | The widget's manifest.json |
widget-src/ | Contains the widget code |
ui-src/ | Contains the iframe code |
After running npm init @figma/widget
, follow the provided prompts.
npm run dev
This is the only command you need to run in development. It will start the following processes for you:
npm run build
This runs bundling with minification turned on. You should run this command before releasing your widget.
npm run test
This runs typechecking and makes sure that your widget builds without errors.
Credit to https://github.com/yuanqing/create-figma-plugin for providing a way to npm init
widgets and plugins before this repository ever existed.
FAQs
Create a widget from figma widget templates
The npm package @figma/create-widget receives a total of 9 weekly downloads. As such, @figma/create-widget popularity was classified as not popular.
We found that @figma/create-widget demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 26 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.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.