{"name":"sequelize","description":"Sequelize is a promise-based Node.js ORM tool for Postgres, MySQL, MariaDB, SQLite, Microsoft SQL Server, Amazon Redshift and Snowflake’s Data Cloud. It features solid transaction support, relations, eager and lazy loading, read replication and more.","version":"7.0.0-alpha.7","funding":[{"type":"opencollective","url":"https://opencollective.com/sequelize"}],"repository":{"type":"git","url":"git+https://github.com/sequelize/sequelize.git"},"bugs":{"url":"https://github.com/sequelize/sequelize/issues"},"homepage":"https://sequelize.org/","main":"./lib/index.js","types":"./types","type":"commonjs","exports":{".":{"import":"./lib/index.mjs","require":"./lib/index.js"},"./lib/*":"./lib/*.js","./lib/errors":"./lib/errors/index.js","./*":"./*"},"engines":{"node":"^12.22.0 || ^14.17.0 || >=16.0.0"},"license":"MIT","dependencies":{"@types/debug":"^4.1.7","debug":"^4.3.3","dottie":"^2.0.2","inflection":"^1.13.1","lodash":"^4.17.21","moment":"^2.29.1","moment-timezone":"^0.5.34","pg-connection-string":"^2.5.0","retry-as-promised":"^5.0.0","semver":"^7.3.5","sequelize-pool":"^7.1.0","toposort-class":"^1.0.1","uuid":"^8.3.2","validator":"^13.7.0","wkx":"^0.5.0"},"devDependencies":{"@rushstack/eslint-patch":"1.1.0","@commitlint/cli":"16.1.0","@commitlint/config-angular":"16.0.0","@ephys/eslint-config-typescript":"14.1.1","@types/chai":"4.3.0","@types/mocha":"9.1.0","@types/node":"16.11.22","@types/sinon":"10.0.11","@types/validator":"13.7.1","acorn":"8.7.0","chai":"4.3.6","chai-as-promised":"7.1.1","chai-datetime":"1.8.0","cheerio":"1.0.0-rc.10","cls-hooked":"4.2.2","copyfiles":"2.4.1","cross-env":"7.0.3","delay":"5.0.0","esbuild":"0.14.21","esdoc":"1.1.0","esdoc-ecmascript-proposal-plugin":"1.0.0","esdoc-inject-style-plugin":"1.0.0","esdoc-standard-plugin":"1.0.0","eslint":"8.8.0","eslint-plugin-jsdoc":"37.8.1","eslint-plugin-mocha":"10.0.3","expect-type":"0.12.0","fast-glob":"3.2.11","fs-jetpack":"4.3.1","husky":"7.0.4","lcov-result-merger":"3.1.0","lint-staged":"12.3.3","mariadb":"2.5.5","markdownlint-cli":"0.31.1","mocha":"9.2.0","module-alias":"2.2.2","ibm_db":"2.8.1","mysql2":"2.3.3","node-hook":"1.0.0","nyc":"15.1.0","p-map":"4.0.0","p-props":"4.0.0","p-settle":"4.1.1","p-timeout":"4.1.0","pg":"8.7.3","pg-hstore":"2.3.4","rimraf":"3.0.2","semantic-release":"19.0.2","semantic-release-fail-on-major-bump":"1.0.0","sinon":"13.0.1","sinon-chai":"3.7.0","snowflake-sdk":"1.6.6","source-map-support":"0.5.21","sqlite3":"npm:@vscode/sqlite3@5.0.7","tedious":"14.2.0","typescript":"4.5.5"},"peerDependenciesMeta":{"pg":{"optional":true},"pg-hstore":{"optional":true},"mysql2":{"optional":true},"ibm_db":{"optional":true},"snowflake-sdk":{"optional":true},"mariadb":{"optional":true},"sqlite3":{"optional":true},"tedious":{"optional":true}},"keywords":["mysql","mariadb","sqlite","postgresql","postgres","pg","mssql","db2","ibm_db","sql","sqlserver","snowflake","orm","nodejs","object relational mapper","database","db"],"commitlint":{"extends":["@commitlint/config-angular"],"rules":{"type-enum":[2,"always",["build","ci","docs","feat","fix","perf","refactor","revert","style","test","meta"]]}},"lint-staged":{"*.{js,mjs,cjs,ts,mts,cts}":"eslint --fix --report-unused-disable-directives"},"release":{"plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/npm","@semantic-release/github"],"branches":["v6",{"name":"v7","prerelease":"alpha"}]},"publishConfig":{"tag":"alpha"},"scripts":{"----------------------------------------- static analysis -----------------------------------------":"","lint":"eslint . --fix --report-unused-disable-directives","lint-no-fix":"eslint . --quiet --report-unused-disable-directives","lint-docs":"markdownlint docs","test-typings":"tsc --noEmit --emitDeclarationOnly false && tsc -b test/tsconfig.json","----------------------------------------- documentation -------------------------------------------":"","docs":"rimraf esdoc && esdoc -c docs/esdoc-config.js && cp docs/favicon.ico esdoc/favicon.ico && cp docs/ROUTER.txt esdoc/ROUTER && node docs/run-docs-transforms.js && node docs/redirects/create-redirects.js && rimraf esdoc/file esdoc/source.html","----------------------------------------- tests ---------------------------------------------------":"","mocha":"mocha -r ./test/registerEsbuild","test-unit":"yarn mocha \"test/unit/**/*.test.[tj]s\"","test-integration":"yarn mocha \"test/integration/**/*.test.[tj]s\"","teaser":"node test/teaser.js","test":"yarn prepare && yarn test-typings && yarn teaser && yarn test-unit && yarn test-integration","----------------------------------------- coverage ------------------------------------------------":"","cover":"rimraf coverage && yarn teaser && yarn cover-integration && yarn cover-unit && yarn merge-coverage","cover-integration":"cross-env COVERAGE=true nyc --reporter=lcovonly yarn mocha \"test/integration/**/*.test.[tj]s\" && node -e \"require('fs').renameSync('coverage/lcov.info', 'coverage/integration.info')\"","cover-unit":"cross-env COVERAGE=true nyc --reporter=lcovonly yarn mocha \"test/unit/**/*.test.[tj]s\" && node -e \"require('fs').renameSync('coverage/lcov.info', 'coverage/unit.info')\"","merge-coverage":"lcov-result-merger \"coverage/*.info\" \"coverage/lcov.info\"","----------------------------------------- local test dbs ------------------------------------------":"","start-mariadb":"bash dev/mariadb/10.3/start.sh","start-mysql":"bash dev/mysql/5.7/start.sh","start-mysql-8":"bash dev/mysql/8.0/start.sh","start-postgres":"bash dev/postgres/10/start.sh","start-mssql":"bash dev/mssql/2019/start.sh","start-db2":"bash dev/db2/11.5/start.sh","stop-mariadb":"bash dev/mariadb/10.3/stop.sh","stop-mysql":"bash dev/mysql/5.7/stop.sh","stop-mysql-8":"bash dev/mysql/8.0/stop.sh","stop-postgres":"bash dev/postgres/10/stop.sh","stop-mssql":"bash dev/mssql/2019/stop.sh","stop-db2":"bash dev/db2/11.5/stop.sh","restart-mariadb":"yarn start-mariadb","restart-mysql":"yarn start-mysql","restart-postgres":"yarn start-postgres","restart-mssql":"yarn start-mssql","restart-db2":"yarn start-db2","----------------------------------------- local tests ---------------------------------------------":"","test-unit-mariadb":"cross-env DIALECT=mariadb yarn test-unit","test-unit-mysql":"cross-env DIALECT=mysql yarn test-unit","test-unit-postgres":"cross-env DIALECT=postgres yarn test-unit","test-unit-postgres-native":"cross-env DIALECT=postgres-native yarn test-unit","test-unit-sqlite":"cross-env DIALECT=sqlite yarn test-unit","test-unit-mssql":"cross-env DIALECT=mssql yarn test-unit","test-unit-db2":"cross-env DIALECT=db2 yarn test-unit","test-unit-snowflake":"cross-env DIALECT=snowflake yarn test-unit","test-unit-all":"yarn test-unit-mariadb && yarn test-unit-mysql && yarn test-unit-postgres && yarn test-unit-postgres-native && yarn test-unit-mssql && yarn test-unit-sqlite && yarn test-unit-snowflake && yarn test-unit-db2","test-integration-mariadb":"cross-env DIALECT=mariadb yarn test-integration","test-integration-mysql":"cross-env DIALECT=mysql yarn test-integration","test-integration-postgres":"cross-env DIALECT=postgres yarn test-integration","test-integration-postgres-native":"cross-env DIALECT=postgres-native yarn test-integration","test-integration-sqlite":"cross-env DIALECT=sqlite yarn test-integration","test-integration-mssql":"cross-env DIALECT=mssql yarn test-integration","test-integration-db2":"cross-env DIALECT=db2 yarn test-integration","test-integration-snowflake":"cross-env DIALECT=snowflake yarn test-integration","test-mariadb":"cross-env DIALECT=mariadb yarn test","test-mysql":"cross-env DIALECT=mysql yarn test","test-sqlite":"cross-env DIALECT=sqlite yarn test","test-postgres":"cross-env DIALECT=postgres yarn test","test-postgres-native":"cross-env DIALECT=postgres-native yarn test","test-mssql":"cross-env DIALECT=mssql yarn test","test-db2":"cross-env DIALECT=db2 yarn test","----------------------------------------- development ---------------------------------------------":"","fix-commit":"export TMPFILE=$(mktemp) && grep -v '^#' $(git rev-parse --git-dir)/COMMIT_EDITMSG > $TMPFILE && git commit -e -F $TMPFILE","sscce":"node sscce.js","sscce-mariadb":"cross-env DIALECT=mariadb node sscce.js","sscce-mysql":"cross-env DIALECT=mysql node sscce.js","sscce-postgres":"cross-env DIALECT=postgres node sscce.js","sscce-postgres-native":"cross-env DIALECT=postgres-native node sscce.js","sscce-sqlite":"cross-env DIALECT=sqlite node sscce.js","sscce-mssql":"cross-env DIALECT=mssql node sscce.js","sscce-db2":"cross-env DIALECT=db2 node sscce.js","prepare":"yarn build && husky install","build":"node ./build.js","---------------------------------------------------------------------------------------------------":""},"support":true,"readme":"<p align=\"center\">\n  <img src=\"docs/images/logo-small.png\" width=\"100\" />\n  <h1 align=\"center\">Sequelize</h1>\n</p>\n\n[![npm version](https://badgen.net/npm/v/sequelize)](https://www.npmjs.com/package/sequelize)\n[![Build Status](https://github.com/sequelize/sequelize/workflows/CI/badge.svg)](https://github.com/sequelize/sequelize/actions?query=workflow%3ACI)\n[![npm downloads](https://badgen.net/npm/dm/sequelize)](https://www.npmjs.com/package/sequelize)\n[![contributors](https://img.shields.io/github/contributors/sequelize/sequelize)](https://github.com/sequelize/sequelize/graphs/contributors)\n[![Open Collective](https://img.shields.io/opencollective/backers/sequelize)](https://opencollective.com/sequelize#section-contributors)\n[![sponsor](https://img.shields.io/opencollective/all/sequelize?label=sponsors)](https://opencollective.com/sequelize)\n[![Merged PRs](https://badgen.net/github/merged-prs/sequelize/sequelize)](https://github.com/sequelize/sequelize)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nSequelize is an easy-to-use and promise-based [Node.js](https://nodejs.org/en/about/) [ORM tool](https://en.wikipedia.org/wiki/Object-relational_mapping) for [Postgres](https://en.wikipedia.org/wiki/PostgreSQL), [MySQL](https://en.wikipedia.org/wiki/MySQL), [MariaDB](https://en.wikipedia.org/wiki/MariaDB), [SQLite](https://en.wikipedia.org/wiki/SQLite), [DB2](https://en.wikipedia.org/wiki/IBM_Db2_Family) and [Microsoft SQL Server](https://en.wikipedia.org/wiki/Microsoft_SQL_Server). It features solid transaction support, relations, eager and lazy loading, read replication and more.\n\nSequelize follows [Semantic Versioning](http://semver.org) and the [official Node.js LTS schedule](https://nodejs.org/en/about/releases/). Version 7 of Sequelize officially supports the Node.js versions `^12.22.0`, `^14.17,0`, `^16.0.0`. Other version might be working as well.\n\nNew to Sequelize? Take a look at the [Tutorials and Guides](https://sequelize.org/master). You might also be interested in the [API Reference](https://sequelize.org/master/identifiers).\n\nWould you like to contribute? Read [our contribution guidelines](https://github.com/sequelize/sequelize/blob/main/CONTRIBUTING.md) to know more. There are many ways to help! 😃\n\n### :pencil: Major version changelog\n\nPlease find upgrade information to major versions here:\n\n- [Upgrade from v5 to v6](https://github.com/sequelize/sequelize/blob/main/docs/manual/other-topics/upgrade-to-v6.md)\n- [Upgrade from v6 to v7](https://github.com/sequelize/sequelize/blob/main/docs/manual/other-topics/upgrade-to-v7.md)\n\n## :money_with_wings: Supporting the project\n\nDo you like Sequelize and would like to give back to the engineering team behind it?\n\nWe have recently created an [OpenCollective based money pool](https://opencollective.com/sequelize) which is shared amongst all core maintainers based on their contributions. Every support is wholeheartedly welcome. ❤️\n\n## :computer: Installation\n\n```sh\n# using npm\nnpm i sequelize # This will install latest version of Sequelize\n# using yarn\nyarn add sequelize\n```\n\n```sh\n# Libraries used for supported dialects are :\n# using npm\nnpm i pg pg-hstore # PostgreSQL\nnpm i mysql2 # MySQL\nnpm i mariadb # MariaDB\nnpm i sqlite3 # SQLite\nnpm i tedious # Microsoft SQL Server\nnpm i ibm_db # DB2\n# using yarn\nyarn add pg pg-hstore # PostgreSQL\nyarn add mysql2 # MySQL\nyarn add mariadb # MariaDB\nyarn add sqlite3 # SQLite\nyarn add tedious # Microsoft SQL Server\nyarn add ibm_db # DB2\n```\n\n## :book: Documentation\n\n- [Latest Version Documentation (v7)](https://sequelize.org/v7)\n- [All Documentation Versions](https://sequelize.org)\n- [Contributing](https://github.com/sequelize/sequelize/blob/main/CONTRIBUTING.md)\n\n## :warning: Responsible disclosure\n\nIf you have security issues to report, please refer to our [Responsible Disclosure Policy](https://github.com/sequelize/sequelize/blob/main/SECURITY.md) for more details.\n\n## :book: Resources\n\n- [Changelog](https://github.com/sequelize/sequelize/releases)\n- [Discussions](https://github.com/sequelize/sequelize/discussions)\n- [Slack Inviter](http://sequelize-slack.herokuapp.com/)\n- [Stack Overflow](https://stackoverflow.com/questions/tagged/sequelize.js)\n\n### :wrench: Tools\n\n- [CLI](https://github.com/sequelize/cli)\n- [With TypeScript](https://sequelize.org/master/manual/typescript.html)\n- [Enhanced TypeScript with decorators](https://github.com/RobinBuschmann/sequelize-typescript)\n- [For GraphQL](https://github.com/mickhansen/graphql-sequelize)\n- [For CockroachDB](https://github.com/cockroachdb/sequelize-cockroachdb)\n- [Plugins](https://sequelize.org/master/manual/resources.html)\n- [For YugabyteDB](https://github.com/yugabyte/sequelize-yugabytedb)\n\n### :speech_balloon: Translations\n\n- [English](https://sequelize.org/master) (OFFICIAL)\n- [中文文档](https://github.com/demopark/sequelize-docs-Zh-CN) (UNOFFICIAL)\n\n","readmeFilename":"README.md","gitHead":"0249885155682924b945bfcf663241b586a71ac1","_id":"sequelize@7.0.0-alpha.7","_nodeVersion":"16.13.2","_npmVersion":"8.3.1","dist":{"integrity":"sha512-gw8opxjYerP8FsnexQhfOHulvx9TwA5le9ZY8gz/zWSGNF5ypp/eS7Qmbbol1rMBLatXIx8+24bar9rCJBLdjA==","shasum":"1b1c672debd0663dd4cc9f41f52db1a43471ccd7","tarball":"http://registry-npm.ywwl.com/sequelize/download/sequelize-7.0.0-alpha.7.tgz","fileCount":280,"unpackedSize":2639120,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBMwFCRA9TVsSAnZWagAAF6sP/0gegEaV4owNdKs6blCM\nhg1Hm3AQBAou5tIrA5Z5DU0+VG1SQByVeybyzDt2CSVKQYcpUvb+liN/KquT\nM1cDqr+mIOo6TnfNlbfGi0aNnAfZUleusXoDnmSKf/Swx9O6Dv9KVG9+4jmh\nk4POyCWCoD7Tq/eJs1xFyNtx03bJL6y71nQiaudYnJaO+bn4DcNqiZRdWXbb\n/kD08VXf81KQ5tbv0Yuhp15P5eTVUy97vxa4ZlWdqbBCt9jlG76tABQtzjH5\nFxg/S+0cBm5z59T8BRPkIimN0K/4+QntvTsNeq5Ba9TyMqzO7Rwl8L8aFddp\nLHNtUAFz9hkZnlR3mcRHT/KjX9Oq3weHVKbUxBTmhAHiyug8M5SRmLaxLUHT\ngiX95XW9l02eJ6nIcP8YWxf6qgz1VMmgQ2SfTz0t6qO5ugIvPiCuRjCSyiau\ned7BteNuN0gNx4YM6tFxSILDO3LckKfb/1o03rHe78dvDvfy+Q4pUXwkkcdO\nyTu6i3nRUmd+FOtiS1ep2/bgIHepoV1DqAI2ZVI/ROtFCJwhc4xviX4lHqPs\nWSkWZP7mUchQp+URSQOHfdfo9P5ql/iU+vvla3jtByD9XsNItKB1jwM1zZ95\nwGRYHX3OT621iJicBGTEqn3xkfMqgeJvQmxBwcchOic3oQBbv6JhpoHxeiOD\nhLCm\r\n=64/K\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG+v7SaLv9PAPFA5nwQeYxzh401Grtc7ypasVJ874rleAiB6LizpzfeMy7LAd54ld7bOW+NTbD9lZMZex9L3aI86Ew=="}],"size":538418,"noattachment":false,"key":"/sequelize/-/sequelize-7.0.0-alpha.7.tgz"},"_npmUser":{"name":"papb","email":"papb1996@gmail.com"},"directories":{},"maintainers":[{"name":"janaameier","email":"janzeh@gmail.com"},{"name":"durango","email":"me@danieldurante.com"},{"name":"mickhansen","email":"mick.kasper.hansen@gmail.com"},{"name":"sdepold","email":"sascha@depold.com"},{"name":"felixfbecker","email":"felix.b@outlook.com"},{"name":"sushantdhiman","email":"sushantdhiman@outlook.com"},{"name":"eseliger","email":"erikseliger@me.com"},{"name":"papb","email":"papb1996@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sequelize_7.0.0-alpha.7_1644481541005_0.41516149967039273"},"_hasShrinkwrap":false,"publish_time":1644481541165,"_cnpm_publish_time":1644481541165,"dist-tags":{"alpha":"7.0.0-alpha.9","latest":"6.37.8","v4":"4.44.4","v5":"5.22.5"}}