Installations
npm install sequelize-cli
Score
57
Supply Chain
89.1
Quality
79.9
Maintenance
100
Vulnerability
98.6
License
Developer
sequelize
Developer Guide
Module System
Unable to determine the module system for this package.
Min. Node Version
>=10.0.0
Typescript Support
Yes
Node Version
18.18.2
NPM Version
9.8.1
Statistics
2,534 Stars
1,060 Commits
525 Forks
37 Watching
12 Branches
99 Contributors
Updated on 27 Nov 2024
Languages
JavaScript (99.75%)
TypeScript (0.18%)
Shell (0.07%)
Total Downloads
Cumulative downloads
Total Downloads
128,711,983
Last day
-1.2%
109,453
Compared to previous day
Last week
6.9%
595,623
Compared to previous week
Last month
5.3%
2,467,318
Compared to previous month
Last year
-16.3%
27,414,388
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
sequelize/cli
The Sequelize Command Line Interface (CLI)
Table of Contents
Installation
Make sure you have Sequelize installed. Then install the Sequelize CLI to be used in your project with
1npm install --save-dev sequelize-cli
And then you should be able to run the CLI with
1npx sequelize --help
Usage
1Sequelize CLI [Node: 10.21.0, CLI: 6.0.0, ORM: 6.1.0] 2 3sequelize <command> 4 5Commands: 6 sequelize db:migrate Run pending migrations 7 sequelize db:migrate:schema:timestamps:add Update migration table to have timestamps 8 sequelize db:migrate:status List the status of all migrations 9 sequelize db:migrate:undo Reverts a migration 10 sequelize db:migrate:undo:all Revert all migrations ran 11 sequelize db:seed Run specified seeder 12 sequelize db:seed:undo Deletes data from the database 13 sequelize db:seed:all Run every seeder 14 sequelize db:seed:undo:all Deletes data from the database 15 sequelize db:create Create database specified by configuration 16 sequelize db:drop Drop database specified by configuration 17 sequelize init Initializes project 18 sequelize init:config Initializes configuration 19 sequelize init:migrations Initializes migrations 20 sequelize init:models Initializes models 21 sequelize init:seeders Initializes seeders 22 sequelize migration:generate Generates a new migration file [aliases: migration:create] 23 sequelize model:generate Generates a model and its migration [aliases: model:create] 24 sequelize seed:generate Generates a new seed file [aliases: seed:create] 25 26Options: 27 --version Show version number [boolean] 28 --help Show help [boolean] 29 30Please specify a command
Contributing
All contributions are accepted as a PR.
- You can file issues by submitting a PR (with test) as a test case.
- Implement new feature by submitting a PR
- Improve documentation by submitting PR to Sequelize
Please read the contributing guidelines.
Documentation
Stable Version
The latest stable version of the package.
Stable Version
6.6.2
LOW
1
3.5/10
Summary
Sensitive Data Exposure in sequelize-cli
Affected Versions
<= 5.4.0
Patched Versions
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
packaging workflow detected
Details
- Info: Project packages its releases by way of GitHub Actions.: .github/workflows/ci.yml:71
Reason
SAST tool is run on all commits
Details
- Info: SAST configuration detected: CodeQL
- Info: all commits (30) are checked with a SAST tool
Reason
8 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv
- Warn: Project is vulnerable to: GHSA-mqr2-w7wj-jjgr
- Warn: Project is vulnerable to: GHSA-49j4-86m8-q2jw
- Warn: Project is vulnerable to: GHSA-fpw7-j2hg-69v5
- Warn: Project is vulnerable to: GHSA-4rch-2fh8-94vw
- Warn: Project is vulnerable to: GHSA-pmh2-wpjm-fj45
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql-analysis.yml:14
- Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql-analysis.yml:15
- Warn: no topLevel permission defined: .github/workflows/ci.yml:1
- Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1
- Warn: no topLevel permission defined: .github/workflows/notify.yml:1
- Info: no jobLevel write permissions found
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/sequelize/cli/ci.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/sequelize/cli/ci.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/sequelize/cli/ci.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/sequelize/cli/ci.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:64: update your workflow using https://app.stepsecurity.io/secureworkflow/sequelize/cli/ci.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:65: update your workflow using https://app.stepsecurity.io/secureworkflow/sequelize/cli/ci.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:85: update your workflow using https://app.stepsecurity.io/secureworkflow/sequelize/cli/ci.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:86: update your workflow using https://app.stepsecurity.io/secureworkflow/sequelize/cli/ci.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:92: update your workflow using https://app.stepsecurity.io/secureworkflow/sequelize/cli/ci.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/sequelize/cli/codeql-analysis.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/sequelize/cli/codeql-analysis.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/sequelize/cli/codeql-analysis.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/sequelize/cli/codeql-analysis.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/notify.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/sequelize/cli/notify.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/notify.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/sequelize/cli/notify.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/notify.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/sequelize/cli/notify.yml/main?enable=pin
- Info: 0 out of 12 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 4 third-party GitHubAction dependencies pinned
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Score
4.5
/10
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More