
Company News
Socket Partners with Replit to Block Malicious Packages in AI-Powered Development
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.

Require path aliasing.
This module allows you to easily move files and directories in your app without having to update many require calls. Instead you update the relevant alias definition.
The paths aliases to be used are defined in require-paths.json. This file is found be the ral node_module using,
findup(process.env.REQUIRE_PATHS || '*/require-paths.json'). So by default you can put it in your root or customize
its path using process.env.REQUIRE_PATHS.
For example if require-paths.json is:
{
"constants" : "lib/constants"
}
Then the module at lib/constants can be retrieved with:
require('ral')('constants')
If the location of constants changes, only require-paths.json needs to be updated.
A path can be added after the key. For example given constants above:
require('ral')('constants/something')
will give you lib/constants/something.
Release Notes:
FAQs
Path aliasing for require.
The npm package ral receives a total of 15 weekly downloads. As such, ral popularity was classified as not popular.
We found that ral 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.

Company News
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.

Security News
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.

Research
/Security News
Newer packages in this compromise use native extensions and .pth loaders to execute JavaScript stealers in developer environments.