
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.
postcss-map-url
Advanced tools
Ported from rework-plugin-url
PostCSS plugin that maps over each url property in a declaration.
$ npm install postcss-map-url --save-dev
Takes a callback function that recieves the url
var fs = require('fs');
var postcss = require('postcss');
var mapUrl = require('postcss-map-url');
var css = fs.readFileSync('input.css', 'utf8');
var output = postcss()
.use(mapUrl(myMapFunc))
.process(css)
.css;
// Your map function that takes the url as a parameter and
// should return a modified url
function myMapFunc(url) {
return 'http://example.com' + url;
}
Input
body {
background: url(/images/bg.png);
}
Output
body {
background: url(http://example.com/images/bg.png);
}
See PostCSS docs for examples for your environment.
FAQs
PostCSS plugin that maps over each `url` property in a declaration
The npm package postcss-map-url receives a total of 33 weekly downloads. As such, postcss-map-url popularity was classified as not popular.
We found that postcss-map-url 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.