mysql2 1.3.0
fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS
mysql2@1.3.0 was published on 2017-05-29. Its manifest declares 13 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. The declared Node.js requirement is >= 0.10.
All mysql2 versions · Permanent reference to 1.3.0 · Latest release
Package specifications
| Version | 1.3.0 |
|---|---|
| License declaration | MIT |
| Published | 2017-05-29T00:38:40.182Z |
| Node.js requirement | >= 0.10 |
| Type declarations | Not declared |
| Runtime dependency count | 13 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | Not supplied |
| Published file count | Not supplied |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | index.js |
| Side effects declaration | Not declared |
| Direct advisories | 7 |
| Resolved graph dependencies | 104 |
| Repository stars | 4391 |
| Repository forks | 684 |
Install mysql2 1.3.0
npm install mysql2@1.3.0 pnpm add mysql2@1.3.0 yarn add mysql2@1.3.0
Runtime dependencies
- long ^3.2.0
- denque ^1.1.1
- cardinal 1.0.0
- lru-cache ^4.0.1
- seq-queue 0.0.5
- sqlstring ^2.2.0
- iconv-lite ^0.4.17
- lint-staged ^3.4.2
- safe-buffer ^5.0.1
- object-assign ^4.1.1
- readable-stream 2.2.9
- generate-function ^2.0.0
- named-placeholders 1.1.1
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- ansi-escapes@1.4.0 — indirect
- ansi-regex@2.1.1 — indirect
- ansi-styles@2.2.1 — indirect
- ansicolors@0.2.1 — indirect
- app-root-path@2.2.1 — indirect
- argparse@1.0.10 — indirect
- balanced-match@1.0.2 — indirect
- brace-expansion@1.1.21 — indirect
- buffer-shims@1.0.0 — indirect
- cardinal@1.0.0 — direct
- chalk@1.1.3 — indirect
- cli-cursor@1.0.2 — indirect
- cli-spinners@0.1.2 — indirect
- cli-truncate@0.2.1 — indirect
- code-point-at@1.1.0 — indirect
- commander@2.20.3 — indirect
- concat-map@0.0.1 — indirect
- core-util-is@1.0.3 — indirect
- cosmiconfig@1.1.0 — indirect
- cross-spawn@5.1.0 — indirect
- date-fns@1.30.1 — indirect
- denque@1.5.1 — direct
- elegant-spinner@1.0.1 — indirect
- error-ex@1.3.4 — indirect
- escape-string-regexp@1.0.5 — indirect
- esprima@3.0.0 — indirect
- esprima@4.0.1 — indirect
- execa@0.7.0 — indirect
- exit-hook@1.1.1 — indirect
- figures@1.7.0 — indirect
- generate-function@2.3.1 — direct
- get-stream@3.0.0 — indirect
- graceful-fs@4.2.11 — indirect
- has-ansi@2.0.0 — indirect
- iconv-lite@0.4.24 — direct
- indent-string@2.1.0 — indirect
- indent-string@3.2.0 — indirect
- inherits@2.0.4 — indirect
- is-arrayish@0.2.1 — indirect
- is-finite@1.1.0 — indirect
- is-fullwidth-code-point@1.0.0 — indirect
- is-promise@2.2.2 — indirect
- is-property@1.0.2 — indirect
- is-stream@1.1.0 — indirect
- isarray@1.0.0 — indirect
- isexe@2.0.0 — indirect
- js-yaml@3.15.2 — indirect
- lint-staged@3.6.1 — direct
- listr@0.12.0 — indirect
- listr-silent-renderer@1.1.1 — indirect
- listr-update-renderer@0.2.0 — indirect
- listr-verbose-renderer@0.4.1 — indirect
- lodash.chunk@4.2.0 — indirect
- log-symbols@1.0.2 — indirect
- log-update@1.0.2 — indirect
- long@3.2.0 — direct
- lru-cache@2.5.0 — indirect
- lru-cache@4.1.5 — direct
- minimatch@3.1.5 — indirect
- minimist@1.2.8 — indirect
- named-placeholders@1.1.1 — direct
- npm-path@2.0.4 — indirect
- npm-run-path@2.0.2 — indirect
- npm-which@3.0.1 — indirect
- number-is-nan@1.0.1 — indirect
- object-assign@4.1.1 — direct
- onetime@1.1.0 — indirect
- ora@0.2.3 — indirect
- os-homedir@1.0.2 — indirect
- p-finally@1.0.0 — indirect
- p-map@1.2.0 — indirect
- parse-json@2.2.0 — indirect
- path-key@2.0.1 — indirect
- pinkie@2.0.4 — indirect
- pinkie-promise@2.0.1 — indirect
- process-nextick-args@1.0.7 — indirect
- pseudomap@1.0.2 — indirect
- readable-stream@2.2.9 — direct
- redeyed@1.0.1 — indirect
- repeating@2.0.1 — indirect
- require-from-string@1.2.1 — indirect
- restore-cursor@1.0.1 — indirect
- rxjs@5.5.12 — indirect
- safe-buffer@5.1.2 — indirect
- safe-buffer@5.2.1 — direct
- safer-buffer@2.1.2 — indirect
- seq-queue@0.0.5 — direct
- shebang-command@1.2.0 — indirect
- shebang-regex@1.0.0 — indirect
- signal-exit@3.0.7 — indirect
- slice-ansi@0.0.4 — indirect
- sprintf-js@1.0.3 — indirect
- sqlstring@2.3.3 — direct
- staged-git-files@0.0.4 — indirect
- stream-to-observable@0.1.0 — indirect
- string-width@1.0.2 — indirect
- string_decoder@1.0.3 — indirect
- strip-ansi@3.0.1 — indirect
- strip-eof@1.0.0 — indirect
- supports-color@2.0.0 — indirect
- symbol-observable@1.0.1 — indirect
- util-deprecate@1.0.2 — indirect
- which@1.3.1 — indirect
- yallist@2.1.2 — indirect
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
Known direct advisories
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Code-Review | 2/10 — Found 5/17 approved changesets -- score normalized to 2 |
|---|---|
| Maintained | 10/10 — 30 commit(s) and 10 issue activity found in the last 90 days -- score normalized to 10 |
| Security-Policy | 10/10 — security policy file detected |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Pinned-Dependencies | 4/10 — dependency not pinned by hash detected -- score normalized to 4 |
| License | 10/10 — license file detected |
| Fuzzing | 0/10 — project is not fuzzed |
| Branch-Protection | 0/10 — branch protection not enabled on development/release branches |
| Packaging | 10/10 — packaging workflow detected |
| SAST | 9/10 — SAST tool detected but not run on all commits |
Evidence and freshness
- https://registry.npmjs.org/mysql2/1.3.0 — retrieved 2026-10-31T22:01:13.524Z
- https://api.deps.dev/v3/projects/github.com%2Fsidorares%2Fnode-mysql2 — retrieved 2026-10-31T18:48:28.857Z
- https://api.deps.dev/v3/systems/npm/packages/mysql2/versions/1.3.0 — retrieved 2026-10-31T22:01:13.940Z
- https://api.deps.dev/v3/systems/npm/packages/mysql2/versions/1.3.0:dependencies — retrieved 2026-10-31T22:01:13.982Z