This directory contains local modifications to dependencies, managed by patch-package.
@mapbox/[email protected]
- Issue: Uses deprecated legacy Node.js APIs (
url.parse,url.resolve). - Impact: Causes warnings and potential resolution failures in modern Node.js environments (Node 22+).
- Why Patch? Upstream maintenance on
mapbox/node-pre-gypis slow, and the package maintains strict backward compatibility with very old Node.js versions, preventing them from adopting the modernURLconstructor. - Status: Required until upstream releases a version that uses the modern
URLAPI or until dependencies (likeroaring) migrate away fromnode-pre-gyp.