
Security News
gem.coop Tests Dependency Cooldowns as Package Ecosystems Move to Slow Down Attacks
gem.coop is testing registry-level dependency cooldowns to limit exposure during the brief window when malicious gems are most likely to spread.
A set of small and fast Node.js utilities to understand your pathing needs.
Multiple submodules (eg, empathic/find) are offered, each of which are:
node:* native APIs$ npm install empathic
import { resolve } from 'node:path';
import * as find from 'empathic/find';
import * as pkg from 'empathic/package';
// Assumed example structure:
let cwd = resolve('path/to/acme/websites/dashboard');
// Find closest "foobar.config.js" file
let file = find.up('foobar.config.js', { cwd });
//=> "/.../path/to/acme/foobar.config.js"
// Find closest "package.json" file
let pkgfile = pkg.up({ cwd });
//=> "/.../path/to/acme/package.json"
// Construct (optionally create) "foobar" cache dir
let cache = pkg.cache('foobar', { cwd, create: true });
//=> "/.../path/to/acme/node_modules/.cache/foobar"
empathic/accessSource · Size:
259b
Check for file access/permissions. Named fs.accessSync shortcuts.
empathic/findFind files and/or directories by walking up parent directories.
empathic/packageConvenience helpers for dealing with package.json files and/or node_modules packages.
empathic/resolveResolve absolute paths to package identifiers, relative paths, file URL, and/or from other root directories.
empathic/walkCollect all the parent directories of a target. Controlled via cwd and last options.
MIT © Luke Edwards
FAQs
A set of small and fast Node.js utilities to understand your pathing needs.
The npm package empathic receives a total of 6,679,453 weekly downloads. As such, empathic popularity was classified as popular.
We found that empathic demonstrated a healthy version release cadence and project activity because the last version was released less than 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
gem.coop is testing registry-level dependency cooldowns to limit exposure during the brief window when malicious gems are most likely to spread.

Security News
Following multiple malicious extension incidents, Open VSX outlines new safeguards designed to catch risky uploads earlier.

Research
/Security News
Threat actors compromised four oorzc Open VSX extensions with more than 22,000 downloads, pushing malicious versions that install a staged loader, evade Russian-locale systems, pull C2 from Solana memos, and steal macOS credentials and wallets.