
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.
scriptloader
Advanced tools
Absurdly simple on-demand script loader.
$ npm install scriptloader
$ component install timoxley/scriptloader
var load = require('scriptloader')
load('//my-widget.js') // load js from current domain
load('//remote.com/their-widget.js') // load js from remote domain
// returns the script. you can listen for load/error on this directly
load('//cdnjs.cloudflare.com/ajax/libs/json3/3.2.4/json3.min.js').addEventListener('load', function() {
console.log('it is loaded')
})
// or just supply a callback
load('//cdnjs.cloudflare.com/ajax/libs/json3/3.2.5/json3.min.js', function(err, script) {
console.log('it is loaded')
})
// you can also specify a target document where you want the script to be loaded
load(iframe.contentWindow.document, '//cdnjs.cloudflare.com/ajax/libs/json3/3.2.5/json3.min.js', function(err, script) {
console.log('it is loaded')
})
scriptloader appends a script tag to your document.body with the src
attribute set to the script you desire to load.
Interesting problem. Unfortunately we can't use domify to do this
since <script> src attributes don't trigger remote loading
if they're created using innerHTML, which is how domify works.
<script> after it loads?async attribute.MIT
FAQs
Absurdly simple on-demand script loader.
The npm package scriptloader receives a total of 42 weekly downloads. As such, scriptloader popularity was classified as not popular.
We found that scriptloader 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.