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.
@githubocto/snowpack-vscode-extension-template
Advanced tools
A create-snowpack-app template for writing VS Code extensions with webviews
This is a template for create-snowpack-app which scaffolds a VS Code extension with webviews.
npx create-snowpack-app my-vscode-extension --template @githubocto/snowpack-vscode-extension-template
The VS Code extension environment comes with a lot of limitations that make it difficult to develop for. Webviews run inside an iframe, and must communicate with the extension via message passing. A strict content security policy is imposed, so that extensions can't go off and do Bad Things™ willy-nilly. There's no such thing as HMR.
While it's still fundamentally web technologies, it's a bear to set up in a fashion that feels like modern web development.
This CSA template offers the following niceties:
@tailwind
directives in your css.Sadly, incremental builds are not possible with the way that VS Code currently works. That means that each build is effectively "bundling for production" and is executing snowpack build
for you.
MIT
FAQs
A create-snowpack-app template for writing VS Code extensions with webviews
We found that @githubocto/snowpack-vscode-extension-template demonstrated a not healthy version release cadence and project activity because the last version was released 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.