
Research
Node.js Fixes AsyncLocalStorage Crash Bug That Could Take Down Production Servers
Node.js patched a crash bug where AsyncLocalStorage could cause stack overflows to bypass error handlers and terminate production servers.
Compile Svelte components with Fly
npm install --save-dev fly-svelte
exports.views = function * (fly) {
yield fly.source('src/**/*.html').svelte({
entry: 'src/App.html',
sourceMap: 'inline'
}).target('dist/js');
}
If you wanted, you can chain other JavaScript plugins (eg fly-babel) immediately after Svelte compiles!
exports.scripts = function * (fly) {
yield fly.source('src/App.html').svelte({
css: false
}).babel({
presets: ['es2015']
}).target('dist/js');
}
By default, every file from fly.source will be treated as an entry file. (This can be changed via options.entry.) All source files will be compiled with .js file extensions.
Check out Svelte's CLI documentation to see the available options.
This plugin adds two additional options:
Type: String or Array
Default: null
Use to specify entry file(s) from a larger source. Doing so will overwrite the the internal fly.source array. Useful when chaining multiple relevant tasks.
Type: String
Options: 'internal' or 'external'
Default: false
Create an inline or an external sourcemap for each entry file. A sourceMappingURL comment is appended to each destination file.
If using external maps, a
foo.jsentry will also generate afoo.js.mapfile.
MIT © Luke Edwards
FAQs
Compile Svelte components with Fly
We found that fly-svelte demonstrated a not healthy version release cadence and project activity because the last version was released 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.

Research
Node.js patched a crash bug where AsyncLocalStorage could cause stack overflows to bypass error handlers and terminate production servers.

Research
/Security News
A malicious Chrome extension steals newly created MEXC API keys, exfiltrates them to Telegram, and enables full account takeover with trading and withdrawal rights.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.