Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@shagital/adonisjs-seeder-generator
Advanced tools
An AdonisJS (nodejs) package to generate seeder files from existing DB table data
This package allows you easily generate seeder files for your AdonisJS app from existing Database table files!
You can install the package via composer:
npm install @shagital/adonisjs-seeder-generator
Or with yarn
yarn add @shagital/adonisjs-seeder-generator
Open start/app.js
and add @shagital/adonisjs-seeder-generator/src/Commands/SeederGeneratorCommand
to the commands array
adonis
with node ace
if adonis is not installed globally on your system.Will generate migration files for all tables in the DB set as default, and save files in database/seeds
directory
adonis seed:generate
adonis seed:generate --include=table1,table2
adonis seed:generate --exclude=table1,table2
NOTE: Connection type must have been specified in
config/databases
adonis seed:generate --connection=mysql2
NOTE: The package will attempt to create the specified directory if it doesn't exist
adonis seed:generate --path=/var/www/html/backups
This option is suitable for an application that hasn't gotten to production
NOTE: The table content will be wiped! ENSURE THE TABLE IS BACKED UP JUST IN CASE!!!
adonis seed:generate --force
Please see CHANGELOG for more information what has changed recently.
If you have a feature you'd like to add, kindly send a Pull Request (PR)
If you discover any security related issues, please email zacchaeus@shagital.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.
FAQs
An AdonisJS (nodejs) package to generate seeder files from existing DB table data
The npm package @shagital/adonisjs-seeder-generator receives a total of 0 weekly downloads. As such, @shagital/adonisjs-seeder-generator popularity was classified as not popular.
We found that @shagital/adonisjs-seeder-generator 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.