Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@desmart/queue-knex
Advanced tools
Readme
Knexjs connector for @desmart/queue
npm i @desmart/queue-knex
const { manager, job } = require('@desmart/queue')
const connector = require('@desmart/queue-knex')
const queue = manager(connector({
knex: knexConnectionInstance
}))
Connector can be configured by passing options object to factory function.
Available options:
knex
knex connection to dbtable [jobs]
which table should be used to store/retrieve jobsretryAfter [600]
number of seconds for which job will be lockedIn migrations/
folder you will find Knex migration file. Import/copy it to you application.
If you're planning to contribute to the package please make sure to adhere to following conventions.
npm run lint
to check if there are any linting errorsDefault test suite is using SQLite db.
It's possible to run tests against different databases.
This requires installed Docker Native.
To run tests for latest MySQL:
NODE_ENV=mysql .travis/setUp.sh
NODE_ENV=mysql npm test
NODE_ENV=mysql .travis/tearDown.sh
Available databases:
mysql
latest version of MySQLmysql5
last available version of MySQL 5postgres
latest version of Postgrespostgres9
last available version of Postgres 9We're not looking back! You are encouraged to use all features from ES6.
This package follows functional approach - if possible use pure functions, avoid classes etc.
FAQs
Knexjs connector for @desmart/queue
The npm package @desmart/queue-knex receives a total of 2 weekly downloads. As such, @desmart/queue-knex popularity was classified as not popular.
We found that @desmart/queue-knex demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.