![Namecheap Takes Down Polyfill.io Service Following Supply Chain Attack](https://cdn.sanity.io/images/cgdhsj6q/production/6af25114feaaac7179b18127c83327568ff592d1-1024x1024.webp?w=800&fit=max&auto=format)
Security News
Namecheap Takes Down Polyfill.io Service Following Supply Chain Attack
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
@medable/mdctl-api-driver
Advanced tools
Readme
Developer Tools Driver module
This module provides the access to the db driver endpoints
const { Client } = require('@medable/mdctl-api')
const { Driver } = require('@medable/mdctl-api-driver')
const { CortexObject } = require('@medable/mdctl-api-driver/lib/cortex.object')
// a global org object will be created using the default mdctl credentials
const result = await org.objects.c_my_object.find() // will return a Transform stream.
const result = await org.objects.c_my_object.find().toArray() // will return an array with results
// using bulk operations
const result = await org.objects.bulk()
.add(org.objects.c_my_object.inserOne({}), {
name: 'InserOne',
halt: true,
wrap: true,
output: true
})
.add(org.objects.c_my_object.find({c_name: 'test'}), {
name: 'Results',
halt: true,
wrap: true,
output: true
})
.toArray()
// In case you want to use a different credentials/environment
const driver = new Driver(new Client({environment, credentials}))
const obj = new CortexObject('c_my_object', driver)
const result = await obj.find({c_name: 'test'})
FAQs
Medable Developer Client Tools :: Api DB Driver
The npm package @medable/mdctl-api-driver receives a total of 71 weekly downloads. As such, @medable/mdctl-api-driver popularity was classified as not popular.
We found that @medable/mdctl-api-driver demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 8 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
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.
Security News
A JavaScript library maintainer is under fire after merging a controversial PR to support legacy versions of Node.js.