Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@ydv/mongo
Advanced tools
npm install --save @ydv/mongo
Exports db helpers and mongoose.
Expects process.env.MONGO_URL to be set for connection!!
const { db, Types, Model, Schema } = require('@ydv/mongo)
db; // db is just a copy of require('mongoose')
Types; // shorthand for mongoose.Schema.Types.
// e.g. Types.ObjectId === mongoose.Schema.Types.ObjectId.
Model; // wrapper to create a mongoose model with some defaults/fixes for Lambda.
Schema; // wrapper to create a mongoose Schema with some defaults.
Find method in Model class is redifined so that all the find queries return a result equivaluent to find(args).lean().
FAQs
``` npm install --save @ydv/mongo ```
The npm package @ydv/mongo receives a total of 0 weekly downloads. As such, @ydv/mongo popularity was classified as not popular.
We found that @ydv/mongo demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.