Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@nurodev/astro-bun
Advanced tools
astro-bun
This adapter allows Astro to deploy your SSR site to Bun targets.
All functionality offered in astro-bun-adapter
is also available in this project, along with some additional features:
"output": "hybrid"
in your astro.config.mjs
to output both static and server-rendered pages.process.on
handlers for when the server exists, or intercepts SIGINT
and SIGTERM
signals.bun add @nurodev/astro-bun
+import bun from "@nurodev/astro-bun";
export default defineConfig({
+ adapter: bun(),
+ output: "hybrid",
});
package.json
start
script{
"scripts": {
- "start": "astro dev"
+ "start": "bun run ./dist/server/entry.mjs"
}
}
This package is structured as a monorepo:
playground
contains code for testing the packagepackage
contains the actual packageInstall dependencies using pnpm:
bun i --frozen-lockfile
Start the playground and package watcher:
bun dev
You can now edit files in package
. Please note that making changes to those files may require restarting the playground dev server.
MIT Licensed. Made with ❤️ by Ben Dixon.
astro-bun-adapter
on but with some improvements added.astro-integration-template
project template.FAQs
An Astro adapter to deploy your SSR site to Bun targets
We found that @nurodev/astro-bun demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.