Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
djs-collection-persistent
Advanced tools
THIS REPOSITORY IS NOW OBSOLETE AND WILL NO LONGER BE UPDATED
djs-collection-persistent
and djs-collection
have been merged into a more efficient system that's been renamed Enmap.
To get enmap, see The NPMJS Page.
Updating requires no migration, only a change in code:
// OLD CODE
const PersistentCollection = require("djs-collection-persistent");
const myCollection = new PersistentCollection({name: 'myCollection'});
// NEW CODE
const Enmap = require('enmap');
const EnmapLevel = require('enmap-level');
const myCollection = new Enmap({ provider: new EnmapLevel({ name: 'myCollection' }); });
Note that persistence requires a Provider. If you're using djs-collection-persistent
you'll need to install both enmap
and enmap-level
to migrate. No data will be lost.
For support join 〈evie.codes〉 and talk to me, 〈evie.codes〉!
FAQs
Collections stored in persistent database.
We found that djs-collection-persistent 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.