Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
dynogels-promise
Advanced tools
This package was created for two main reasons:
the maintainer of dynogels has not fixed a vulnerability that exists in the package eventhough a PR has been submitted for fixing that close to year now. See here
The promisified version, dynogels-promisified of that package also has outdated dependencies. The PR submitted there is also almost a year.
The projects is great, so decided to combine the both projects and deploy it as dynogels-promise
> npm install dynogels-promise
All methods available in dynogels have been promisified and and can be assessed under the same name
Also Async
versions of the methods that were available in dynogels-promisified are also available for backward-compatibility. So you can replace dynogels-promisified with this package, and will still work perfectly.
const dynogels = require('dynogels-promise')
const Todo = dynogels.define('Todo', {
timestamps: true,
hashKey: 'id',
schema: {
id: joi.string().required(),
done: joi.boolean.default(false),
content: joi.string().required()
}
})
//=> Create Todo
const newTodo = await Todo.create({ id: uuid(), content: 'Write this doc' })
const newTodo = await Todo.createAsync({ id: uuid(), content: 'Write this doc' }) // backward compatibility
//=> Get a Todo item
const todo = await Todo.get('4549b30d-4a4a-4230-82d4-3286c9348d24')
const todo = await Todo.getAsync('4549b30d-4a4a-4230-82d4-3286c9348d24') // backward compatibility
FAQs
Promisified dynogels module
The npm package dynogels-promise receives a total of 19 weekly downloads. As such, dynogels-promise popularity was classified as not popular.
We found that dynogels-promise 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.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.