
Security News
npm v12 Ships With Install Scripts Off by Default, Begins Deprecating 2FA-Bypass Tokens
npm v12 is generally available, turning install scripts off by default and beginning the deprecation of 2FA-bypass publishing tokens.
light-api-mongo
Advanced tools
1. 增加文件删除api
2. 增加获取文件元数据api
3. 增加分页查询api
4. 增加按照查询条件删除多个文档api
5. 增加查询文档总条数api
7. 增加排序后查询一定条数api
1. 修复缺陷排序后查询一定条数api排序问题,
2. 修复书写错误问题
1. 修改mongoDB原有Db连接为官方推荐的MongoClient连接
2. 新增poolSize配置
3. 新增fileDB文件数据库配置
4. 新增fileColPrefix GridFs文件存储的集合前缀配置
5.解决查询不能并发的问题
1. 修复otherDb权限控制问题
1. 修复mongodb初始化问题
2. 修改fileDB不识别问题
1. 修复API的_id的兼容
1. 退回1.0.8版兼容_id历史数据会有问题
1. 解决插件初始是报错不支持auto_reconnect问题
1. 插件支持mongodb副本集连接
2. 插件增加数据库用户密码配置
//副本集合配置
"replicaSet":"light_dev",
//数据库用户密码配置
"auth":"user:password",
1. 插件支持mongodb聚合查询及聚合计数
FAQs
this plugin of the light-api server for mongoDB service
The npm package light-api-mongo receives a total of 12 weekly downloads. As such, light-api-mongo popularity was classified as not popular.
We found that light-api-mongo 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
npm v12 is generally available, turning install scripts off by default and beginning the deprecation of 2FA-bypass publishing tokens.

Research
/Security News
Socket tracks the activity as Operation “Muck and Load”: a threat actor uses commit-farming workflows, public dead drops, and protected archives to stage Windows RAT and infostealer malware.

Security News
pnpm 11.10 hardens registry auth to block token redirection, tightens pack-app and deploy, and makes the Rust port (v12) installable.