
Security News
Risky Biz Podcast: AI Agents Are Raising the Stakes for Software Supply Chain Security
Open source attacks are accelerating as AI coding agents pull in dependencies faster, with less human review.

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. All the paths are relative to
the directory this file is in. To configure this directory you must set ral.basePath before your first usage of ral.
For example if require-paths.json is:
{
"constants" : "lib/constants"
}
Then the base path can be set in the index.js at the root of the project using:
require('ral').basePath = __dirname;
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.
TODO: test on windows
Release Notes:
ral.pathsConfig =FAQs
Path aliasing for require.
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.

Security News
Open source attacks are accelerating as AI coding agents pull in dependencies faster, with less human review.

Research
/Security News
Malicious Chrome and Firefox extensions posed as free VPNs while stealing clipboard data through later extension updates.

Research
/Security News
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.