Security News
NIST Misses 2024 Deadline to Clear NVD Backlog
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
@alipay/faas-db-builder
Advanced tools
db 调用参数解析器
import { MongoBuilder } from '@alipay/faas-db-builder';
const db = new MongoBuilder();
// 获取查询 collection 列表的 mongo 请求参数
const res1 = db.listCollection(123, 456);
assert.deepStrictEqual(res, {
// 查询列表操作
action: 'queryList',
// 参数详情
options: {
$limit: 123,
$skip: 456,
},
// 操作对象为 collection
target: 'collection',
});
// 获取在名为 'todo' 的 collection 中添加 document 的 mongo 请求参数
const res2 = db.collection('todo').add({
data: {
text: 'hello mongo',
done: false,
},
});
assert.deepStrictEqual(res2, {
// 新建操作
action: 'create',
// 目标 collection 名
collectionName: 'todo',
// 参数详情
options: {
done: false,
text: 'hello mongo',
},
// 操作对象为 document
target: 'document',
});
FAQs
db builder
The npm package @alipay/faas-db-builder receives a total of 7 weekly downloads. As such, @alipay/faas-db-builder popularity was classified as not popular.
We found that @alipay/faas-db-builder demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.