{"_id":"@next-auth/typeorm-legacy-adapter","_rev":"73-6b59f49a139d14f93d5fedf7b5941920","name":"@next-auth/typeorm-legacy-adapter","dist-tags":{"pr-63":"0.0.2-pr.63.110","pr-77":"0.0.2-pr.77.131","pr-78":"0.0.2-pr.78.134","pr-97":"0.0.2-pr.97.150","pr-135":"0.0.2-pr.135.218","canary":"0.0.2-canary.218","pr-150":"0.1.1-pr.150.4","experimental":"0.1.2-pr.307-f193e1d9.20","next":"0.1.2-next.20","latest":"2.0.2"},"versions":{"0.0.2-pr.63.110":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.0.2-pr.63.110","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.0.2-pr.63.110","maintainers":[{"name":"iaincollins","email":"me@iaincollins.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"balazsorban","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"ca06b69dca7e27aee4fa7bea42213f7b5abeb39c","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.0.2-pr.63.110.tgz","fileCount":51,"integrity":"sha512-79EfoRZSoyqgBY6hoXpZ+TnDAyh2bqnuN3dNELwmALH4RdP5j5FaN1dUH0nbBZjyimPaam0lgnwXYdEIT5Hq3Q==","signatures":[{"sig":"MEQCIBqChvTL9B4EDtFioKnE8W9fuiTcm2Mdg91volpetlHoAiAYuY0HxxKDEZc0gKQ1bho0CoaYvUgKkUSejurUSP/K3A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":356724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJghfvVCRA9TVsSAnZWagAA8KEQAIMAT4NrFwyfg3ug7sTK\nTGO6h51aEQNSs2L07QJ2gYze3t2mby8tR5ixeuiS6Z7F7rLzsinYa9UM98P4\naewVTEYO2h0YroydVJPI+Fixo8vY0yzowX2vGEeog1DMnh5KjUCZZYWRMPp9\nhUqxQKBOi+CqL0HZUWBIWIC+dW+kEO06Mh0FjXkE58RCeYMS3DubEnNWGeG6\nXwy6fZnotymPWh3DBeAuLweRGx+tG0vSO2mckMntWYEKkFGg7PcdotGtq6+e\nsIbA8vM+SjwuBLFH5XQPUPIn48TwPSt77YqilTaosvAnTeDe+si+7za2qHUh\nurQHfuF06hHykmvgExcD5YwJrJVr0+7EuW6Lj60Ev3lBipeBAeujfYLKnoqK\nvPMBAqNPkyUEXFRRB8FMyfPfLns0iFSKr3hitCrkPST5ThAZjR/M7dFBySid\nA8d18vBGcaFhY1ldXYe48DGZ8KRDAfpaUVjws0Q6xmeQqdUdERL6EzuwEwzY\naFWDieSe7koe0o2PpCyTuGhLk4uwue3jDxq7C/E3t79tWwqHugMdcne2oOVY\nwWApMX+Hm21ayITZNbYg4guedHN4kiLRc5Q7UxNw5D4WjlUEVMp3zvc3c4GC\nXn+TM4JWc77oY0IWGyogB4dLPaoRbZoqyaNLXY2wRig6iwNwxw/LQ/Y2esh2\nvBQP\r\n=vnfG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"f48c4b9308cd4a5a602d6b014b5998e8ec07af57","private":false,"scripts":{"lint":"eslint .","test":"yarn run db:start && yarn run test:db && yarn run db:stop","db:stop":"docker-compose -f tests/docker/databases.yml down --remove","test:db":"yarn run test:db:mysql && yarn run test:db:postgres && yarn run test:db:mongodb && yarn run test:db:mssql","db:start":"docker-compose -f tests/docker/databases.yml up -d","lint:fix":"eslint . --fix","test:db:mssql":"node tests/mssql.js","test:db:mysql":"./tests/mysql.sh","test:db:mongodb":"node tests/mongodb.js","test:db:postgres":"./tests/postgres.sh"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"typeorm":"^0.2.30","crypto-js":"^4.0.0","require_optional":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pg":"^8.5.1","jest":"^26.6.3","mssql":"^6.3.1","mysql":"^2.18.1","assert":"^2.0.0","mongodb":"^3.6.3","next-auth":"^3.1.0","typeorm-adapter":"^1.2.0"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1","mysql":"^2.18.1","mongodb":"^3.5.9","next-auth":"^3.1.0"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"mongodb":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.0.2-pr.63.110_1619393492502_0.33634764971785547","host":"s3://npm-registry-packages"}},"0.0.2-canary.108":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.0.2-canary.108","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.0.2-canary.108","maintainers":[{"name":"iaincollins","email":"me@iaincollins.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"balazsorban","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"291d8b910d3491dfafd70038e7bffd4552cc9736","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.0.2-canary.108.tgz","fileCount":51,"integrity":"sha512-DceBRmeS9Ai8ibP+xyBupriZUNudZILrXnUacgyW6aoyf8FbiAFQEyISFcM0q7ltSlun43JDJeM5hYaLtRvjHQ==","signatures":[{"sig":"MEYCIQDw+qSEYb24pJLaYuwaPD7oz2+FjVFSaS0CWYvR1b9LOgIhALtoNCJWsxp6jTYTAAyNrASluu8dJLBm2TB3gxENq6y1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":356725,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJghf0NCRA9TVsSAnZWagAAxt0P+wWCzx2io1Neqo8GiNTw\nzMni697SuA3xCYdXGlm7qec8flRIJUIUMYZCkbBdbpzoqYyJsWEWsLCyQ4G3\nleddNwk4Q4zMCnzxV621pbjmm3gEPO6WPU/1KtHkejTP1CWRb9d7Ej3u19Xq\nGuremVpXj3n5UOTh3kOZdOqovYeCa7NrqpPKp9NRLXbUWZwEIYgoFWooTj2S\nI3ZSmtOE3JOcFp3ngmDN5sMCVzdziMlWYnJmjlguakPolhKcZVCl1Cw+GmT3\nEz3b4JbngCrivM5YXWm/ftVjn990adN33uovXpebbZ8VWT13NalupN9saKLd\n9gF/IA6LYdgVFye4nvRXbA8xGcZh2BgqLcW88byaZ+TptGBw7sdz4w2nRNow\ndtx8f3fPHuzP5V8+dtaeRtzVSpmTnEY3jiElgvj51ys7aOrob2488QZz83nO\n3qLPXDMLgu9KTgQFbHnu9MYPt6bZwYOa9xhqloUhGjouhpBnmEqBN12xKeTG\nRtZM7wcTMx5CFprlXV1YN7KVhSsX+IrLkKJkdqN1/pH3NPmhwwRIN3y7Fi4s\n365IugQtXppGH936IajGZ9N9Tjjufd39b2JOFiEOaLyU5ivVSUzdr6GQnUGB\na2cFD+cS1rVZKVpytg9Pylv3QE/pv1cij0sf/oDasl1fZYF+CvWZ5d3rF6C9\n4Wtm\r\n=TVH6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"<p align=\"center\">\n   <br/>\n   <a href=\"https://next-auth.js.org\" target=\"_blank\"><img width=\"150px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" /></a>\n   <h3 align=\"center\"><b>TypeORM Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/workflows/Build%20Test/badge.svg\" alt=\"Build Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-adapter\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/github/v/release/nextauthjs/adapters?include_prereleases\" alt=\"Github Release\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\n## Getting Started\n\n1. Install `next-auth` and `@next-auth/typeorm-adapter`\n\n```js\nnpm install next-auth @next-auth/typeorm-adapter\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport Providers from \"next-auth/providers\"\nimport Adapter from \"@next-auth/typeorm-adapter\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    Providers.Google({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapters: Adapter({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, sqlite, as well as MsSQL. Further configuration options are listed below.\n\n### sqlite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [next-auth.js.org/schemas/mysql](https://next-auth.js.org/schemas/mysql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [next-auth.js.org/schemas/postgres](https://next-auth.js.org/schemas/postgres)\n\n### MsSQL\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [next-auth.js.org/schemas/mssql](https://next-auth.js.org/schemas/mssql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please first read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"a70f4ee0523a05e8db9671060d4eebc5b571522f","private":false,"scripts":{"lint":"eslint .","test":"yarn run db:start && yarn run test:db && yarn run db:stop","db:stop":"docker-compose -f tests/docker/databases.yml down --remove","test:db":"yarn run test:db:mysql && yarn run test:db:postgres && yarn run test:db:mongodb && yarn run test:db:mssql","db:start":"docker-compose -f tests/docker/databases.yml up -d","lint:fix":"eslint . --fix","test:db:mssql":"node tests/mssql.js","test:db:mysql":"./tests/mysql.sh","test:db:mongodb":"node tests/mongodb.js","test:db:postgres":"./tests/postgres.sh"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"typeorm":"^0.2.30","crypto-js":"^4.0.0","require_optional":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.5.1","jest":"^26.6.3","mssql":"^6.3.1","mysql":"^2.18.1","assert":"^2.0.0","mongodb":"^3.6.3","next-auth":"^3.1.0","typeorm-adapter":"^1.2.0"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1","mysql":"^2.18.1","mongodb":"^3.5.9","next-auth":"^3.1.0"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"mongodb":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.0.2-canary.108_1619393804788_0.5451649215904388","host":"s3://npm-registry-packages"}},"0.0.2-canary.116":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.0.2-canary.116","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.0.2-canary.116","maintainers":[{"name":"iaincollins","email":"me@iaincollins.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"balazsorban","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"b820ae63dae4aa61b665bd81769f63ba4cbce7c3","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.0.2-canary.116.tgz","fileCount":14,"integrity":"sha512-06knawdYdHkiMVw5GfR6Ku5ryITdaOLWIGCbRwAtgCZE5Pf6am+nhnqQVeGq18odu84SmzA+hTtkGSAYbR6MIA==","signatures":[{"sig":"MEQCIEYPPLAz9uP68Fzetnaj4ytP6H5/rlbgVeV0mgD0S1SZAiB/x0YV++WKGNXC4wrzc9a9gAbQ8zCDTVuT0PSQHKrHhQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJghzElCRA9TVsSAnZWagAAimkP/2nD7MgmaKa0eYL/JVR5\npSSvcVIwhI3XNJahYppgB8HmRx79rWEerV/6H68w6E9h7xFTemrJxbOnunkH\nIwFpjomwZ7iiKzC0qGiLZ6MEMBSm5WeWs1SYEaX3JXwfNylfZmImYkmrFz+n\nSXOsCod+8BLnz+hRiwQB9i+p6PlXYzLrWnBKx8dN3tUxKWWjrzbZt/PWjJdG\nxf/360sdD00G6NwYChpzyTe1boI96lxFXdFVFHFg44AFY1fVWwEUzEpkaQJo\nlCV4L5aW92JNUXOOx+qbyoi82JcBrfVAeDuY8exeaDWVUAPn2U/qBiq8IqN4\nufSHxF3os0MdJ4tKglH1ATz6g2tJmAlWvq6IkxXgTYeEPOpPn5kxGlCbI978\nj01pVmjceff1XYYvTAZSr4BqLesb0xJdwvGp8xIENsDEGyBcZhxFMk6NJVFA\nl0aykVKtgEz6ZHK3e+x7K+53CiHNy2UPg+zlTB6jDG+dhKL0DBXfKeTqVNgA\n/zPqw/idL1/pIb/quJzqJXjTfY98Fo9H0wJnZz6Qp/ptXJ/OhuVyjYkHtPsm\nKAA3QnuiALy80Y5R3K3XnNjf2ZjLvJ/B2VXfiAQgdASeQWmwO17Thkt/WtMc\niaJ8i4iVPphxF2sL/anC+BM98t+AH/aj9YlZMt2oanVm34RGy8pVhn8lN3kL\nqJF2\r\n=uhuL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n   <a href=\"https://next-auth.js.org\" target=\"_blank\"><img width=\"150px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" /></a>\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/workflows/Build%20Test/badge.svg\" alt=\"Build Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/github/v/release/nextauthjs/adapters?include_prereleases\" alt=\"Github Release\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\n## Getting Started\n\n1. Install `next-auth` and `@next-auth/typeorm-legacy-adapter`\n\n```js\nnpm install next-auth @next-auth/typeorm-legacy-adapter\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport Providers from \"next-auth/providers\"\nimport Adapter from \"@next-auth/typeorm-legacy-adapter\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    Providers.Google({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapters: Adapter({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, sqlite, as well as MsSQL. Further configuration options are listed below.\n\n### sqlite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [next-auth.js.org/schemas/mysql](https://next-auth.js.org/schemas/mysql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [next-auth.js.org/schemas/postgres](https://next-auth.js.org/schemas/postgres)\n\n### MsSQL\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [next-auth.js.org/schemas/mssql](https://next-auth.js.org/schemas/mssql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please first read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"2a0e50ad48a0fe1c76e5e863d2c2e4205e69bfa8","private":false,"scripts":{"lint":"eslint .","test":"yarn run db:start && yarn run test:db && yarn run db:stop","build":"babel src --out-dir dist","db:stop":"docker-compose -f tests/docker/databases.yml down --remove","test:db":"yarn run test:db:mysql && yarn run test:db:postgres && yarn run test:db:mongodb && yarn run test:db:mssql","db:start":"docker-compose -f tests/docker/databases.yml up -d","lint:fix":"eslint . --fix","test:db:mssql":"node tests/mssql.js","test:db:mysql":"./tests/mysql.sh","test:db:mongodb":"node tests/mongodb.js","test:db:postgres":"./tests/postgres.sh"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"typeorm":"^0.2.30","crypto-js":"^4.0.0","require_optional":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.5.1","jest":"^26.6.3","mssql":"^6.3.1","mysql":"^2.18.1","assert":"^2.0.0","mongodb":"^3.6.3","next-auth":"^3.1.0","@babel/cli":"^7.13.16","typeorm-adapter":"^1.2.0","@babel/preset-env":"^7.13.15"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1","mysql":"^2.18.1","mongodb":"^3.5.9","next-auth":"^3.1.0"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"mongodb":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.0.2-canary.116_1619472677289_0.8691935170021519","host":"s3://npm-registry-packages"}},"0.0.2-canary.117":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.0.2-canary.117","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.0.2-canary.117","maintainers":[{"name":"iaincollins","email":"me@iaincollins.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"balazsorban","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"c71f7e5f3b474e8b292acaa8ad69d2a4537f93ba","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.0.2-canary.117.tgz","fileCount":14,"integrity":"sha512-sYJZPWMsM1ZTJcl749UojYDF4q8+ZiYcrR7rM4SACc0qiA9VBdOYUUMUMpQoazKOiwo1rWDKu4wHPt6CdV0ctQ==","signatures":[{"sig":"MEQCIHw9lPeuWY8bkpz/gQHdzlUUH9j+KwOdRz5THvtHhWAzAiAKjnUq+TH+HeyvEfll5mYbHxTkcxRAfzP+qHirW90pXg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43272,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJghzQICRA9TVsSAnZWagAA7AsQAKGhuPXqLUXZjSmKop/t\n5I3TzVsI+pDH4AVlCHuUk1AQI/aUhXP5AEPAIxT1RJCKhX2tH6SMd9FJQfjv\nXcYHJHJhXr52wzPGJ61GToy8zBhec2I1PRfL2lVZPskUweII4CTpSw4F6lFe\nIdMSY7dgIv2sDuopAlrm4FaXQDstmMcP2yunQ5RHvABVl1g1r7z1hdNlMkfE\nIjwm4ygi1q4MXY37lrMFv6Jur9aRyrs/iR9+0lYKXBhCfJJigUVrdxQz/wRj\nUX3WfR6J5X7m+MyLp7cc/Ank6svkNovEGirHuvr6PMHw0qQe3f/TgH35zRFU\n/SbBjfYUq2iF9o+pCthEeGddV16rcYv7l1skpeVscA6kMKNghSOKvTIPqvdi\neallPfbhNOuMXo9fYcX6gwe6ykpU3Fd4ZJigkOSJeiCxf9asTJvs1OvBEIBb\nNSBvD87rbeu92MJgaHKW3qCJCOSPh2hNZIk7c9/YHMzRDeY6QlsKJs/N9YlX\nQIZVlkSTp58asJKHeSq9ebpJHwlFeNkYuS6iv8FbhiPG7Q1S1vbp5GcPajYx\nfPTcFmgKZKhuVqNHJh6QmTWsgUNtQFcb97F2yTV1q2d3ttRlqdehv7tDuaru\nkWXLoH0v4MV1SHWD/BZWwi2nN8/bqAfufzkUJPAX6MPy38TcuG8THZMqjY5d\nj8l5\r\n=IoL9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n   <a href=\"https://next-auth.js.org\" target=\"_blank\"><img width=\"150px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" /></a>\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/workflows/Build%20Test/badge.svg\" alt=\"Build Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/github/v/release/nextauthjs/adapters?include_prereleases\" alt=\"Github Release\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\n## Getting Started\n\n1. Install `next-auth` and `@next-auth/typeorm-legacy-adapter`\n\n```js\nnpm install next-auth @next-auth/typeorm-legacy-adapter\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport Providers from \"next-auth/providers\"\nimport Adapter from \"@next-auth/typeorm-legacy-adapter\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    Providers.Google({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapters: Adapter({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, sqlite, as well as MsSQL. Further configuration options are listed below.\n\n### sqlite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [next-auth.js.org/schemas/mysql](https://next-auth.js.org/schemas/mysql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [next-auth.js.org/schemas/postgres](https://next-auth.js.org/schemas/postgres)\n\n### MsSQL\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [next-auth.js.org/schemas/mssql](https://next-auth.js.org/schemas/mssql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please first read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"edff7803d6680045fcf67e46dc7e072d86b7e0d6","private":false,"scripts":{"lint":"eslint .","test":"yarn run db:start && yarn run test:db && yarn run db:stop","build":"babel src --out-dir dist","db:stop":"docker-compose -f tests/docker/databases.yml down --remove","test:db":"yarn run test:db:mysql && yarn run test:db:postgres && yarn run test:db:mongodb && yarn run test:db:mssql","db:start":"docker-compose -f tests/docker/databases.yml up -d","lint:fix":"eslint . --fix","test:db:mssql":"node tests/mssql.js","test:db:mysql":"./tests/mysql.sh","test:db:mongodb":"node tests/mongodb.js","test:db:postgres":"./tests/postgres.sh"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"typeorm":"^0.2.30","crypto-js":"^4.0.0","require_optional":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.5.1","jest":"^26.6.3","mssql":"^6.3.1","mysql":"^2.18.1","assert":"^2.0.0","mongodb":"^3.6.3","next-auth":"^3.1.0","@babel/cli":"^7.13.16","typeorm-adapter":"^1.2.0","@babel/preset-env":"^7.13.15"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1","mysql":"^2.18.1","mongodb":"^3.5.9","next-auth":"^3.1.0"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"mongodb":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.0.2-canary.117_1619473416133_0.2669635976380602","host":"s3://npm-registry-packages"}},"0.0.2-pr.77.130":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.0.2-pr.77.130","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.0.2-pr.77.130","maintainers":[{"name":"iaincollins","email":"me@iaincollins.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"balazsorban","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"6b525036c3768e02aff481e4402890692c009ff2","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.0.2-pr.77.130.tgz","fileCount":15,"integrity":"sha512-ZjHFevh1ypdBR4z3EGFWMOQ8sBcU5izebCrLhHGYMxTt2LPsJcVKz6g8HNTmfaypnXRdq6TMfFtiVVp3M1RWjA==","signatures":[{"sig":"MEQCIHX8Br/waaeYLPqJEXozcVbhWA4Ad8XD0Saq+NF9ZuBAAiAQoZqlucjTa3j4XFk9CbuvlX6UluBvqrWAjvXF7bdiVw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29830,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJglV1RCRA9TVsSAnZWagAAshUP/R/DiWU4aMcFybA6GtV6\nW36TVmPYTTRXJyBPrv0aJQzAKUqk+FOS9IGjoKc/zVdh+YoMDv0kDOC+NEng\n5TuEZ/9Fm6qNSkX0mU4GSwyRHSns+fjnVbu5n9rll+rxd386d4J7Gau83DaF\njtXAmKtno/twRzb34kCPk5HoicPjM2CLl+CzYxJN3ZfgrEQnYDfwS6H/bp9T\nZ1CKqyS6Vi9vLU/ZO+9OXkK/22wQRQqOHCG5scmPXCty6EvIoZhCxhDSrytL\nMI4m6HRifpVRmiqzBUfkjNIB2Qe7gGCt4YdJ6fVDoDoliENXjnG2nk6TIsXi\nqqPR2XGsDSRDR4t/PAnZ00LXoXXgQuUlZzhMu1ejSi6WivJeDN4kkvxHl7Wa\ntv7CSgsxHEjF/BRxuazWDdfJkCUAH3W70GX81AZUHU5uWgYSTeQoRr+KvO9c\n1qfygNZQjYsaE4qg9h/xHQRgQbRQxTsujNw9yq2kp/qesNyazlVPbvf+nHqI\nD1muxWFBY2/ip1K4Yydle0+VWYbwLum8jyJO4QImqQ6O8WO79mOL58BRw9eZ\nje/JIAZUVCO9g1Co+GXb5m6cl9G0sVatRdnUjhhA9i4wsRY2XCxVV+6fM4fb\nbotkA9HiCF8jLih3ujloRoSiMbV1BVmAIeGPW9U8DMnKajHtz7+69fHP/VUX\n2SiX\r\n=00BD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n   <a href=\"https://next-auth.js.org\" target=\"_blank\"><img width=\"150px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" /></a>\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/workflows/Build%20Test/badge.svg\" alt=\"Build Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/github/v/release/nextauthjs/adapters?include_prereleases\" alt=\"Github Release\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\n## Getting Started\n\n1. Install `next-auth` and `@next-auth/typeorm-legacy-adapter`\n\n```js\nnpm install next-auth @next-auth/typeorm-legacy-adapter\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport Providers from \"next-auth/providers\"\nimport Adapter from \"@next-auth/typeorm-legacy-adapter\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    Providers.Google({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapters: Adapter({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, sqlite, as well as MsSQL. Further configuration options are listed below.\n\n### sqlite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [next-auth.js.org/schemas/mysql](https://next-auth.js.org/schemas/mysql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [next-auth.js.org/schemas/postgres](https://next-auth.js.org/schemas/postgres)\n\n### MsSQL\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [next-auth.js.org/schemas/mssql](https://next-auth.js.org/schemas/mssql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please first read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"e0fd7c25994fd590e85996a37294a23c4fc6d7aa","private":false,"scripts":{"lint":"eslint .","test":"echo \"TODO: Add tests...\"; exit 0","build":"babel src --out-dir dist","db:stop":"docker-compose -f tests/docker/databases.yml down --remove","test:db":"yarn run test:db:mysql && yarn run test:db:postgres && yarn run test:db:mongodb && yarn run test:db:mssql","db:start":"docker-compose -f tests/docker/databases.yml up -d","lint:fix":"eslint . --fix","test-fix":"yarn run db:start && yarn run test:db && yarn run db:stop","test:db:mssql":"node tests/mssql.js","test:db:mysql":"./tests/mysql.sh","test:db:mongodb":"node tests/mongodb.js","test:db:postgres":"./tests/postgres.sh"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"typeorm":"^0.2.30","@babel/runtime":"^7.14.0","require_optional":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.5.1","jest":"^26.6.3","mssql":"^6.3.1","mysql":"^2.18.1","assert":"^2.0.0","mongodb":"^3.6.3","@babel/cli":"^7.13.16","typeorm-adapter":"^1.2.0","@babel/preset-env":"^7.13.15","@babel/plugin-transform-runtime":"^7.13.15"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1","mysql":"^2.18.1","mongodb":"^3.5.9","next-auth":"^3.1.0"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"mongodb":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.0.2-pr.77.130_1620401489273_0.6213477937598866","host":"s3://npm-registry-packages"}},"0.0.2-pr.77.131":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.0.2-pr.77.131","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.0.2-pr.77.131","maintainers":[{"name":"iaincollins","email":"me@iaincollins.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"balazsorban","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"d066f8fd26358001a17238c4d7039471b3f8a564","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.0.2-pr.77.131.tgz","fileCount":16,"integrity":"sha512-i1mTEGQ5ZFcbbPQOWOtS5LssYN+eNTJPM3HySb5oNSQr2t6v13NdP5mAjOegqJbImdGfFDwYBEZXt7lM2T9mWg==","signatures":[{"sig":"MEUCIQDWQyKpnUkiDH3h1BimL1LtoVBR9PrATpNcZU8UkUUPswIgYEHR9wFePMkOM6+aCK1Y+9Q0ekFTUB8nCb+Q4HO3THw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31878,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgmZA3CRA9TVsSAnZWagAA5ssP/0h3qSpeXYzE12RLpNet\nSxUpGp9jvojI699+MJkIGUeuUxrzkdBGz5gK46OUy7xO4nLAjizcAXgGPPyt\nnvhITMu2G4xn1b3vB10I7xY+bco64dD+1lQ5glinVW4zaQEVP72OuAljngd3\nZ6T8VpJV+k8l4uxzi7LKXXKAR4K1A75risvGKcnDJYoCDGl1xMPL+zU292lA\nh9504m5gftBpFPEgishc57CYSu8zOSIZF3nIgJT8+hZku0YM2y/DQO+v6dao\nhsDFCphfRkdDMayW6MJNemOou0dAY5k4cDXws8xAvLyNXJpnzhCzbFGi0qe1\npR4ni6MRgb2TRvxqITJDmxNP/XXTCMdpkZkIZQyQWPZTpwrs059T5r/CVwBd\nCfxQ0pZaLWUouMewlUD1Mvy3sW2W2DVSilEaDaMclwfcsvO/8nXDNHyXxChx\nGAJrqTnaXIp9MsuUhu6RmSWKnD6KWmoxLvz6OpIdC2Ujt5jNssSiUu/nwPKk\n9LAFZJIHN7eot/G59HjOvLNFeaYahRY/iN5bwGCHQT2mbiCIps73eIx7049l\nbuZyYQHxykXnjeErqjAO33uEE9c2936C3mUlSRrmJEPidwEE9uw2Vp4CZ2jJ\n4AlNSgnTXsX28j58IJs6FveevnUTixCCf7vE1qnmdA58ShGrUZ6frFYUqQTO\nixu8\r\n=twfe\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n   <a href=\"https://next-auth.js.org\" target=\"_blank\"><img width=\"150px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" /></a>\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/workflows/Build%20Test/badge.svg\" alt=\"Build Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/github/v/release/nextauthjs/adapters?include_prereleases\" alt=\"Github Release\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\n## Getting Started\n\n1. Install `next-auth` and `@next-auth/typeorm-legacy-adapter`\n\n```js\nnpm install next-auth @next-auth/typeorm-legacy-adapter\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport Providers from \"next-auth/providers\"\nimport Adapter from \"@next-auth/typeorm-legacy-adapter\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    Providers.Google({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapters: Adapter({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, sqlite, as well as MsSQL. Further configuration options are listed below.\n\n### sqlite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [next-auth.js.org/schemas/mysql](https://next-auth.js.org/schemas/mysql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [next-auth.js.org/schemas/postgres](https://next-auth.js.org/schemas/postgres)\n\n### MsSQL\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [next-auth.js.org/schemas/mssql](https://next-auth.js.org/schemas/mssql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please first read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"d7e6a86d14d68c3a7f5b3e16fc777878b9abbf18","private":false,"scripts":{"lint":"eslint .","test":"echo \"TODO: Add tests...\"; exit 0","build":"babel src --out-dir dist","db:stop":"docker-compose -f tests/docker/databases.yml down --remove","test:db":"yarn run test:db:mysql && yarn run test:db:postgres && yarn run test:db:mongodb && yarn run test:db:mssql","db:start":"docker-compose -f tests/docker/databases.yml up -d","lint:fix":"eslint . --fix","test-fix":"yarn run db:start && yarn run test:db && yarn run db:stop","test:db:mssql":"node tests/mssql.js","test:db:mysql":"./tests/mysql.sh","test:db:mongodb":"node tests/mongodb.js","test:db:postgres":"./tests/postgres.sh"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"typeorm":"^0.2.30","@babel/runtime":"^7.14.0","require_optional":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.5.1","jest":"^26.6.3","mssql":"^6.3.1","mysql":"^2.18.1","assert":"^2.0.0","mongodb":"^3.6.3","@babel/cli":"^7.13.16","typeorm-adapter":"^1.2.0","@babel/preset-env":"^7.13.15","@babel/plugin-transform-runtime":"^7.13.15"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1","mysql":"^2.18.1","mongodb":"^3.5.9","next-auth":"^3.1.0"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"mongodb":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.0.2-pr.77.131_1620676662687_0.8077945713282864","host":"s3://npm-registry-packages"}},"0.0.2-canary.124":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.0.2-canary.124","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.0.2-canary.124","maintainers":[{"name":"iaincollins","email":"me@iaincollins.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"balazsorban","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"6b14c90472784813b320b200d1401daee2cb9bd7","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.0.2-canary.124.tgz","fileCount":16,"integrity":"sha512-2XnxheE9z6Zx595uzxUb0XZsIDW+q1ynu7Q0FuZ+ILo6vPUYL5VYR99FyP3RLA4I7Y4YB9AWChLTFF6nrfs6aw==","signatures":[{"sig":"MEUCIAMiGFAmL4R6QjuDWQAYEumlUHrPx1QBNaMp8kAiytuqAiEA7+gJyYm1Mk2eA+kxKjBh+eOig3aLRROjdRyJJI3Foe0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31879,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgmZMqCRA9TVsSAnZWagAALwoP/jQ+z34263MlSr0bIchk\nyWM0R45/49kEUHA6kGZC2Yw0RXJCRkp+g2Lnd0JJnfC6c/B9yel9BClNxI+f\nDlmulPNmcvdzssVvhB5ID5Lz6+XbvmLwENTK3bH9lvCjyTBCpxWZCO//SzK5\npNhdeTGIkM3HfNYw6FubqsiyzR1Il191/EY7SGaGxAwrLGFD2x8MWVUY2LHZ\nZVfvEbp3NnkcxGjqrWzDJPvbFj1eSiYQBxGYTMhnUcbIIEXJh7Rh67Bdmd/a\ne3vapX/dQmyFNFra1f1JzdRMIeniC0qY7FuXaecE4Jdbo2/6JWwOHIH+TyZB\nVedE8ZXioK0Id7rssV3hdJtQ3aTPeoAZCsXGCGjTDLedb2EFYISkSQSc1Edf\nR1zy1BGUprdKWta6voKVvoy53TLnD2r+eCH6TkyDqJZdJhbiVDoeZFLA9gvN\nJpZBB1MiXnbBHrgv54iS71wtvI0z9gZGdC77vAQGR/6dzMAuItHfybJhEKt3\ny+DhvTdp8ZDW1p1Chrywf7X5rMZMFiXvxXSzOGu/hC2OP+l5t96D9YiZzI2a\nhXEA4ATjZhYvQO9u/GLHoMNjDSO3SxxM11RA5jwwq8zYIwypyu8ONYG47NMN\nrEljYCSFNnrO93dAlWkj7Gfq+Qt1z01K+G9NIPjI9u4yR3aT3baXK+RVSFGE\nYN+i\r\n=HKXT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n   <a href=\"https://next-auth.js.org\" target=\"_blank\"><img width=\"150px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" /></a>\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/workflows/Build%20Test/badge.svg\" alt=\"Build Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/github/v/release/nextauthjs/adapters?include_prereleases\" alt=\"Github Release\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\n## Getting Started\n\n1. Install `next-auth` and `@next-auth/typeorm-legacy-adapter`\n\n```js\nnpm install next-auth @next-auth/typeorm-legacy-adapter\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport Providers from \"next-auth/providers\"\nimport Adapter from \"@next-auth/typeorm-legacy-adapter\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    Providers.Google({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapters: Adapter({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, sqlite, as well as MsSQL. Further configuration options are listed below.\n\n### sqlite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [next-auth.js.org/schemas/mysql](https://next-auth.js.org/schemas/mysql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [next-auth.js.org/schemas/postgres](https://next-auth.js.org/schemas/postgres)\n\n### MsSQL\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [next-auth.js.org/schemas/mssql](https://next-auth.js.org/schemas/mssql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please first read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"dba20870acc318f1ac2447c850bec6b5293c0284","private":false,"scripts":{"lint":"eslint .","test":"echo \"TODO: Add tests...\"; exit 0","build":"babel src --out-dir dist","db:stop":"docker-compose -f tests/docker/databases.yml down --remove","test:db":"yarn run test:db:mysql && yarn run test:db:postgres && yarn run test:db:mongodb && yarn run test:db:mssql","db:start":"docker-compose -f tests/docker/databases.yml up -d","lint:fix":"eslint . --fix","test-fix":"yarn run db:start && yarn run test:db && yarn run db:stop","test:db:mssql":"node tests/mssql.js","test:db:mysql":"./tests/mysql.sh","test:db:mongodb":"node tests/mongodb.js","test:db:postgres":"./tests/postgres.sh"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"typeorm":"^0.2.30","@babel/runtime":"^7.14.0","require_optional":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.5.1","jest":"^26.6.3","mssql":"^6.3.1","mysql":"^2.18.1","assert":"^2.0.0","mongodb":"^3.6.3","@babel/cli":"^7.13.16","typeorm-adapter":"^1.2.0","@babel/preset-env":"^7.13.15","@babel/plugin-transform-runtime":"^7.13.15"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1","mysql":"^2.18.1","mongodb":"^3.5.9","next-auth":"^3.1.0"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"mongodb":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.0.2-canary.124_1620677418221_0.834519637453361","host":"s3://npm-registry-packages"}},"0.0.2-canary.125":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.0.2-canary.125","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.0.2-canary.125","maintainers":[{"name":"iaincollins","email":"me@iaincollins.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"balazsorban","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"f209689bd17467ad554a2b180a5e3c9a6a03ade4","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.0.2-canary.125.tgz","fileCount":16,"integrity":"sha512-vHY2Hn8m1PhaV/TPYXLKniCPJW4zzdAYRvIkuaPNj5jWQuKcSdJd2FZuv6b9S9eTD80gXcxaoS8aXBXTgpGuaQ==","signatures":[{"sig":"MEUCIGLWPbV1EFjyNQR0zMTTZ+99f1b0fwraPukEwEDSy0CxAiEAhcwoAaTO8d7LT1Ko8ElSEP+skgRh1gYUz1HWbu4ISVY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31874,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgmZoLCRA9TVsSAnZWagAAWg4P/3lMPii697XLg7xivwck\ny8OA97iCzpdDLVPEt5Cl5fUukubxST7NFJC4+pDctG3BI24iOsjjDNHFoX/7\nTjJm9UHDrZ+6aJXceLd0qE2jYUxNGJGkPB4iA6ys4zQBGOA9AzitF6ynChS2\ntAmsnTFa0zdwutMtK2dDpYol5SRe/6No1j6KXX1GcYpWkpLnEI5ahvCtkSon\n4nR8lM27w8f0Ko1OgBsGOiO/5HsFvcH/h/elt+v9mLDfo7ePREV+eVYB792j\nq43kFFf2BEsISXVhyj99HD7LtlLEOIYu5eEWSLsN+Dd/X2Rg7aLvCwQOTCfF\nT6XXe6G3OkzSqOrGdw9NWvBQXq8JQCwwg6btLMzSdnuJ+npvByQ/ds5q29KA\nB5TPgtcAuqMOChu7eylyngdh/NSFV552vsiG0eSIgdfsezJq6cuRLApIpa7M\ncaHIvZOD4Wsbi064P8R5XQQVDdJbZct4JaSQR8hgojs98REPsy1UNKCzi6mp\noVmls9PMhUliwgsLkTbJapFeD8X0R/AsGT+UYtuj8TmtoKgxf4tNUpaBogmZ\nJfts2A4gFLAg2QqH0HZlqcA5TT9JsRx7+lmdc5qidWNKmqWj3i2VTBhZO47O\nFlI4dKWmzLgyYzy/SX6fEPIGMdhL+jf3lo+csXybf02nuHjTRDBx1iekh/+u\ns8lF\r\n=f3EP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n   <a href=\"https://next-auth.js.org\" target=\"_blank\"><img width=\"150px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" /></a>\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/workflows/Build%20Test/badge.svg\" alt=\"Build Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/github/v/release/nextauthjs/adapters?include_prereleases\" alt=\"Github Release\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\n## Getting Started\n\n1. Install `next-auth` and `@next-auth/typeorm-legacy-adapter`\n\n```js\nnpm install next-auth @next-auth/typeorm-legacy-adapter\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport Providers from \"next-auth/providers\"\nimport Adapter from \"@next-auth/typeorm-legacy-adapter\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    Providers.Google({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapters: Adapter({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, sqlite, as well as MsSQL. Further configuration options are listed below.\n\n### sqlite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [next-auth.js.org/schemas/mysql](https://next-auth.js.org/schemas/mysql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [next-auth.js.org/schemas/postgres](https://next-auth.js.org/schemas/postgres)\n\n### MsSQL\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [next-auth.js.org/schemas/mssql](https://next-auth.js.org/schemas/mssql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please first read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"7f29ab70812bf325c2aa7a198699ec464b38fab8","private":false,"scripts":{"lint":"eslint .","test":"echo \"TODO: Add tests...\"; exit 0","build":"babel src --out-dir dist","db:stop":"docker-compose -f tests/docker/databases.yml down --remove","test:db":"yarn run test:db:mysql && yarn run test:db:postgres && yarn run test:db:mongodb && yarn run test:db:mssql","db:start":"docker-compose -f tests/docker/databases.yml up -d","lint:fix":"eslint . --fix","test-fix":"yarn run db:start && yarn run test:db && yarn run db:stop","test:db:mssql":"node tests/mssql.js","test:db:mysql":"./tests/mysql.sh","test:db:mongodb":"node tests/mongodb.js","test:db:postgres":"./tests/postgres.sh"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"typeorm":"^0.2.30","@babel/runtime":"^7.14.0","require_optional":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.5.1","jest":"^26.6.3","mssql":"^6.3.1","mysql":"^2.18.1","assert":"^2.0.0","mongodb":"^3.6.3","@babel/cli":"^7.13.16","typeorm-adapter":"^1.2.0","@babel/preset-env":"^7.13.15","@babel/plugin-transform-runtime":"^7.13.15"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1","mysql":"^2.18.1","mongodb":"^3.5.9","next-auth":"^3.1.0"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"mongodb":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.0.2-canary.125_1620679178705_0.9064957186161091","host":"s3://npm-registry-packages"}},"0.0.2-pr.78.134":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.0.2-pr.78.134","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.0.2-pr.78.134","maintainers":[{"name":"iaincollins","email":"me@iaincollins.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"balazsorban","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"dfee59d6b47d4d931480768fb631ba2a82cc1e3a","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.0.2-pr.78.134.tgz","fileCount":16,"integrity":"sha512-NpU9vw5PNIXyfFiWwNVAzqta2rhJW84voCd4lmfCr/tCq9+LA4GuSqcI1zqeJKOaQzxqtKWaPUMn5T5qQYyN5A==","signatures":[{"sig":"MEUCIC1Is+8zR0LjxlMzkXuJe+amkHbrT1U8O8nGYNqRBVWMAiEAtpY7EXY7wErOWtuMRH959cmfKjYRlnow2xxvswNbGBM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31755,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgmaHVCRA9TVsSAnZWagAAZsIP/At1ECsT+fH5DlLPMRaT\nLjfUrl3Tarc/5ZZ3K00QZJpr4gJAvfEPdZtChqAutSFHbLebMhWf5S7dtEjH\nhMFgbRtQwzNRjMNS4Vf9iL2ezvwTyKK3qjvB7F4TGBZfOH8D9V4g9/sFGzps\n5ItULOfYu3Q0/BVpdBLJYFJjwrKrgznExUOTmo2R19x1bR6G/NLhBAuVcxhJ\nx1uGZt/C7pYlU0Xt/coWmb9T5k+sEBrT37swhD9v5AklC9Xal/PzYUmQ8IQI\n5JDEZZRUd1h4PSsI6LGtZkr+9Pny9jemm3sZyr7gtrqqEikvTVdYkN8jbEe4\njDy2Q30zZ6sqcH+V1h2m0q3UQ3FQfyajwiA+p3kuz2uGqGWwTHwvzFkTxeTY\nu3HUeqm6f9hTCS87BGlahG+lPTcE2CSifI0Ez5bgAmLUsB4ymUVtnM1RZAWA\nnVDdzqpElQtG1KV+Aaet2EgLHbNqjW8dAtUt8OVEUFIju3zehHAbIOvjV/nA\nQd2hyfAhdeAwiuacECcES5KRBXc6E9cor3TNq+ytHioJYppab5f0zqpMYo7D\nvBmK7y5ir46jGf+BhqCTt7+fbIDFp8VDvO5/HBP+Cct2O0mG+14Yf4dVgUDd\n1dXBEeA471xe5kvvJVtNtsEPbXUcb0qvYhj3MG3FyBDtvAOlN7zo3STYJeYV\ngjQC\r\n=WWXQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n   <a href=\"https://next-auth.js.org\" target=\"_blank\"><img width=\"150px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" /></a>\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/workflows/Build%20Test/badge.svg\" alt=\"Build Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/github/v/release/nextauthjs/adapters?include_prereleases\" alt=\"Github Release\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\n## Getting Started\n\n1. Install `next-auth` and `@next-auth/typeorm-legacy-adapter`\n\n```js\nnpm install next-auth @next-auth/typeorm-legacy-adapter\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport Providers from \"next-auth/providers\"\nimport Adapter from \"@next-auth/typeorm-legacy-adapter\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    Providers.Google({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapters: Adapter({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, sqlite, as well as MsSQL. Further configuration options are listed below.\n\n### sqlite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [next-auth.js.org/schemas/mysql](https://next-auth.js.org/schemas/mysql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [next-auth.js.org/schemas/postgres](https://next-auth.js.org/schemas/postgres)\n\n### MsSQL\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [next-auth.js.org/schemas/mssql](https://next-auth.js.org/schemas/mssql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please first read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"5d6ec029cef4849d6d5550435b6475cfd58e34c5","private":false,"scripts":{"lint":"eslint .","test":"echo \"TODO: Add tests...\"; exit 0","build":"babel src --out-dir dist","db:stop":"docker-compose -f tests/docker/databases.yml down --remove","test:db":"yarn run test:db:mysql && yarn run test:db:postgres && yarn run test:db:mongodb && yarn run test:db:mssql","db:start":"docker-compose -f tests/docker/databases.yml up -d","lint:fix":"eslint . --fix","test-fix":"yarn run db:start && yarn run test:db && yarn run db:stop","test:db:mssql":"node tests/mssql.js","test:db:mysql":"./tests/mysql.sh","test:db:mongodb":"node tests/mongodb.js","test:db:postgres":"./tests/postgres.sh"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"typeorm":"^0.2.30","@babel/runtime":"^7.14.0","require_optional":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.5.1","jest":"^26.6.3","mssql":"^6.3.1","mysql":"^2.18.1","assert":"^2.0.0","mongodb":"^3.6.3","typeorm-adapter":"^1.2.0"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1","mysql":"^2.18.1","mongodb":"^3.5.9","next-auth":"^3.1.0"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"mongodb":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.0.2-pr.78.134_1620681172541_0.4208080999351256","host":"s3://npm-registry-packages"}},"0.0.2-canary.126":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.0.2-canary.126","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.0.2-canary.126","maintainers":[{"name":"iaincollins","email":"me@iaincollins.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"balazsorban","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"3543e72aaf61d7ca87024788a42fb5ecd8d66be2","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.0.2-canary.126.tgz","fileCount":16,"integrity":"sha512-/Y93wcxdjcB9Xo08Gv70z5ewCC/y6QIXN6Oq9VDSx/z7hPUGHHlnpR7LqTMOhWyPodWVKXMcUH5RuzVg0o+lug==","signatures":[{"sig":"MEUCIA11dIwWbaJC5XHfkk9I446yjvOQ7BPgmeCb9Ah5YJ9mAiEAuCUJ05bHtgCkqSkgjejL9ANW28cUtjWPRaQHZtVkCVM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31756,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgmaQTCRA9TVsSAnZWagAAi/EQAIgTgFIOByP+XyXy6LWY\nUjMiO6xSk+2I0x9mEctlr4cnxaOe4fxb7pxhBjs6UiMM54l3szHoRk+9nZr2\nHoHbaKuSDyFHPgpa11PnxXQz0ZoZQo83qyxr8mKEIgMyuPFhWZdcgm2TZqY0\nrktvGLuQgnUPQUluYaW74e07NRaICwmGM1egBXIFpiFdgOHfWbS2nyptyxds\nD89pWHzDrrwozGkx1E3CHVM7b3/ip6DNyylLn/v5FZp2/kSHtXV60Sc9ucwX\n6oZII7B8V+IEFVanDr5oeYvWAC/R1eqfzTdPgqsJXV57jinNlrOJPvTvOnA0\ndFf+p4sWlvbYVO+YxlCVhaqPv39BQf9cmEb0ahGaKKRpAZM2N6827Od4YZtM\npI7AwiGfLMVKgfK6L0KhkMkuePFUvzHmB1lUrWXASl6BNOntXkrsibgSTmUX\nM3n90NffHNBJLIT41yuftp8wAn9xzIeV3AX7gYpPic8Mx9n/iRBXt/7VfOOO\nIJM6w7ivRmZw1Nm99nFAZVVHZpjwvdewr6Vbu16TYnDBbDwbBLBmxCWpoMjV\nLUNuoJqE0dPcRm4AyQxrgeGIVlm/vem9ZfgUR6cTc6IosUXQ7pOEYuQD0Jr+\nNQeY/WURMAEQxxLzd3fRsHNlpfYsTBWsGjFxO4LM7bU+vh4mmwqPBajI4Rnl\nNK7O\r\n=Z8jC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n   <a href=\"https://next-auth.js.org\" target=\"_blank\"><img width=\"150px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" /></a>\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/workflows/Build%20Test/badge.svg\" alt=\"Build Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/github/v/release/nextauthjs/adapters?include_prereleases\" alt=\"Github Release\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\n## Getting Started\n\n1. Install `next-auth` and `@next-auth/typeorm-legacy-adapter`\n\n```js\nnpm install next-auth @next-auth/typeorm-legacy-adapter\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport Providers from \"next-auth/providers\"\nimport Adapter from \"@next-auth/typeorm-legacy-adapter\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    Providers.Google({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapters: Adapter({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, sqlite, as well as MsSQL. Further configuration options are listed below.\n\n### sqlite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [next-auth.js.org/schemas/mysql](https://next-auth.js.org/schemas/mysql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [next-auth.js.org/schemas/postgres](https://next-auth.js.org/schemas/postgres)\n\n### MsSQL\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [next-auth.js.org/schemas/mssql](https://next-auth.js.org/schemas/mssql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please first read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"221eb33726153a30de0ddd454dc0f03f2c0e51a9","private":false,"scripts":{"lint":"eslint .","test":"echo \"TODO: Add tests...\"; exit 0","build":"babel src --out-dir dist","db:stop":"docker-compose -f tests/docker/databases.yml down --remove","test:db":"yarn run test:db:mysql && yarn run test:db:postgres && yarn run test:db:mongodb && yarn run test:db:mssql","db:start":"docker-compose -f tests/docker/databases.yml up -d","lint:fix":"eslint . --fix","test-fix":"yarn run db:start && yarn run test:db && yarn run db:stop","test:db:mssql":"node tests/mssql.js","test:db:mysql":"./tests/mysql.sh","test:db:mongodb":"node tests/mongodb.js","test:db:postgres":"./tests/postgres.sh"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"typeorm":"^0.2.30","@babel/runtime":"^7.14.0","require_optional":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.5.1","jest":"^26.6.3","mssql":"^6.3.1","mysql":"^2.18.1","assert":"^2.0.0","mongodb":"^3.6.3","typeorm-adapter":"^1.2.0"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1","mysql":"^2.18.1","mongodb":"^3.5.9","next-auth":"^3.1.0"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"mongodb":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.0.2-canary.126_1620681746715_0.821761648451165","host":"s3://npm-registry-packages"}},"0.0.2-canary.128":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.0.2-canary.128","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.0.2-canary.128","maintainers":[{"name":"iaincollins","email":"me@iaincollins.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"balazsorban","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"7978d570f346b9430326bb37b1ff4efae812d21c","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.0.2-canary.128.tgz","fileCount":16,"integrity":"sha512-CkY9MELOYG2xPvR4XkMrK8LRH0U0S11E69BZDAwQi2xQSHrCVafLuIkyPX2kjMpZWpDy0nC2yZmJ/LVXWGkccg==","signatures":[{"sig":"MEQCIHv0QdLi+g27vR9guQIQtV7CzGlnlQJk6vfzWxBDpsJJAiAM97Oks2IwxP+LH8qJhGNaYcXEZeg1HSvN86PdSbKf/w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31723,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgmm4YCRA9TVsSAnZWagAAQLcP/AwEUQGhOZCoPwDNfqqA\nOp0dxn0FOUFyJcLs/kvL9aTzyH+X72MigVJx8MTegPvVKUlil51tw+oLNG3i\nmmxgo89AgsK+DmnbPvKSr4ZjYJ2EJ3f4U/owqpAcpb/Pk0DJgVYIoQWNM0LX\n1GHkVzW/G4IBGqn9N9K6wnhz8rPKlk9DZ8UTBTtYm4U1yyQQ+jI/VHnW8xb3\n4YMrhX8NvCrQtq+pvDCXbCodz6b4e1qSxu2wSSavH3goytyt4KNfWaUfOmOt\nMdmAesuZkBiwDokQ2eXOjgKYh5tGx5+pakcWQ8n9SYchW+8sxyif2ikDf9Wu\nk15C9JOaINfHiJdPNtPleZA9JrF+ecnUwc5WrHY4cyhOkQrEWv+7pQ/ZqQ7f\n+UmSitH4rcp2nJCAqBRxR5kacuuBd4ho+DdSYk6o6INd/ofHfbx23CosF/L1\n5DQBpWpMI59IDb1wfjqFCr7NB80WQq25LrazF8vz/lP2Ruo6e5dbzKY+MZ4M\nj5vgs7C+0yP300T6yTZWPGm/DcUglrfrKp4PJcadYKD5UafrYsNtQLQDg3rc\nxLdGkeXWlWo1nSs5hiskv5P2bHXiirPBXmtSJXnuZ6O3GZM8lS6xHQjIMzz8\ntDE+lw51xuYGYx4ptwUpIZaAaV+4PG8YgmBEUyPsrM941ZimcwFHe2AwWlbJ\nnztJ\r\n=VYTy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n   <a href=\"https://next-auth.js.org\" target=\"_blank\"><img width=\"150px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" /></a>\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/workflows/Build%20Test/badge.svg\" alt=\"Build Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/github/v/release/nextauthjs/adapters?include_prereleases\" alt=\"Github Release\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\n## Getting Started\n\n1. Install `next-auth` and `@next-auth/typeorm-legacy-adapter`\n\n```js\nnpm install next-auth @next-auth/typeorm-legacy-adapter\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport Providers from \"next-auth/providers\"\nimport Adapter from \"@next-auth/typeorm-legacy-adapter\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    Providers.Google({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapters: Adapter({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, sqlite, as well as MsSQL. Further configuration options are listed below.\n\n### sqlite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [next-auth.js.org/schemas/mysql](https://next-auth.js.org/schemas/mysql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [next-auth.js.org/schemas/postgres](https://next-auth.js.org/schemas/postgres)\n\n### MsSQL\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [next-auth.js.org/schemas/mssql](https://next-auth.js.org/schemas/mssql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please first read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"ff3f3e0f402f769677fcca831473c2a9c24ad646","private":false,"scripts":{"lint":"eslint .","test":"echo \"TODO: Add tests...\"; exit 0","build":"babel src --out-dir dist","db:stop":"docker-compose -f tests/docker/databases.yml down --remove","test:db":"yarn run test:db:mysql && yarn run test:db:postgres && yarn run test:db:mongodb && yarn run test:db:mssql","db:start":"docker-compose -f tests/docker/databases.yml up -d","lint:fix":"eslint . --fix","test-fix":"yarn run db:start && yarn run test:db && yarn run db:stop","test:db:mssql":"node tests/mssql.js","test:db:mysql":"./tests/mysql.sh","test:db:mongodb":"node tests/mongodb.js","test:db:postgres":"./tests/postgres.sh"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"typeorm":"^0.2.30","@babel/runtime":"^7.14.0","require_optional":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.5.1","jest":"^26.6.3","mssql":"^6.3.1","mysql":"^2.18.1","assert":"^2.0.0","mongodb":"^3.6.3","typeorm-adapter":"^1.2.0"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1","mysql":"^2.18.1","mongodb":"^3.5.9","next-auth":"^3.1.0"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"mongodb":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.0.2-canary.128_1620733464337_0.8676325255011499","host":"s3://npm-registry-packages"}},"0.0.2-canary.129":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.0.2-canary.129","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.0.2-canary.129","maintainers":[{"name":"iaincollins","email":"me@iaincollins.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"balazsorban","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"ec17c4561155281bd1504b5b38542234b4b162b1","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.0.2-canary.129.tgz","fileCount":15,"integrity":"sha512-xEGz3TzBzz+5nXQ6BnC++KGfxTOAgztL32ZRLq47UKz9M0kFBP6pCMJjTszltsBHYUI/Wac2IG2egMTpHtppiQ==","signatures":[{"sig":"MEYCIQC4fuI0pmwPAEnjt4lynEFKlsfyx9FoOjcdCvTpStXQxAIhAN/JPLTE0IyxanWU5Ui13taegtP3GreqNyE28owuSU4Z","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31459,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgmoUbCRA9TVsSAnZWagAA9F4P+wZeZPCJ5M1tTzPO5niD\nZ76Wt5jliNclWiC06vCxCEZ1qyqpKEfcA2wCEMvrrlT3sxZTv9lUqmp+Daqi\nfsKuhAuOA9p2WwidFZoox6rh1MYvq+2Nf6HX96l7J0CzA+ddO6Da11mPSoxu\nT6wDXll3OHiPeZJ/O5djgB0cwOULURsVrFwM8V71kNATfYp09yAh8AEbL2RM\nS8Mt2ZJGmQntLkHql5m2NuYFxuXXONiLNrQYH2+dY0lQeYTjakP0vxFUikHf\nGLeQ7/JiIfdv9yMqHfV3Vvb254+dlGDcoZxsvnnFGaFQBI3PCEQNgEu87Imx\n1p27y3oPOF68+OCwP8zlwPl5p6YmHHkvhV5DghTzWVIaGkreEr8Ck3hLx6tO\ny0cS+upHpf62U/bO/rOr+qbqJ4vflwrqHa8rfdLF39ue0CO6SLItmR0qmCoV\nEA1Cv7pQnthPbs3GyBm5+4BVzZ00/ipLaQliYDMCDDHb5jM3TbuFAWk9PP2B\nUnycubwoG6YdjyGlDZgSqgDjv8uc3il46wMpI4rECTEDlWrFtvkwKvif228l\niPHe5CmKd9Akcmpi6mHDx5/RZIveHT6u6YRjMNPwY5Ox/wLKvLjWi13UTkGf\nLH01L7fLdbKhE07qWHusLO3OGHKfZPPmpzHAxGbkoWpBWL82RIkU2uMK+ddJ\n6+eY\r\n=of6d\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n   <a href=\"https://next-auth.js.org\" target=\"_blank\"><img width=\"150px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" /></a>\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/workflows/Build%20Test/badge.svg\" alt=\"Build Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/github/v/release/nextauthjs/adapters?include_prereleases\" alt=\"Github Release\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\n## Getting Started\n\n1. Install `next-auth` and `@next-auth/typeorm-legacy-adapter`\n\n```js\nnpm install next-auth @next-auth/typeorm-legacy-adapter\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport Providers from \"next-auth/providers\"\nimport Adapter from \"@next-auth/typeorm-legacy-adapter\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    Providers.Google({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapters: Adapter({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, sqlite, as well as MsSQL. Further configuration options are listed below.\n\n### sqlite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [next-auth.js.org/schemas/mysql](https://next-auth.js.org/schemas/mysql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [next-auth.js.org/schemas/postgres](https://next-auth.js.org/schemas/postgres)\n\n### MsSQL\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [next-auth.js.org/schemas/mssql](https://next-auth.js.org/schemas/mssql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please first read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"0b5d8adb191e0929f9322a084ba74badd1643d43","private":false,"scripts":{"lint":"eslint .","test":"echo \"TODO: Add tests...\"; exit 0","build":"babel src --out-dir dist","db:stop":"docker-compose -f tests/docker/databases.yml down --remove","test:db":"yarn run test:db:mysql && yarn run test:db:postgres && yarn run test:db:mongodb && yarn run test:db:mssql","db:start":"docker-compose -f tests/docker/databases.yml up -d","lint:fix":"eslint . --fix","test-fix":"yarn run db:start && yarn run test:db && yarn run db:stop","test:db:mssql":"node tests/mssql.js","test:db:mysql":"./tests/mysql.sh","test:db:mongodb":"node tests/mongodb.js","test:db:postgres":"./tests/postgres.sh"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"typeorm":"^0.2.30","@babel/runtime":"^7.14.0","require_optional":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.5.1","jest":"^26.6.3","mssql":"^6.3.1","mysql":"^2.18.1","assert":"^2.0.0","mongodb":"^3.6.3","typeorm-adapter":"^1.2.0"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1","mysql":"^2.18.1","mongodb":"^3.5.9","next-auth":"^3.1.0"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"mongodb":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.0.2-canary.129_1620739355165_0.35015334574441037","host":"s3://npm-registry-packages"}},"0.0.2-pr.97.150":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.0.2-pr.97.150","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.0.2-pr.97.150","maintainers":[{"name":"iaincollins","email":"me@iaincollins.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"balazsorban","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"424d57f92331fc087f11578c00356d78456bf46b","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.0.2-pr.97.150.tgz","fileCount":14,"integrity":"sha512-Z9rZwTM6yDET+gnb3GBbWNwlZUjptdWpQoJWpCbB7KBaeR7eFi1TC8bsUPQoWORHs5ome10M8348xBo3eRqC0Q==","signatures":[{"sig":"MEUCIB3HB4BbJqBIZVtuPy8bKikYE+FAQsLmfuGYtDXYG3EdAiEA20FELyAzc6PdJjQSd5mkizINoL1heFHrvG7hSFp2ibI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30950,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgqq2MCRA9TVsSAnZWagAAaNkP/2IUKlEFajG+xjVCVDGB\nkwhDuvsDONsLw9c7EO8EpW3AfHYiOVdrl2qJm2MKOACvWNgWtCa6OEKCWgLJ\nC5wuNhoPLtPThCxzwiPKeOMrktOetCbAar60817v7Zkif55NnspLsxoxzOTV\nfthQPb4Mg/KA1rVF2Ud4e2xeWy8NqEns2t1FnVcLzJVlqLana2eKMg+MqK7F\nKqLBvzN8x0t11KH7FfsOVIzbpUdbFtUUKx2+i/jxeBnKiFGeW9mGKoAMq37X\nWcfjtXgZNgN2JBe6yCYfxL3CVLznPXFPFLHJ7Wgr5heW/7QEFY317ZxesszR\n8GYY6W6JGP2FEjAqr/cHqYFEdAczSTeTFeOWZHS61RiSGYiDXsSkf7dYGWNq\nsfK5sZdg2M8hI+qE8TSOsN1FnU9Z2qMWCA1QNrZy3bhK67tsVxwTxTBWFzTm\ndwtrrL+K1y4ozdpiTA493XH+V/pgG3gSf10OlS284kp7ILRJuJ8T9rLJoddF\njDsrL27FNXECkXmTBKuwQWRlhLhsjng77DSaxmIY70u317P/5a1jhcRc7/hE\nQ9K3sZY7bT5h5757+7YcXWL2qQcgDMJYZCWr8OCPlY2HiWwV8FKFiVdeWWuv\nNfS6hT8jdpQ6jTo+RXCRWPWasAYSlwi6U2zjzCJJJk8ltboX6Qpv4TrTUsU9\nsR6l\r\n=bReT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n    <a href=\"https://next-auth.js.org\" target=\"_blank\"><img height=\"64px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" /><img style=\"margin-left:16px\" height=\"64px\" src=\"./logo.png\" />\n   </a>\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/actions/workflows/canary.yml/badge.svg\" alt=\"Canary CI Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter\" alt=\"@next-auth/typeorm-legacy-adapter Version\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\n## Getting Started\n\n1. Install `next-auth` and `@next-auth/typeorm-legacy-adapter`\n\n```js\nnpm install next-auth @next-auth/typeorm-legacy-adapter\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport Providers from \"next-auth/providers\"\nimport { TypeORMLegacyAdapter } from \"@next-auth/typeorm-legacy-adapter\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    Providers.Google({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapter: TypeORMLegacyAdapter({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, sqlite, as well as MsSQL. Further configuration options are listed below.\n\n### sqlite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [mysql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mysql/schema.sql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [postgresql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/postgresql/schema.sql)\n\n### MsSQL\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [mssql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mssql/schema.sql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please first read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"484feb2999bce962731da558673be3d0bda8a519","private":false,"scripts":{"lint":"eslint .","test":"yarn mysql && yarn postgres","build":"babel src --out-dir dist","mysql":"./tests/mysql/test.sh","lint:fix":"eslint . --fix","postgres":"./tests/postgresql/test.sh","test-todo":"yarn mysql && yarn postgres && yarn mongodb && yarn mssql"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"typeorm":"^0.2.30","@babel/runtime":"^7.14.0","require_optional":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.5.1","jest":"^26.6.3","mssql":"^6.3.1","mysql":"^2.18.1","assert":"^2.0.0","mongodb":"^3.6.3","typeorm-adapter":"^1.2.0"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1","mysql":"^2.18.1","mongodb":"^3.5.9","next-auth":"^3.1.0"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"mongodb":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.0.2-pr.97.150_1621798284466_0.746341857185308","host":"s3://npm-registry-packages"}},"0.0.2-canary.155":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.0.2-canary.155","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.0.2-canary.155","maintainers":[{"name":"iaincollins","email":"me@iaincollins.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"balazsorban","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"380cb19fcae502a5288d6c026f37b13f7960b6a5","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.0.2-canary.155.tgz","fileCount":14,"integrity":"sha512-HfNYF06IB9R2mgjKUgXfZUR7NAixFrF2Qxx+OZxE82F9k2DhfLtv4G9fZAP/6S8K1Yo0y4rgIg3NpDSP8WKD5g==","signatures":[{"sig":"MEUCIQDzGm+D0KcpWxu8xgc658+xEwpe85bPGu01KzxokWtaAQIgWpz0saYIL1jXB6wVFC2rAksBtzXhoHyIGwQ3kzkZRlw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30946,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgqrQaCRA9TVsSAnZWagAAsYgQAJS/p/OifIZiH8bB/prn\n5Vup4u98M8vksWipB8czBcFCGIu7wluaUYR6/v2QUDkHH5xEPLOy4i+kLlmz\nhvdYbh1FnO+ulQVVM80KWz0Fy7KaFDfmuUEB9F97GdGNmYa7yo0FCFbTOBlW\nuXBvBTJK5qTk/1vmGKE8UlyTlt6GLc0L0q0lkkfZ368s0XVePSgBzzzZlXiB\ngQDHc9wjnx45OIvR9xfc+wZddL8aTQuhSZRJQ0iuPtmYPr6R84fbcK4qvkxQ\nDlvCTQqoG6r1WKUKe5lwcv9cCiNSbU9Nr+G2qhkBz93tP+1AC1euGqbqwaWJ\ndtViIQNpQo8CUhQJnvE3EH2hCLybW8gdmrvUsrpGbSwYc5xB2TSfK0M0wdtR\nFqjlLaYA20MnXO8wIrw7/9DDvwTqRi8Os1ki16mOlWXhAiPc/i7suQvtw27w\nPh2FMyy+FYBRv3R8JyUXpKAGEqfOunTL1wFwDjSPf0dkdhzmQBHHepSz0C+d\n+5ZcmcH53rhLbNEPOQuSQ0vmXyMu6yTsAA1dS/D+IeRU1ND21wtao9wB9lMV\nerGfINhIgrLZkRBWW/EEACFEQoaJx9mk9G6RF0U4kWN8xoC5eKjmkYFTOeL0\nK9HAUToNuOC3P9tAeo5qVMCYdJJ2dkiY85JJHdk+AqV4pthDfGKKb65g4ngN\n0HQx\r\n=tImI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n    <a href=\"https://next-auth.js.org\" target=\"_blank\"><img height=\"64px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" />&nbsp;&nbsp;&nbsp;&nbsp;</a><img height=\"64px\" src=\"./logo.png\" />\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/actions/workflows/canary.yml/badge.svg\" alt=\"Canary CI Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter\" alt=\"@next-auth/typeorm-legacy-adapter Version\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\n## Getting Started\n\n1. Install `next-auth` and `@next-auth/typeorm-legacy-adapter`\n\n```js\nnpm install next-auth @next-auth/typeorm-legacy-adapter\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport Providers from \"next-auth/providers\"\nimport { TypeORMLegacyAdapter } from \"@next-auth/typeorm-legacy-adapter\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    Providers.Google({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapter: TypeORMLegacyAdapter({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, sqlite, as well as MsSQL. Further configuration options are listed below.\n\n### sqlite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [mysql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mysql/schema.sql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [postgresql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/postgresql/schema.sql)\n\n### MsSQL\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [mssql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mssql/schema.sql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please first read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"7a9b1e9c71079c899ac41440b59921f95172d375","private":false,"scripts":{"lint":"eslint .","test":"yarn mysql && yarn postgres","build":"babel src --out-dir dist","mysql":"./tests/mysql/test.sh","lint:fix":"eslint . --fix","postgres":"./tests/postgresql/test.sh","test-todo":"yarn mysql && yarn postgres && yarn mongodb && yarn mssql"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"typeorm":"^0.2.30","@babel/runtime":"^7.14.0","require_optional":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.5.1","jest":"^26.6.3","mssql":"^6.3.1","mysql":"^2.18.1","assert":"^2.0.0","mongodb":"^3.6.3","typeorm-adapter":"^1.2.0"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1","mysql":"^2.18.1","mongodb":"^3.5.9","next-auth":"^3.1.0"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"mongodb":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.0.2-canary.155_1621799962154_0.9237722467280693","host":"s3://npm-registry-packages"}},"0.0.2-pr.135.218":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.0.2-pr.135.218","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.0.2-pr.135.218","maintainers":[{"name":"iaincollins","email":"me@iaincollins.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"balazsorban","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"bfb1a61308b394cd6a02a5a81c83b598c671baa1","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.0.2-pr.135.218.tgz","fileCount":14,"integrity":"sha512-9Jgw1OU573oGADf5JoPtHVQdCTCesKN4jKnH8MOfFQ7X5HBtJtuTtUyi8u2RguVhL+mwF3zro3Pq/QQZxG0pKw==","signatures":[{"sig":"MEYCIQDTsJLk7DkdPmrYa9iMZD4ruevJneGDFmA6T9so5b+4rQIhAOVBHgBEWAMIB3/abLbkTRjTzsHIsCxH7lPaYEBGxSa6","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31220,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgx+fLCRA9TVsSAnZWagAAeOkP+wfETtprvGMC1+fb5Yif\nFUTqZ1GHop4/UHhF43RuJ+06pumYLRct5HtT8Fe8+cZ7ti7pTGYXj/maIfvK\nwFxlY16Ij8m7Yfr5mAOESNMFUhLXJYvCNZIsHJusTXum8lWhENZZsBqzqpNq\nAecAhYLZcRXUlamPgOI/w/bPilGxtHyDw7ns8zTxNxmYmJa/gqg6M3N8YOAK\n3teTUReSiIzsta9kTgAbxYG8uScK7L1Oo2dot1nbLDWtBJPCg5f5TellMUoZ\nKP+GaiI9jtjeKM2CTo2+KuEK7oWMsMSWdCitbnpIBAOJcGi0bK/jqZb1G5+Z\npYGoiFwtCJWacD98COaySmLVfmLHr4l3NFwaav3Zgqb/63RvFBL5SwisGBm1\n4Bfx5OEBCWiCcvSR3nDZuA/UrEh9Z6S2q6UlF1HfYX5AS52nyeSU+yRhDPRr\nxDXePUQi7mjEJqnIjnDRECmqu6FYkN8JtYG3aSMWKlmEL++Sb0lyJwgcRVDG\ns6U861q4yFaSGcB+QrKFVLw5gOYq/mtI3l9r2tkqjGI8nRxkTkppxUaCmQbG\n4NwHNvxTGN+XMzhNlvkr1x3FMvMe9O0YfoYPOmyrkaofL7V82iIGC0D2DXDj\nBH5ZHhBVEoOaCOKlCcWiIow0ohTi8weO7a7q+KVXpWY221yD3yB/1LMGjtL8\ngZx9\r\n=6mOT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n    <a href=\"https://next-auth.js.org\" target=\"_blank\"><img height=\"64px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" />&nbsp;&nbsp;&nbsp;&nbsp;</a><img height=\"64px\" src=\"https://raw.githubusercontent.com/nextauthjs/adapters/canary/packages/typeorm-legacy/logo.png\" />\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/actions/workflows/canary.yml/badge.svg\" alt=\"Canary CI Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter/canary\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter/canary\" alt=\"@next-auth/typeorm-legacy-adapter Version\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\nYou can find more TypeORM information in the docs at [next-auth.js.org/adapters/typeorm/typeorm-overview](https://next-auth.js.org/adapters/typeorm/typeorm-overview).\n\n## Getting Started\n\n1. Install `next-auth` and `@next-auth/typeorm-legacy-adapter@canary`\n\n```js\nnpm install next-auth @next-auth/typeorm-legacy-adapter@canary\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport Providers from \"next-auth/providers\"\nimport { TypeORMLegacyAdapter } from \"@next-auth/typeorm-legacy-adapter\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    Providers.Google({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapter: TypeORMLegacyAdapter({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, sqlite, as well as MsSQL. Further configuration options are listed below.\n\n### sqlite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [mysql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mysql/schema.sql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [postgresql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/postgresql/schema.sql)\n\n### MsSQL\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [mssql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mssql/schema.sql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please first read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"76ec37deed1a2177383be2688692adb0e2e44e5a","private":false,"scripts":{"lint":"eslint .","test":"yarn mysql && yarn postgres","build":"babel src --out-dir dist","mysql":"./tests/mysql/test.sh","lint:fix":"eslint . --fix","postgres":"./tests/postgresql/test.sh","test-todo":"yarn mysql && yarn postgres && yarn mongodb && yarn mssql"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"typeorm":"^0.2.30","@babel/runtime":"^7.14.0","require_optional":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.5.1","mssql":"^6.3.1","mysql":"^2.18.1","assert":"^2.0.0","mongodb":"^3.6.3","typeorm-adapter":"^1.2.0"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1","mysql":"^2.18.1","mongodb":"^3.5.9","next-auth":"^3.1.0"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"mongodb":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.0.2-pr.135.218_1623713739524_0.5922054743795055","host":"s3://npm-registry-packages"}},"0.0.2-canary.218":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.0.2-canary.218","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.0.2-canary.218","maintainers":[{"name":"iaincollins","email":"me@iaincollins.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"balazsorban","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"32686992d245f5e5dfbe4283ee3e17e82b0fb8ae","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.0.2-canary.218.tgz","fileCount":14,"integrity":"sha512-NuuN72WV05E6wATvz294MDOtLhHLUKIltyCnT++eGOUJUae9jSsaZTvWCvNOTDLGDXgPcCWs8W9f/N06EJr1/Q==","signatures":[{"sig":"MEUCIDH8IEBSDIXskEX/7Zd6UTDm7G7VurT+pBleXS6QdZTdAiEArz9JeIWJP4r/5QUN1YhU8GG+toNbM/+jUJWyBttdWno=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31220,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgyNdiCRA9TVsSAnZWagAAE2EP/ApSbAb3tmMMcCSweEN+\nernKDpgI+KoF04TyGZUWDTlWGdcb9CCz06n6rbo1hH+pvYzlsoih+4RMH5k4\nHQsOwg2rYRzJcE+eQivQDxTiH+Dkq3zAb3huhtEkBrRuyuQQc5oSOpqnqJd4\ni+wRvmdug9xjTuCUUprEHb+MALjP1wKPSEftbvXnYqbFwKLJAmObgdUnGwr6\nLQvCXeodB1yCR9I+B63sq2E40l+BS3ERs/xhhkeh9gu6UKq9YViE3hyVoG5g\ngFnzOi+Dh7B342s8uP/UATUQrkgiP9++cfrzfFXRqRXA/39QW4es+14hTJ+a\nUxiwNnBa4iXOdq0StpP5DEF3Vcig2/p77CAWTb6qhj0dASbXnWe2FVXJG11H\n2ZyCMFye59BStSYL+Z7a14ZoBokWUlvUo0qxrULgMh1CSN0TtkHWPcpcJ0ms\nKSMrgiWPjKJiVMLhGyRU8rRrr+BZgcBz1YJPew0nfPsvDb0EAi+eTPnpgjBx\nBtOyH7woiYPTUtr3+VZy90RM4+giXRHqL5MwXVxjUaUXAGv3UF8+ORy5STL9\nc+SfE9pUhU1Vpdg/9dB7wGJq2uVTrknDsVtUaSzdpdaQFujC9m1qOw54HFXt\nJy+jrYIlwkr2N7j7VUFk7pKIRuzEQemtvgVm2DZ53GfQHLK2W2KU7aRrUwa+\n8gTI\r\n=yxfG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n    <a href=\"https://next-auth.js.org\" target=\"_blank\"><img height=\"64px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" />&nbsp;&nbsp;&nbsp;&nbsp;</a><img height=\"64px\" src=\"https://raw.githubusercontent.com/nextauthjs/adapters/canary/packages/typeorm-legacy/logo.png\" />\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/actions/workflows/canary.yml/badge.svg\" alt=\"Canary CI Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter/canary\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter/canary\" alt=\"@next-auth/typeorm-legacy-adapter Version\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\nYou can find more TypeORM information in the docs at [next-auth.js.org/adapters/typeorm/typeorm-overview](https://next-auth.js.org/adapters/typeorm/typeorm-overview).\n\n## Getting Started\n\n1. Install `next-auth` and `@next-auth/typeorm-legacy-adapter@canary`\n\n```js\nnpm install next-auth @next-auth/typeorm-legacy-adapter@canary\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport Providers from \"next-auth/providers\"\nimport { TypeORMLegacyAdapter } from \"@next-auth/typeorm-legacy-adapter\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    Providers.Google({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapter: TypeORMLegacyAdapter({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, sqlite, as well as MsSQL. Further configuration options are listed below.\n\n### sqlite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [mysql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mysql/schema.sql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [postgresql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/postgresql/schema.sql)\n\n### MsSQL\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [mssql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mssql/schema.sql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please first read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"743e7ac6ced3cf7dd2ab7ac2f530aa15cd7049a2","private":false,"scripts":{"lint":"eslint .","test":"yarn mysql && yarn postgres","build":"babel src --out-dir dist","mysql":"./tests/mysql/test.sh","lint:fix":"eslint . --fix","postgres":"./tests/postgresql/test.sh","test-todo":"yarn mysql && yarn postgres && yarn mongodb && yarn mssql"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"typeorm":"^0.2.30","@babel/runtime":"^7.14.0","require_optional":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.5.1","mssql":"^6.3.1","mysql":"^2.18.1","assert":"^2.0.0","mongodb":"^3.6.3","typeorm-adapter":"^1.2.0"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1","mysql":"^2.18.1","mongodb":"^3.5.9","next-auth":"^3.1.0"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"mongodb":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.0.2-canary.218_1623775074088_0.8929362553504883","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.0","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.0","maintainers":[{"name":"iaincollins","email":"me@iaincollins.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"balazsorban","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"3d7685b42b84503a53d55f7cce55b6fa68b9e783","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.0.tgz","fileCount":14,"integrity":"sha512-EKLugeSfjraqfEgs+BTYPjxfAIkdw3yhCt7OQN7gQzZ5V+OWVxNbs58nSIZeQH8LgxqMasxFOMikDPoEguyqFQ==","signatures":[{"sig":"MEYCIQD1lNNS0rTKGeuGZjO4JByaRLT0IEAOjkK1I5EIcr4MIgIhAKqTfrtKwC3nuZUc70nkmW8C8kaUpXbr9cp2Y2yARr8X","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31201,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg17B4CRA9TVsSAnZWagAAFgMP/0JiTcJNHe192XkEIY9n\njeYMP8jVrivLIA12zpekRMQJIDXbzT+Lm2vIiQceXDvfa0vCtLKk4jAyX5Hf\nDopOoBbr9//6ZwHEwHc6Bzs2Z/FhhacGfh+fhvMLHmxPDEjhaFwYrhb+x7sv\n7j/A2cRoDRx29ewY4coF8DCPjrbjz5ixVyZbSMwXbMpu/gHaPZvFvlvrFkj6\niQTqhI/ZaH0AxlJN2qhjksX2QHU0KM4dOcZMvu7X4mqZCv06TuQ4PdW5mlH8\nPQA13hBljd4NC68rgVh0LKPFKlHrJU0Nn30oHoscHOh73AIHnsiHC4OHY/0I\nywbv6b/ifuyHKlWYpOoY8Y4UR/KhFzHo5ScqT7GWxkPJmltMfVpjgKYdiQRW\nPJBVAjBB4gE/vFkTpwFgGwR+ebN+ydduO8YX6MuImp3/QFApIEvfsHSDqWIn\nxYxUMnv9jwQDE5sFBslFtN22AfGTz2DiR7Wm7eYx8PtwLLuvUAzJ3DOljzp5\n7wQL97bIIzwCV477+kYhh8HTcP+jC70O8Gv1lhQc+TyW5Rkbvf7rTLFsNuFq\nELqatvBIihu+E95gKe8PB9q+NRbF5KNiTOw+TZeya/P60Aqil7bwk1iZT9NI\nKhgqDxwvoZMwJG/HpA/xFOV3Nob/1QLRQcajt9fkz+AVFL45ztaRgVzRKDcQ\nzKK3\r\n=GBy4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"1f980baaa3dec4cf5f047bb19ace8406d86e32b5","private":false,"scripts":{"lint":"eslint .","test":"yarn mysql && yarn postgres","build":"babel src --out-dir dist","mysql":"./tests/mysql/test.sh","lint:fix":"eslint . --fix","postgres":"./tests/postgresql/test.sh","test-todo":"yarn mysql && yarn postgres && yarn mongodb && yarn mssql"},"_npmUser":{"name":"balazsorban","email":"info@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.16.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"14.16.1","dependencies":{"typeorm":"^0.2.30","@babel/runtime":"^7.14.0","require_optional":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pg":"^8.5.1","mssql":"^6.3.1","mysql":"^2.18.1","assert":"^2.0.0","mongodb":"^3.6.3","typeorm-adapter":"^1.2.0"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1","mysql":"^2.18.1","mongodb":"^3.5.9","next-auth":"^3.1.0"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"mongodb":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.0_1624748151504_0.3833693416098969","host":"s3://npm-registry-packages"}},"0.1.1-pr.150.4":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.1-pr.150.4","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.1-pr.150.4","maintainers":[{"name":"iaincollins","email":"me@iaincollins.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"balazsorban","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"21f05726de5a87fab063ca25f09442b4e7b0373d","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.1-pr.150.4.tgz","fileCount":14,"integrity":"sha512-1izmiZ//bcBwHyUZDc0FMGKMsPeJFoTXQ67RwO5RcqhllLu9i7bRSnglBzUeTQrmOllkQtr64b6AuBZj+0aMnQ==","signatures":[{"sig":"MEUCIQDYUt1WN0gHp8d3b2wOsMCILnwYLawBFyhePIodinj0+QIgeRi8lgKHjb226G/gif14k6OIa8NgNeVs2A59iQnFrrc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31218,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg2L01CRA9TVsSAnZWagAAWQEQAIaCZhctyeDdUdXL1q3V\nxG3mUhbwYN2V45ULUXvqUbUS1q/genCbWbFeBONJS0byRdl66DagHyV8Q740\npjxm8GszOriw9aiulBHlvUE8lPFYPfZV6RLuFQAsiE0SQsz+fVnOJVDsG96L\ngcUItR9+/0Rf4blXMUadHwgSEKrNkXBBnbDdxQbZdACLd+eod+EV87LDBkI6\nTASJ+TtUHE3CQFnXBwaO4RYYuS0y/oSJ5izxYMeqHYkLNFNcyHOs+m0Aiw8e\nHMMpQywUqa0CEP/DpHP3TMnIGJT76f9QmyrjOfNyV0ppMDywAxpQa74ziKJx\nZXECVRXuzwLpk2MfEhR1OSYZJpyDu3aF3krmlqVeEU4t2m6NH52UrFgzlaY2\nTKsLuzRB5AKJT1bMpNPqAEDqRZ5fokZAapc58nNHglo+Co49bC+lRBwnPYCM\n3M3WreyK64afNMxwrexzveAEerslMC1aB38tXEnEzULx3DrZKtwwbDOA3gXN\noqW1nGOaDlB+JZb2TQLlDhVqXpZURsbDlkJPRXtGjE/yJebCgur7wsilu/Kz\nsdFzkQCVbzSMaeCUptnA+yx4dP6Eft+dxFuDhoO1uDnwKSGzmt1r0bGSLrzC\nUVOaoUpJCpH1N98iKlyK7kZ6GaEw8aUTPQLRfsmKYHES0XHe5VcaDl4dA792\n30Ke\r\n=Nj7v\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n    <a href=\"https://next-auth.js.org\" target=\"_blank\"><img height=\"64px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" />&nbsp;&nbsp;&nbsp;&nbsp;</a><img height=\"64px\" src=\"https://raw.githubusercontent.com/nextauthjs/adapters/canary/packages/typeorm-legacy/logo.png\" />\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/actions/workflows/canary.yml/badge.svg\" alt=\"Canary CI Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter/canary\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter/canary\" alt=\"@next-auth/typeorm-legacy-adapter Version\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\nYou can find more TypeORM information in the docs at [next-auth.js.org/adapters/typeorm/typeorm-overview](https://next-auth.js.org/adapters/typeorm/typeorm-overview).\n\n## Getting Started\n\n1. Install `next-auth` and `@next-auth/typeorm-legacy-adapter@canary`\n\n```js\nnpm install next-auth @next-auth/typeorm-legacy-adapter@canary\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport Providers from \"next-auth/providers\"\nimport { TypeORMLegacyAdapter } from \"@next-auth/typeorm-legacy-adapter\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    Providers.Google({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapter: TypeORMLegacyAdapter({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, sqlite, as well as MsSQL. Further configuration options are listed below.\n\n### sqlite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [mysql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mysql/schema.sql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [postgresql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/postgresql/schema.sql)\n\n### MsSQL\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [mssql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mssql/schema.sql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please first read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"2cad4e8f67a95c03ef06b19a5b3b92c78f5fecc7","private":false,"scripts":{"lint":"eslint .","test":"yarn mysql && yarn postgres","build":"babel src --out-dir dist","mysql":"./tests/mysql/test.sh","lint:fix":"eslint . --fix","postgres":"./tests/postgresql/test.sh","test-todo":"yarn mysql && yarn postgres && yarn mongodb && yarn mssql"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"typeorm":"^0.2.30","@babel/runtime":"^7.14.0","require_optional":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.5.1","mssql":"^6.3.1","mysql":"^2.18.1","assert":"^2.0.0","mongodb":"^3.6.3","typeorm-adapter":"^1.2.0"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1","mysql":"^2.18.1","mongodb":"^3.5.9","next-auth":"^3.1.0"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"mongodb":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.1-pr.150.4_1624816948628_0.5513616607912342","host":"s3://npm-registry-packages"}},"0.1.1-experimental-287d61f1a9c8050b98e6562052447ad6a9c5f711.4":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.1-experimental-287d61f1a9c8050b98e6562052447ad6a9c5f711.4","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.1-experimental-287d61f1a9c8050b98e6562052447ad6a9c5f711.4","maintainers":[{"name":"iaincollins","email":"me@iaincollins.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"balazsorban","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"36f32cdf32e4f44d477ca28b96abf7d60eb0af2d","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.1-experimental-287d61f1a9c8050b98e6562052447ad6a9c5f711.4.tgz","fileCount":14,"integrity":"sha512-JoLZMJ++A/PjWgZVt43hcnzFqMNXemHgNypuyGxrw9uoMlkWduR5tYFSLlroVm0GTR1BhoAREmEvc2ukAQbRRw==","signatures":[{"sig":"MEUCIQDxc08z+N7jhW9euJ3R9ov/A1jI49hFtoTlY/vfP64PrwIgalGgNfltB+RE5ACTnuhbRQi9MdUlw3I7oS5Hf+0XE/c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31265,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg2N8WCRA9TVsSAnZWagAAVkwP/2/MG+qO8gNc5NBaU4ti\nPt/QE/BxjTn7Gxgx2mPbjVRmDMQe6byh4O85+/pfo+lDYh55asFKSa/aNmO9\n6tP7t7iFYjWpF3ZkLWT3f8LuYnzht6je9NJo5zeFNyTounGU9WDnk2SazBh8\nBcDpTCaqLpLUtacYwLTJUQzORkc7T6QuGGJAQW9KDUmq8sHe8qU/97p2stoZ\nPF464fM0tsusOWC4Oz1Ep4NqdSnZ7/o6qov5+8U3Q9HCfoaI+rer2x+9wMOv\n7qnoS156clEfW8VfV26bqVZ4/UpzkmWNwhNZXEQmNDjdO5q9EocKKZPKj3Yz\nQE1r4CmnMxLUd/Dy0eeXC9NwE2rv5E1zfUBpn6BYVwMPtkBet9weWCqOO8e2\ngGH8g0H0juxOJLAa+xzx4scfJVsAE2QAI4l2cA3Fg6St3ShOuxuGWCA+FKSt\n8U/ff87lmAAe8YX4YP+3MPZF8FYtv0PibTKvpm7Z6fcTk+EV1up2kzEkgkT2\n34dvcJ93cwA8SOea3UdfOuthcCdGV9zlFqGHJSXLgSyNMap6E6VOrcujO67w\nGnOuEQuk6FtdMbMnbLAX6O/LPay3cqBUFcYo/GsLA6dLLYCc431CGZ3VIxeg\nEf6JI7KT2e3zII4n4x7ITyzr56eypxLMH6zISqkvhY/nK/3nF17415nWKtAL\nD7vC\r\n=1xMs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n    <a href=\"https://next-auth.js.org\" target=\"_blank\"><img height=\"64px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" />&nbsp;&nbsp;&nbsp;&nbsp;</a><img height=\"64px\" src=\"https://raw.githubusercontent.com/nextauthjs/adapters/canary/packages/typeorm-legacy/logo.png\" />\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/actions/workflows/canary.yml/badge.svg\" alt=\"Canary CI Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter/canary\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter/canary\" alt=\"@next-auth/typeorm-legacy-adapter Version\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\nYou can find more TypeORM information in the docs at [next-auth.js.org/adapters/typeorm/typeorm-overview](https://next-auth.js.org/adapters/typeorm/typeorm-overview).\n\n## Getting Started\n\n1. Install `next-auth` and `@next-auth/typeorm-legacy-adapter@canary`\n\n```js\nnpm install next-auth @next-auth/typeorm-legacy-adapter@canary\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport Providers from \"next-auth/providers\"\nimport { TypeORMLegacyAdapter } from \"@next-auth/typeorm-legacy-adapter\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    Providers.Google({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapter: TypeORMLegacyAdapter({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, sqlite, as well as MsSQL. Further configuration options are listed below.\n\n### sqlite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [mysql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mysql/schema.sql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [postgresql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/postgresql/schema.sql)\n\n### MsSQL\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [mssql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mssql/schema.sql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please first read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"287d61f1a9c8050b98e6562052447ad6a9c5f711","private":false,"scripts":{"lint":"eslint .","test":"yarn mysql && yarn postgres","build":"babel src --out-dir dist","mysql":"./tests/mysql/test.sh","lint:fix":"eslint . --fix","postgres":"./tests/postgresql/test.sh","test-todo":"yarn mysql && yarn postgres && yarn mongodb && yarn mssql"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"typeorm":"^0.2.30","@babel/runtime":"^7.14.0","require_optional":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.5.1","mssql":"^6.3.1","mysql":"^2.18.1","assert":"^2.0.0","mongodb":"^3.6.3","typeorm-adapter":"^1.2.0"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1","mysql":"^2.18.1","mongodb":"^3.5.9","next-auth":"^3.1.0"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"mongodb":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.1-experimental-287d61f1a9c8050b98e6562052447ad6a9c5f711.4_1624825622159_0.06986661358314583","host":"s3://npm-registry-packages"}},"0.1.1-pr.152-4decd71c.5":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.1-pr.152-4decd71c.5","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.1-pr.152-4decd71c.5","maintainers":[{"name":"iaincollins","email":"me@iaincollins.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"balazsorban","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"6def377c3551c47a01e4ba4b807fb9c3929b0c63","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.1-pr.152-4decd71c.5.tgz","fileCount":14,"integrity":"sha512-reffhpDlLxdTgyQijR3icbUqFYzLabc0tGrd3xq74AY8TNBVOkapzeI1a8hKU19fgx0TODV/uDUPaMiMkNaaXQ==","signatures":[{"sig":"MEUCIGvfSQyCH002ak8FuPBIP2dC+LKyJ1OTmgHmgk2PL9hEAiEAkmnP/rmZPR+5Lc2Ogn8wHD5uRu8LbQkMWKICtUeKyho=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31227,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg2RhnCRA9TVsSAnZWagAAegMP/jQwPuovjjnoh7UHSq8l\n+VXfumCfT7zmvCGuRxan70UmKM4NUgOyXYpY4Id/9A9Mn6Yv44G2uczdlI7y\nC7DzxQE/TNiJekScW4lnY6Ztu2SFhPq+SZgcmM/33VV6JU29H4Vd1jNdWcMB\n5xBoh3SO2OCagrQ4iiJW19PKylRxxlSfjtKtZ7ShdtZH6q9HCE2i926Fe1Et\nxCk+gQgjvrqst5IkBbSjLuVKjsiRe+LLmEsuET6OfEahurPs9Osa3M0sqbV9\nEewq1NOZjOM105xAL9gAcSp48ufm4ZzmjhREgdueYKl1FtPnSNRFQZ6ACSnI\nkZqLi5Mutow/33BUpA3EErJqvI17qdudCWqw/eyalbMVQbUIoPGXb5o2RDLM\nDnlviyBefsqpks1JUOgryGDCx072MWFMs8xyyuvYIId7kEjlTgiB5mIi852s\n4MjNolc0j6O+VobB3TA6kgKcJYzri2q09hW4wsoGUoqadWdz1/8z7lnW5NNT\n8Dj0ZguoNi65fuAHJrcQRJwSqX2DtFiF3CB/Guddhnb3VmiKulE5uuFsoVLK\nvr9i+vRBMA+7dJ/xVg9R/8s/jtuYQx/t2rjF9CDuA7ZVOBNoSuR0Mf4ggmsk\nqSj9UhCg4rbcr4uJeEtDwsVjc+I0Ufmmr6ELdmtdwyGrFJPCKpDRDUAfbfLD\nDUaF\r\n=DDad\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n    <a href=\"https://next-auth.js.org\" target=\"_blank\"><img height=\"64px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" />&nbsp;&nbsp;&nbsp;&nbsp;</a><img height=\"64px\" src=\"https://raw.githubusercontent.com/nextauthjs/adapters/canary/packages/typeorm-legacy/logo.png\" />\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/actions/workflows/canary.yml/badge.svg\" alt=\"Canary CI Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter/canary\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter/canary\" alt=\"@next-auth/typeorm-legacy-adapter Version\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\nYou can find more TypeORM information in the docs at [next-auth.js.org/adapters/typeorm/typeorm-overview](https://next-auth.js.org/adapters/typeorm/typeorm-overview).\n\n## Getting Started\n\n1. Install `next-auth` and `@next-auth/typeorm-legacy-adapter@canary`\n\n```js\nnpm install next-auth @next-auth/typeorm-legacy-adapter@canary\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport Providers from \"next-auth/providers\"\nimport { TypeORMLegacyAdapter } from \"@next-auth/typeorm-legacy-adapter\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    Providers.Google({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapter: TypeORMLegacyAdapter({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, sqlite, as well as MsSQL. Further configuration options are listed below.\n\n### sqlite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [mysql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mysql/schema.sql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [postgresql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/postgresql/schema.sql)\n\n### MsSQL\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [mssql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mssql/schema.sql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please first read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"4decd71c9f29f426e150578cbf0e4eecd66f973a","private":false,"scripts":{"lint":"eslint .","test":"yarn mysql && yarn postgres","build":"babel src --out-dir dist","mysql":"./tests/mysql/test.sh","lint:fix":"eslint . --fix","postgres":"./tests/postgresql/test.sh","test-todo":"yarn mysql && yarn postgres && yarn mongodb && yarn mssql"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"typeorm":"^0.2.30","@babel/runtime":"^7.14.0","require_optional":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.5.1","mssql":"^6.3.1","mysql":"^2.18.1","assert":"^2.0.0","mongodb":"^3.6.3","typeorm-adapter":"^1.2.0"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1","mysql":"^2.18.1","mongodb":"^3.5.9","next-auth":"^3.1.0"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"mongodb":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.1-pr.152-4decd71c.5_1624840295407_0.04746792010858836","host":"s3://npm-registry-packages"}},"0.1.1-pr.152-8a53cb89.5":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.1-pr.152-8a53cb89.5","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.1-pr.152-8a53cb89.5","maintainers":[{"name":"iaincollins","email":"me@iaincollins.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"balazsorban","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"bd838bc64fef72c0d330d0155f58bcdaabb2915b","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.1-pr.152-8a53cb89.5.tgz","fileCount":14,"integrity":"sha512-yHfZAPnnp8SD1JHWtNngA91e1LP3M026kuxPY+Xtbm8KbXKSUor3mQYyhmUqWOW5tRwU1ZEEqdtF7Mg0tqDQ/A==","signatures":[{"sig":"MEUCIFxPSmUfFj6R+kQ6EMqvlWQ3u6uPYgskFJMh5ADvzcGyAiEAznAIqRK5DY8TyVhqj2TA+etNif8m7vQxo9RVSVULgWs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31227,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg2RsFCRA9TVsSAnZWagAAByAP/i7M6woe0yalRAxtSIuE\nn8DX6sN4E5jvGQBq2zH4uQ9bqaAP6NiLP2wJJ4oSEYfoJAybGvnrwO15cqVL\n1d3eHY7l2C/PTD1hI9cK9jFvLucmZ3dsMAuITmtFt4NAxVz15R/i28w9zXOg\nhYsqz7NFLnqiS5USvyypZw1G9HLggP1n9+LJROi6uOJVogjRWOE+uRAGcehz\n5SFjUinNBbROeTL9RValQpXEkRf+9V39AJythnR1fFDW7HIFNw54FOUy679n\nIPYYWy8bmdfGlFbFecbvVnIeGF+Zp4vOmHTSg/xqYo3iY1tDzI63ikRPITa8\naP0ZQtFMtduSTmaBXrTv9bOmfVFlbhYcxvV6TaRkPnPInUIBhm5fzqbh5qaA\nXC2oawnKl+53DvTjYsynoa6rwA4GvkMh1GZq/CK0oPaL9yMzRzrOOcj+Cxia\n2uz7eTMuWlOagvkf78X3pvzFR5YkbVoXfC8pSOWUbpreNlCexc9v2ahEbonp\nYOqF9rcfRUv0BNDBwDvX1pMh95Z/piscyQj66uHsjIBtbkL6PfDXYnJ1/EXD\n+OfvE4QPjYdhD0G450Yy0rwbxZ9W7Spovs1icUMNmc8fktI3DZcx6y8ZhvEj\nvyWdOS1mETOQaQBLF30S+ZY4cmEpM/ujSog2pmP9JjNIfs0nQj8deOFYxtbi\nhoY3\r\n=IJ3U\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n    <a href=\"https://next-auth.js.org\" target=\"_blank\"><img height=\"64px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" />&nbsp;&nbsp;&nbsp;&nbsp;</a><img height=\"64px\" src=\"https://raw.githubusercontent.com/nextauthjs/adapters/canary/packages/typeorm-legacy/logo.png\" />\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/actions/workflows/canary.yml/badge.svg\" alt=\"Canary CI Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter/canary\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter/canary\" alt=\"@next-auth/typeorm-legacy-adapter Version\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\nYou can find more TypeORM information in the docs at [next-auth.js.org/adapters/typeorm/typeorm-overview](https://next-auth.js.org/adapters/typeorm/typeorm-overview).\n\n## Getting Started\n\n1. Install `next-auth` and `@next-auth/typeorm-legacy-adapter@canary`\n\n```js\nnpm install next-auth @next-auth/typeorm-legacy-adapter@canary\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport Providers from \"next-auth/providers\"\nimport { TypeORMLegacyAdapter } from \"@next-auth/typeorm-legacy-adapter\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    Providers.Google({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapter: TypeORMLegacyAdapter({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, sqlite, as well as MsSQL. Further configuration options are listed below.\n\n### sqlite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [mysql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mysql/schema.sql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [postgresql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/postgresql/schema.sql)\n\n### MsSQL\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [mssql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mssql/schema.sql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please first read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"8a53cb895b4fbb42217cf48ea75234cc97bbcddb","private":false,"scripts":{"lint":"eslint .","test":"yarn mysql && yarn postgres","build":"babel src --out-dir dist","mysql":"./tests/mysql/test.sh","lint:fix":"eslint . --fix","postgres":"./tests/postgresql/test.sh","test-todo":"yarn mysql && yarn postgres && yarn mongodb && yarn mssql"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"typeorm":"^0.2.30","@babel/runtime":"^7.14.0","require_optional":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.5.1","mssql":"^6.3.1","mysql":"^2.18.1","assert":"^2.0.0","mongodb":"^3.6.3","typeorm-adapter":"^1.2.0"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1","mysql":"^2.18.1","mongodb":"^3.5.9","next-auth":"^3.1.0"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"mongodb":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.1-pr.152-8a53cb89.5_1624840965044_0.40734886417943517","host":"s3://npm-registry-packages"}},"0.1.1-pr.152.5":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.1-pr.152.5","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.1-pr.152.5","maintainers":[{"name":"iaincollins","email":"me@iaincollins.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"balazsorban","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"4381c935b3fc2b79031ef8bae04b4b60d603bd1e","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.1-pr.152.5.tgz","fileCount":14,"integrity":"sha512-mzEnDnlysL7SbV267RfMW4XR15Dsbn5ZmLzCFau9A5dspwySoWaxmVSZJZGXtcJJ3BcB2yuQkDOH6ksiV+UxPA==","signatures":[{"sig":"MEUCIQCdnycDg8CPs6oPElas34/t27h7xvtGWewaZj5WReAuxwIgMEz4NKzynvXXu9BwuqfP5c5DAXl7+iEhfuzPAU4KUOM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31218,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg2RyECRA9TVsSAnZWagAA01sP/2oRnW59Nl/B0kSzHxld\nMOli6FV4/wl+RKY5zEad1iPM8P/hcDaqyDSqXNQvZbIa+y7kTKyxvqhNIUSQ\n2O6yimhWr1ufMx6HKtM48dR04iLaYtu8BlbkCLtQcdC2LtuV0K+mNlByP5qV\njwXAAsvh14F4gi8TzO3GSdlBdKZQsvIjDMTknxtMdz1s75kzraPbNsh6GTLO\n0fISRNUF8Y4YTjCxzZkpEdcXScZXMY3hDRpTxDZGcv7doBNFZdLl2Hw2b38m\nwR5XTp8neeboFNkLbErTDQ78+qahnNZLUi8kyg74TUgXgmlW4YaKd7YtDBDu\nz8HjBibQk9qE/OpXWZn5wx1M2SiUwzX4LfQWvWXJl7l71UhOPzv5cfdAuXOL\n/Wzk302uPrOzUSYqqbkkLgiHqB+vh7zthpy2SftzJovS0Mg6L+aPQLdZOe4L\nY1E25trULH25ddcpkEUANMfRWRF3PB+feV++Wx1G2LZaPq2ONrZnOWepYzo+\n8Jj/Hh2qleO3G+sOm8iKsRZMw7r79V1n4ie0/5yI0jYssPHvjrrUjlPzF+oa\n5xrzqJM/08K5OE/fgxk3u1l7Y1etkK8qJmfUq0H/Hhh0CZ7uljYM0Jp0ayRu\nv2w9uzryA0hC5TqMYU27MHzigpB7h8SBHesMFxOQIIZilUUqbgGrc/CBlcFV\nSKQA\r\n=Ng1p\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n    <a href=\"https://next-auth.js.org\" target=\"_blank\"><img height=\"64px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" />&nbsp;&nbsp;&nbsp;&nbsp;</a><img height=\"64px\" src=\"https://raw.githubusercontent.com/nextauthjs/adapters/canary/packages/typeorm-legacy/logo.png\" />\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/actions/workflows/canary.yml/badge.svg\" alt=\"Canary CI Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter/canary\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter/canary\" alt=\"@next-auth/typeorm-legacy-adapter Version\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\nYou can find more TypeORM information in the docs at [next-auth.js.org/adapters/typeorm/typeorm-overview](https://next-auth.js.org/adapters/typeorm/typeorm-overview).\n\n## Getting Started\n\n1. Install `next-auth` and `@next-auth/typeorm-legacy-adapter@canary`\n\n```js\nnpm install next-auth @next-auth/typeorm-legacy-adapter@canary\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport Providers from \"next-auth/providers\"\nimport { TypeORMLegacyAdapter } from \"@next-auth/typeorm-legacy-adapter\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    Providers.Google({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapter: TypeORMLegacyAdapter({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, sqlite, as well as MsSQL. Further configuration options are listed below.\n\n### sqlite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [mysql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mysql/schema.sql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [postgresql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/postgresql/schema.sql)\n\n### MsSQL\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [mssql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mssql/schema.sql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please first read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"03b23bed5944e16147df6bdc1d06ba87620c2a48","private":false,"scripts":{"lint":"eslint .","test":"yarn mysql && yarn postgres","build":"babel src --out-dir dist","mysql":"./tests/mysql/test.sh","lint:fix":"eslint . --fix","postgres":"./tests/postgresql/test.sh","test-todo":"yarn mysql && yarn postgres && yarn mongodb && yarn mssql"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"typeorm":"^0.2.30","@babel/runtime":"^7.14.0","require_optional":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.5.1","mssql":"^6.3.1","mysql":"^2.18.1","assert":"^2.0.0","mongodb":"^3.6.3","typeorm-adapter":"^1.2.0"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1","mysql":"^2.18.1","mongodb":"^3.5.9","next-auth":"^3.1.0"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"mongodb":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.1-pr.152.5_1624841347841_0.12681265238364503","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.1","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.1","maintainers":[{"name":"iaincollins","email":"me@iaincollins.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"balazsorban","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"7677388d3d7885790070aa29d33522058a280319","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.1.tgz","fileCount":4,"integrity":"sha512-1oi6wkShIc4kKwzMXs+TCKWYZf4ENlBPDMnoirwkUR9vJuhGcaX9V0WosPjyQKV0onhr6Hy6fm71AbDScnb47w==","signatures":[{"sig":"MEQCIDQhgg5V7qcHZuxze6CC1jE94HXE54PrJpKmCS1HbBoZAiA3A+0qGttnWZvful/Jm5W9aBsp89okx1d4fFzYo63IPQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8566,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg3ONmCRA9TVsSAnZWagAAXPwQAIMIfoTT5VQczT/T77U6\naiv7zQ8G3TIZRb2zhJxWMOi12oA9ljW0HbU7xRGYipmEy3tPBHiQHyQSVT+j\nJNCsn7iCjQCTQQDfncGdkpTVC5yf16G3OI/zF3AAYAMi/MuFE1i1rtUF5hyG\n2U5ugC8UB5evyx4P6Qxc+akBHwgFr3HbNqJAXv2i67HmvuceeTYQTb/m7VQz\ntSOxZpR8XSQd1kM4+Fvy2GnnBspyavNOLkJ6f3QvbOYKoMY85ZE/cu+GLaGh\nlcavq/owR+PbkHAWbj/Os1WJL5HDUoXB9YSTNX/QjYKB1plXGxGGJ/+OYs9v\nwBEDJxYFY4jnT283DxsclmF1LuXq5/BYy/9iIO4Ana+f7Ot+OG8Tuq8uazMv\nkdXewyQJ6YrS80lyUDPYiT8gCL90boreDFAAEtiuif8sh0S2kTIS1CPHcGcQ\n5+TJF20tk21D/rvoFR8JKN6USOWZvh7JpcyhGj/GrIePHVcBWg+OKU3XGSDy\nfgk8ie/6N2+ClXFZJqZCGAxBEhaK8lTQXGI6agxpbF/+A+7b270L0xEt1b8H\nssjQBJQ6Ht5vn8OtDvMW9anUwc/w/zIkbVjRpZ78+9cOkWApQgDvUW/nfTPr\nt1rgBWno2M/hAMPjh3Z8yD/XrexyLUl9ADDPoRLbU4YK1jmSEA57DCa+8/Ry\nObEE\r\n=5rQC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"a42e3236fecdb2265e9f6bc3006959961f948ff6","private":false,"scripts":{"lint":"eslint .","test":"yarn mysql && yarn postgres","build":"babel src --out-dir dist","mysql":"./tests/mysql/test.sh","lint:fix":"eslint . --fix","postgres":"./tests/postgresql/test.sh","test-todo":"yarn mysql && yarn postgres && yarn mongodb && yarn mssql"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"typeorm":"^0.2.30","@babel/runtime":"^7.14.0","require_optional":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pg":"^8.5.1","mssql":"^6.3.1","mysql":"^2.18.1","assert":"^2.0.0","mongodb":"^3.6.3","typeorm-adapter":"^1.2.0"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1","mysql":"^2.18.1","mongodb":"^3.5.9","next-auth":"^3.1.0"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"mongodb":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.1_1625088869691_0.776082462298286","host":"s3://npm-registry-packages"}},"0.1.2-pr.161-a5ac75dd.3":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.2-pr.161-a5ac75dd.3","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.2-pr.161-a5ac75dd.3","maintainers":[{"name":"iaincollins","email":"me@iaincollins.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"balazsorban","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"465b3c2fca7153eac46a35aa0ae215e83c4381f0","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.2-pr.161-a5ac75dd.3.tgz","fileCount":14,"integrity":"sha512-3vCc2TR2K/Wfp8nTT/QNJn72eb5HCfAsbyfmcQIZukeG4mVm0R2JBWHMdiehdpbx/HI9Ffs7cCMfNKNbAiP9RA==","signatures":[{"sig":"MEUCIEL4an25kPtRDLoaweaZ2jeoyBwJDU+2CkMqxJYC2ZI2AiEAlzhRZXkwPnpCnSVaU9UQkl3M3QpL4GWZAYWsixbVJwQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31221,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg3v2XCRA9TVsSAnZWagAAe2YP/1GM1jSD8mo06RvbnCw1\nQNsTNKKlKX9CrT7huxyim+T0IDaiEJPv+RXkMNqYzgABl03cb5KGzYMzi61R\nsSwsFvMW63fBCqrJZMUkYRoroQXVpGh3tpNx/2q+FGjd9MQgmPguf/c/t4rD\nJTcgohtygsaDuNA3fpnUVzFCzD1mDv3VNvjBbu560XHFWjttUHYugg4Pko1+\ntmrq1WR4Uw1SKZHEH6vs2eZHCtgh6lmdytR49Yirxa8Dldll0diaW70iQ2Du\nyizyUMKGm4oqsKUADKRuWoxgq8XR6TWjZhtK/xCXw9Kp/9ccvUjSMr8c+Nha\nhteOOGXvUT9g7/Ic6s8H4FnYPDoNHl+mpYhQ9Pp3JfOErmqbCJGR1tauFYyo\nr6EiEyonnQx6wDeXZY5YjJcthuKknXtqMWg5TQJRdxj7S8CRjc5vIvYfWBF8\n1fYUACXB8tZYxN2dR8cHhMYir0sFsFdLxJDgpwNnb7JUAPvwDk16MDSelkB5\n+sT4adnuAyfYowZ/W2wZIGNesyBWRY1J7eRJCtDyeJgnTju35lQZUKfrD47v\nJ4VeRUUKMHV/jDe9O022lJX5pYwAHdPNTtVWMoks8IZSneLipIc0xH0xOArJ\n6T9z1nYPOdx/Lg3sdnnD+wSOCCSSNY9xMaCEV/eSkN4XhpFVTpmZ69fnGjOe\nGpS1\r\n=5SX7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n    <a href=\"https://next-auth.js.org\" target=\"_blank\"><img height=\"64px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" />&nbsp;&nbsp;&nbsp;&nbsp;</a><img height=\"64px\" src=\"https://raw.githubusercontent.com/nextauthjs/adapters/canary/packages/typeorm-legacy/logo.png\" />\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/actions/workflows/canary.yml/badge.svg\" alt=\"Canary CI Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter/canary\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter/canary\" alt=\"@next-auth/typeorm-legacy-adapter Version\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\nYou can find more TypeORM information in the docs at [next-auth.js.org/adapters/typeorm/typeorm-overview](https://next-auth.js.org/adapters/typeorm/typeorm-overview).\n\n## Getting Started\n\n1. Install `next-auth` and `@next-auth/typeorm-legacy-adapter@canary`\n\n```js\nnpm install next-auth @next-auth/typeorm-legacy-adapter@canary\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport Providers from \"next-auth/providers\"\nimport { TypeORMLegacyAdapter } from \"@next-auth/typeorm-legacy-adapter\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    Providers.Google({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapter: TypeORMLegacyAdapter({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, sqlite, as well as MsSQL. Further configuration options are listed below.\n\n### sqlite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [mysql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mysql/schema.sql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [postgresql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/postgresql/schema.sql)\n\n### MsSQL\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [mssql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mssql/schema.sql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"a5ac75ddae851b3edc0f7724da0c9649c84432e6","private":false,"scripts":{"lint":"eslint .","test":"yarn mysql && yarn postgres","build":"babel src --out-dir dist","mysql":"./tests/mysql/test.sh","lint:fix":"eslint . --fix","postgres":"./tests/postgresql/test.sh","test-todo":"yarn mysql && yarn postgres && yarn mongodb && yarn mssql"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"typeorm":"^0.2.30","@babel/runtime":"^7.14.0","require_optional":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.5.1","mssql":"^6.3.1","mysql":"^2.18.1","assert":"^2.0.0","mongodb":"^3.6.3","typeorm-adapter":"^1.2.0"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1","mysql":"^2.18.1","mongodb":"^3.5.9","next-auth":"^3.1.0"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"mongodb":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.2-pr.161-a5ac75dd.3_1625226647437_0.4562634279587996","host":"s3://npm-registry-packages"}},"0.1.2-pr.161-5d16ecff.3":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.2-pr.161-5d16ecff.3","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.2-pr.161-5d16ecff.3","maintainers":[{"name":"iaincollins","email":"me@iaincollins.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"balazsorban","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"6340912855b186a64b398b72d81626ab0d1ad868","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.2-pr.161-5d16ecff.3.tgz","fileCount":14,"integrity":"sha512-C0cRnmtHA+jzlGLsQ7OHqV9SSiY1JGUo1sLjdt2QISTVQFEFnyR8qqIXbIjdFd1B+7tWhev+mecDvQNMJVhLWA==","signatures":[{"sig":"MEQCIFQkVNCOZcI6EYkKfVugnv59bpSWDNRtsKtKfg/SVowmAiArZucQPSB3mQYFujvAexXyxkTu6i4Jo2Nzz4mXB9UmBw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31221,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg3wblCRA9TVsSAnZWagAAR8YQAIHTd0RMqAqQ20BxI+4N\n5TsKggLfvYybDSUFOaTKj1AnYy9qqthAQHUegNBji+NXY/Ar5vApQpj6BAdW\nFtu6Z/aCzF8mU7Bkwj+kLoZ+4NMEmyi/OmCilmEEwcf8R8x4B5wa4GH4q9fS\nJY28Da4rLoqSIkTo5idr8sS8b4jPs10ztyWKv2usucR5iDW3F0FggTo6B2LH\nZRrzO4imAUSj3bOdXCUXYw8EHKG9JYVlCY2y3ED91/Y2/7+qX5IXig0roknC\n67Y8ABhIvtuj0Egoh1JHPY1Jd/spxHODYqsBQ9ADiAOurTUFbB5tHEo4iAF1\nxxbwWQS1p18/ytzdHXYK+wgyu28b1SuO4GyMNs2ASA203FCoC5C4l9uZ85rp\nevG9XwzZCEFHHLn4bFBUEn8DOSwH2E1L1JNi4CNfwnMcmPAAcm5oA+SusBwK\nTWrizgo2GWtr2MPz1qW3sEF2lLuZr026UsG7AqjCcc7DhGvPQ6+jHGh39eSK\nAakse7NOt4wx0TlstwEbtbnZRB4tf8l1ZxLs1QcfawfGVnB1xrHSuZzE3gM5\n/B631uqW52sODH6+tCAs1nfJNZYhzRcVrrNnRjUv6Dk9vadIFXVFc2gqa6IL\naz6gGZqZ4rcYo8SB2CqElwQOm6zb1XV0kmhaUbO8dzYFWL7iaHk2lE0BwY4E\nwdjr\r\n=c777\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n    <a href=\"https://next-auth.js.org\" target=\"_blank\"><img height=\"64px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" />&nbsp;&nbsp;&nbsp;&nbsp;</a><img height=\"64px\" src=\"https://raw.githubusercontent.com/nextauthjs/adapters/canary/packages/typeorm-legacy/logo.png\" />\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/actions/workflows/canary.yml/badge.svg\" alt=\"Canary CI Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter/canary\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter/canary\" alt=\"@next-auth/typeorm-legacy-adapter Version\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\nYou can find more TypeORM information in the docs at [next-auth.js.org/adapters/typeorm/typeorm-overview](https://next-auth.js.org/adapters/typeorm/typeorm-overview).\n\n## Getting Started\n\n1. Install `next-auth` and `@next-auth/typeorm-legacy-adapter@canary`\n\n```js\nnpm install next-auth @next-auth/typeorm-legacy-adapter@canary\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport Providers from \"next-auth/providers\"\nimport { TypeORMLegacyAdapter } from \"@next-auth/typeorm-legacy-adapter\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    Providers.Google({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapter: TypeORMLegacyAdapter({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, sqlite, as well as MsSQL. Further configuration options are listed below.\n\n### sqlite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [mysql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mysql/schema.sql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [postgresql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/postgresql/schema.sql)\n\n### MsSQL\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [mssql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mssql/schema.sql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"5d16ecfffb6f9027e05556cdb2043146b235f9ce","private":false,"scripts":{"lint":"eslint .","test":"yarn mysql && yarn postgres","build":"babel src --out-dir dist","mysql":"./tests/mysql/test.sh","lint:fix":"eslint . --fix","postgres":"./tests/postgresql/test.sh","test-todo":"yarn mysql && yarn postgres && yarn mongodb && yarn mssql"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"typeorm":"^0.2.30","@babel/runtime":"^7.14.0","require_optional":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.5.1","mssql":"^6.3.1","mysql":"^2.18.1","assert":"^2.0.0","mongodb":"^3.6.3","typeorm-adapter":"^1.2.0"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1","mysql":"^2.18.1","mongodb":"^3.5.9","next-auth":"^3.1.0"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"mongodb":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.2-pr.161-5d16ecff.3_1625229029196_0.706371543699124","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.2","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.2","maintainers":[{"name":"iaincollins","email":"me@iaincollins.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"balazsorban","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"1ff71e3784f1113012848a06b2ccadf75241cf8d","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.2.tgz","fileCount":14,"integrity":"sha512-+uMiYa7yvTDmZfoicmCmNjTHSxScznPyfpQvPuuZWrJWpdzBYwXgjdGknHKqMFHIMaXe+gPrnZxykESGmQAZBQ==","signatures":[{"sig":"MEUCIQD3MMmm/WEnfCqo7/bgayGwbW2ArPQc8i8oTY52//GUPwIgP5GJbQ42fqYv8phkDW0oTuDKzYdimGA9pZ1xD8Hw/Gw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31195,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg3w1gCRA9TVsSAnZWagAAcHYP/R82wXiuTDMszfGFMjYz\nxqYf4qo4jsWvrmuAwTFI16hYhBu/b9MbDWqLyOliylpDjXLIhEewmnX+xhsB\nLFHsPXz7zLUUB4OGvayrfKXzZi2RUN56xbzh3oIKQz+HgL3BO1NeYGK6IFwc\naurGyPIlI7f03YmdNpW78sIIGgYNjHuKA+9tqNJ2fNRZ9CmIuwvY/QexL4FZ\nQztYx2ZQ4HlNA77x6lQWWqU5LuiWjema2L/9WqO9ODhol2N6GXi3ZdAapFC3\nxQHBeOvoEFEZham9QWXmM/t0G/5RXTRqEstKcHT2OtMV8qpU7xhwXazmiQpI\nFaFlQnUvl7lI0QPHyebuTrpEQHU7yD8aJzMH3ROYuNUOqdUwkA3KufJ2tsGt\nZbBKny8WjFJIpVDcTKjLs+WcmMISaeHdKTRVnOpD08ynvvMc2s41OG4yvGYS\nMyffULQW+VBipxXSUm5rh0AN27M3KAxndE9d+21uWdn6XC61JZKrqE6om1m+\n6xm98p7PHRJHVyd45Tp4r+N8YjvA38LJT04k07XxqiVEEn9Q8VXDF7m6it+W\njxIEyulCs/COxG8rQlKwoprkabwDWOu5nm89z+oNEchkLx0H+O+80QbPJBNN\ntFoYRPqSwsvj9DIvhaeQ3cQzCZySwUYOEiJJASYKW4X/8yGAdIWXyNN0Nshr\nSlcJ\r\n=e7mE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"ddef5af22570928cad3e3be829908a7dfb881a76","private":false,"scripts":{"lint":"eslint .","test":"yarn mysql && yarn postgres","build":"babel src --out-dir dist","mysql":"./tests/mysql/test.sh","lint:fix":"eslint . --fix","postgres":"./tests/postgresql/test.sh","test-todo":"yarn mysql && yarn postgres && yarn mongodb && yarn mssql"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"typeorm":"^0.2.30","@babel/runtime":"^7.14.0","require_optional":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pg":"^8.5.1","mssql":"^6.3.1","mysql":"^2.18.1","assert":"^2.0.0","mongodb":"^3.6.3","typeorm-adapter":"^1.2.0"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1","mysql":"^2.18.1","mongodb":"^3.5.9","next-auth":"^3.1.0"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"mongodb":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.2_1625230687956_0.314935427218239","host":"s3://npm-registry-packages"}},"0.1.3":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.3","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.3","maintainers":[{"name":"iaincollins","email":"me@iaincollins.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"balazsorban","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"76f598664c7cd37e2953e748a3c51699e9b16916","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.3.tgz","fileCount":14,"integrity":"sha512-uZ8dSD5diGchStKUf06YKSIwIbzvSNGNDrIl+AyH7sdJm9Ey3jgRnrz9YAkkXyhgcbovhZRFlqB/uUONp6N56g==","signatures":[{"sig":"MEUCIQDwg6h4vytQcKKM/ruTHLrZxr74i2W9nF9cis9i+aK1wwIgF7KzlxGQlyHJm5H6EVM0TXwsv0LEB9Tkmc3r+wL4TrA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31170,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg6wiRCRA9TVsSAnZWagAATk0P/1vlJtFEyjn5wyqdmhpq\nymmgElcOFLLxhmsk0d+qoNO1yQILFsZBbrlcJUfmxPZIjiMDE95Iv3ySJUat\nyywVehXuKzE0rLKhzrECmGCKCg6dz5OU46l8WdYojsBt1/4yDIyt+GNwqLtL\n76ocE/ddgg8IeLxh/3jyKQ7fi4SdBsK/7qRnaBkOICvUb+e+OysEfcQJaHvV\nWT9WjWob+y4C5NkxO9e8BBoArNbxM11bJzEn+AGYRLgq13NtD3iS4cyspIR0\nl064sSIAwXUrudy6Hd4xIQCihsW5mq7B31dfEOVlWapDrUrIP7g2DVArq2AM\nXyIWEzkW6nw9FR2AlRzSiXxA8wjhHbDuWp+rM9QZHJ5IMLS5UfzrqjiG9FhV\nNP86YcGWHczQhGNhiZcrNXGE7OtLnqUsC4uUnid/6as5iAFqGbiV2bfAO2QK\nzJJy4IlmivXfxD92KdUFi9yTmXA1kksl+ZIO7trQSyj7LPBRkHY4CVAD+NSF\nVCNoQxTFu/RXKRn0tec3bFX69XJcxspKFVHw+V8083sBGKrEaJ0xDiKUTZKd\nb42FNUZXqYdIe1PApiZXNqf+t968DJMzeRAnuFUE9OR/7P+vpOmUZzbZZ1Fn\ntd/h3A97N463Qh1i9dwmb1+j/WQ2hS3AoPZnzBnU9dUPfJey1TZJdIqrkNcb\nIT1e\r\n=L1No\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"31181b17648aafc7b85c073d2ffc7c47ab24e49f","private":false,"scripts":{"lint":"eslint .","test":"yarn mysql && yarn postgres","build":"babel src --out-dir dist","mysql":"./tests/mysql/test.sh","lint:fix":"eslint . --fix","postgres":"./tests/postgresql/test.sh","test-todo":"yarn mysql && yarn postgres && yarn mongodb && yarn mssql"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"typeorm":"^0.2.30","@babel/runtime":"^7.14.0","require_optional":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pg":"^8.5.1","mssql":"^6.3.1","mysql":"^2.18.1","assert":"^2.0.0","mongodb":"^3.6.3","typeorm-adapter":"^1.2.0"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1","mysql":"^2.18.1","mongodb":"^3.5.9","next-auth":"^3.1.0"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"mongodb":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.3_1626015889328_0.5043277934295254","host":"s3://npm-registry-packages"}},"0.1.2-next.4":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.2-next.4","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.2-next.4","maintainers":[{"name":"iaincollins","email":"me@iaincollins.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"balazsorban","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"ef1153e42f1a8baf584c799e909df7dfd16fb194","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.2-next.4.tgz","fileCount":14,"integrity":"sha512-WT7+fU7jh57Ab7II3wop7289xxzRPmkkrWpUajYm992L9wNIaBBV8qlf8YlCqvJh5n7xEZSPskD8MtUHeSrGLg==","signatures":[{"sig":"MEYCIQC63AtCeDyyfmqFsqJaUs7ZumwgHWrQKAfEvkwQgiTtTgIhAIyVAkxMI91I9I2V0H2dQUuWgrSobVO6AefwErmWOzwp","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31185,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg6wolCRA9TVsSAnZWagAA3D4P/0mWHz4FLnqB0MSHL99l\n+TC3qC5qJkj3uriIm5brQe6kze0U7N9pyg26bxmsHcLAxN+In7GUzJ8eqN4p\nbAt3q59JyIjFWvCPIAgwqOkKNuZTPiXNGBMdgRdnWRiyneDCisvjIECZGdpg\nopB95GTwBH/KO/M8WFWcQXnIrnFBS+57cOO3Dlusuy71gkxrFozzEqGGDUIR\nY2rIgAyuatReLVLgnXn4bd8Kf641iAOFrrHiJZ5/p0Uq05PWWXylommpuFTK\nzU49/99Twsn66odJKwciBT6EdTedgj9R/mtg+0FsFV89NJpwcqD7Jg023AcY\nVpd9I7X9gI0455BXqFm2ewffbIvmiumpT5r4bp8uWeZTUnCMFDn+UAU6Z71a\n6ory5pPHUYeHHiDlFwv+gCWsRMOJMUBXxuoEqXxlEnvVlXI20di73fMB6gtm\n/QIK7UPe3XJ0VSEMLW7eYoIxx150F7AJtjhgNbGZo72gjVu4pS5deiRXu/eI\nCuLfczHeIGsCyPUCTwvdAsEKkGsLw1SiwkdhBaullRKswi58EWPZsCfgKGQm\n68HFsDXdEnFI6iXUkMRJXvRiVkLsClrHKQktm+CM2BouWBiW9+bnKS8TrHjL\n0IplEV/ifeNU3rJAfOvrWnWd1mANzt62uiWxiqvL4Nw+3y9wYTHozE4O6tk9\nTm0c\r\n=Jj0Z\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n    <a href=\"https://next-auth.js.org\" target=\"_blank\"><img height=\"64px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" />&nbsp;&nbsp;&nbsp;&nbsp;</a><img height=\"64px\" src=\"https://raw.githubusercontent.com/nextauthjs/adapters/canary/packages/typeorm-legacy/logo.png\" />\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/actions/workflows/release.yml/badge.svg\" alt=\"Canary CI Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter/canary\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter/canary\" alt=\"@next-auth/typeorm-legacy-adapter Version\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\nYou can find more TypeORM information in the docs at [next-auth.js.org/adapters/typeorm/typeorm-overview](https://next-auth.js.org/adapters/typeorm/typeorm-overview).\n\n## Getting Started\n\n1. Install `next-auth` and `@next-auth/typeorm-legacy-adapter@canary`\n\n```js\nnpm install next-auth @next-auth/typeorm-legacy-adapter@canary\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport Providers from \"next-auth/providers\"\nimport Adapters from \"next-auth/adapters\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    Providers.Google({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapter: Adapters.TypeORM.Adapter(({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, sqlite, as well as MsSQL. Further configuration options are listed below.\n\n### sqlite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [mysql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mysql/schema.sql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [postgresql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/postgresql/schema.sql)\n\n### MsSQL\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [mssql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mssql/schema.sql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"94c9a09126c9bbe9d87296b6d39b9c137bf9f8cb","private":false,"scripts":{"lint":"eslint .","test":"yarn mysql && yarn postgres","build":"babel src --out-dir dist","mysql":"./tests/mysql/test.sh","lint:fix":"eslint . --fix","postgres":"./tests/postgresql/test.sh","test-todo":"yarn mysql && yarn postgres && yarn mongodb && yarn mssql"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"typeorm":"^0.2.30","@babel/runtime":"^7.14.0","require_optional":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.5.1","mssql":"^6.3.1","mysql":"^2.18.1","assert":"^2.0.0","mongodb":"^3.6.3","typeorm-adapter":"^1.2.0"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1","mysql":"^2.18.1","mongodb":"^3.5.9","next-auth":"^3.1.0"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"mongodb":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.2-next.4_1626016293132_0.49681248726941374","host":"s3://npm-registry-packages"}},"0.1.4":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.4","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.4","maintainers":[{"name":"balazsorban","email":"info@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"iaincollins","email":"me@iaincollins.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"a250498613669b736d76b36a2a46f7eafc9e6ed5","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.4.tgz","fileCount":14,"integrity":"sha512-UDnctrPiUU0yaPNeFhD6uw0FAuWGvx6IUVwUYTEzZm26RCEe/BBjkpGLYk43M3rcnkBPfkiljomAs/O7Uzh12w==","signatures":[{"sig":"MEUCIQDaKNSthcixCyihKeJMo7bOyaOLMc5mva8fAEIEkH7M2QIgETD4z5HDoT1d00UCchDYVgVrCjK7eReTVeSYs8orWnI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31075,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhG59dCRA9TVsSAnZWagAAG60P/2XMXX2ebW/eTVua8qEy\nd8RP2Kh8MRPHCksORo/19WFMUI1mZGfSHUf12CcdAHXndQ6C4stUWHS3SDWQ\nwB7zuWNxe1nlJlDycQwIr4rdI1q2Ac4ZMwpIvHarMFECBtjbk8DPuTRpUYlr\n7ZaKbZuGJFhR4O+ArcnJw95HtTA/pwC1/KU/lBMecYZppIx1HIzykY3VgotI\nmCyflLrY9LboJmyr25rtDEuGfTu+XaIkdCmBr9cC1gXmt12UVLB9BsX/ykfv\nI7sBn5u1eTaIK1Q9hg8Ar+lDQFK0/RYWfEGc0GCENiF9nbVrWAykWSF6rMYx\ngQntN29uCcDB3wZS4mhG5sAdUsrsIu6h8sTmHiOHIWTgLJFD9ROyOrWhQEMd\nCcV4QPJuN2M+8zUQ2vXKuNRwQhBHyoizV/0uRt1HvvUaXW8oHdisrMzorCi+\nUskbzOcmZhJ7IumRG6hQrfIIQcBdg6p8XxjVw8sxdb59KlGMg6vHGbGjkhSx\nTShD1ofsv6t7CAhS+pRkfp+dBUX6bk49OyF175ynTjPN9/Qb/YJ4zSnsvX7v\nGVqqVtxgp49IOo63v+lCFPScUIpf1cTJUxM5gw1uJehAuPEhrahM39NfXoOk\nB/yVRd8XquDaL6DnhJZMvWfme8mxG/jYFI0neIkNj85F83jAnd2NVJp9KT7r\nu8sQ\r\n=z0jh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"fae5c50d3accac2c4b380f456ef5ffe96402df6b","private":false,"scripts":{"lint":"eslint .","test":"yarn mysql && yarn postgres","build":"babel src --out-dir dist","mysql":"./tests/mysql/test.sh","lint:fix":"eslint . --fix","postgres":"./tests/postgresql/test.sh","test-todo":"yarn mysql && yarn postgres && yarn mongodb && yarn mssql"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v12.22.4+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"12.22.4","dependencies":{"typeorm":"^0.2.30","@babel/runtime":"^7.14.0","require_optional":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pg":"^8.5.1","mssql":"^6.3.1","mysql":"^2.18.1","assert":"^2.0.0","mongodb":"^3.6.3","typeorm-adapter":"^1.2.0"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1","mysql":"^2.18.1","mongodb":"^3.5.9","next-auth":"^3.1.0"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"mongodb":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.4_1629200221676_0.18495385395883757","host":"s3://npm-registry-packages"}},"0.1.2-pr.185-c509edcb.8":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.2-pr.185-c509edcb.8","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.2-pr.185-c509edcb.8","maintainers":[{"name":"balazsorban","email":"info@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"iaincollins","email":"me@iaincollins.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"e48b560e331e0015e2884ef148202d421ff0ad70","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.2-pr.185-c509edcb.8.tgz","fileCount":4,"integrity":"sha512-rI8CzsKAkoK+QLiTU7qdzeagWZqia3nzUWaiWpE5uujqYcd9MVZjIqiwCLIF3p8Kmh3WM0Kq/bNIApJYaTpD7A==","signatures":[{"sig":"MEQCICWstdo0imNRI5eUb1wcDEWMjt/HkxnDTd6ZlXfAHmf4AiBouSAE/xciwevWlhIrFHVnjvoC1QHSRKRLfroRCTlPPw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhLVJyCRA9TVsSAnZWagAAWmwP/2QkUYKb16qT9FWIZL8D\ngmwzA2kBM3fBtWrEQ/QIdOdyoNLcXclDcsUkd8hsHBmxgzn7XodWHRsnffwE\nlLYqux+IGbgy4v7UDSyG92icDLVthHMP7FbcfQuVAmwK3T2DQ845a2cDFz+b\nuOKPiWZTOMe09bHnuJ3B2/pGVT4AoSnDaqh37h7eBgXMxC6+C79nrAkpLusY\n9FsszqkmK3y7GTI2GVmcLJTUUKqhH6Cxg2BEFn+qHkPL0rybVWVV0CqPjLUK\n3dib01bZptJS93ynoGF0mGgAjD3sQuHeSAW3VTLdiUVCr8HzVoAEWk5bnrd/\ndlHFguXD8re1radwgx2xQc93jDGQMyc2RmehJuW1LFweUsQIDDCW5Ey00s0S\nWvtzYkBWc3SOhx5Ezxg2nxjRvUR+lygbReUtMfzSbbSlq+arqOiSff7NMcPS\n38bYv7ymYeJ3VE+7J65logX7U5BS1DeRGjbcePO5dCv3a6Vfnx0epM69SZ+c\n/zxKlNCvDqE9VbHDmbUUwI9NmYEhFS9LERsD6FEm+si5XEVbx5ZUFPAUc6QG\nYqQ7/Vi/FWnnjUYuwn/fRv+rO375+Q+h2u4S1d1h7xIvVifGp9UPOmK6lFBT\niVKAHolnnWnhWWqpY0p4iTZC6KiX0uNB5Zlt4j5SC82zcoCMgr5jqVlKht44\nihnT\r\n=vNdB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n    <a href=\"https://next-auth.js.org\" target=\"_blank\"><img height=\"64px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" />&nbsp;&nbsp;&nbsp;&nbsp;</a><img height=\"64px\" src=\"https://raw.githubusercontent.com/nextauthjs/adapters/canary/packages/typeorm-legacy/logo.png\" />\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/actions/workflows/release.yml/badge.svg\" alt=\"Canary CI Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter/canary\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter/canary\" alt=\"@next-auth/typeorm-legacy-adapter Version\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\nYou can find more TypeORM information in the docs at [next-auth.js.org/adapters/typeorm/typeorm-overview](https://next-auth.js.org/adapters/typeorm/typeorm-overview).\n\n## Getting Started\n\n1. Install `next-auth` and `@next-auth/typeorm-legacy-adapter@canary`\n\n```js\nnpm install next-auth @next-auth/typeorm-legacy-adapter@canary\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport Providers from \"next-auth/providers\"\nimport Adapters from \"next-auth/adapters\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    Providers.Google({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapter: Adapters.TypeORM.Adapter(({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, sqlite, as well as MsSQL. Further configuration options are listed below.\n\n### sqlite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [mysql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mysql/schema.sql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [postgresql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/postgresql/schema.sql)\n\n### MsSQL\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [mssql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mssql/schema.sql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"c509edcb2a2f4c072a67ea4349e5e95eb7ea695e","private":false,"scripts":{"lint":"eslint .","test":"yarn sqlite:memory && yarn postgres && yarn mysql","build":"babel src --out-dir dist","mysql":"./tests/mysql/test.sh","lint:fix":"eslint . --fix","postgres":"./tests/postgresql/test.sh","sqlite:memory":"jest tests/sqlite-memory.test.ts"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v16.8.0+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"16.8.0","dependencies":{"typeorm":"^0.2.30","@babel/runtime":"^7.14.0","require_optional":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.5.1","mssql":"^6.3.1","mysql":"^2.18.1","sqlite3":"^5.0.2"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1","mysql":"^2.18.1","sqlite3":"^5.0.2","next-auth":">=4"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"sqlite3":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.2-pr.185-c509edcb.8_1630360178762_0.1550086882134485","host":"s3://npm-registry-packages"}},"0.1.2-pr.185-77b5b35c.8":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.2-pr.185-77b5b35c.8","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.2-pr.185-77b5b35c.8","maintainers":[{"name":"balazsorban","email":"info@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"iaincollins","email":"me@iaincollins.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"ff0545077bc4ea34e09980f493424fbf9cc08313","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.2-pr.185-77b5b35c.8.tgz","fileCount":4,"integrity":"sha512-0qCHoTEnZkv7H+SuWihB5cZilVOl+Fl6gjTk/7Xw7kakmxC7lTAv92CBKYL186UQ6y7/cR9DyGrWbo3y8Jv88Q==","signatures":[{"sig":"MEUCIQCq5A0wC/vmT3kKgKGT40M9jxgSwv1kifSMmrI8KJZIwQIgLgJQpQX1Eex2LSnqe3LJ+aiHRT/UImvg+S6mygMVC6s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhLVTjCRA9TVsSAnZWagAAWdQP+wfm4urmldnZwsaoq1Y0\nakVlGao4Y6GVE61wCE7uosMzdbPRoauiCzoj+WHoX6CnJRGccPi4QYNpZisd\nqA32GGzxQ0pyvSyix5OJlJI+V94tz1dRnV7tPcDQUh+GP91c/8Vf7x8IoF9f\nE09q2iAzFP+wsDouMu0mNINsNr8peiUZPwuZe7G3PTt0w0GH5jYsFP8xlmEY\nzv/5dIE3A36Ll+UvecVoJbFFpmrGbU5AxMkXfT5DctNlocqTIDaSldNBvsVg\nk92366yhjWTS7CDDOHQQLA6x0VcxvJXLVdDJwntXGNhuRE1iQDk3u4WHexOQ\nxp76outfmb/g/X/mynxjUO9bxNvHs+mooFNGi5Q6QY4qTWQOQGNoDEqshvBz\nX2X2uWWFivRmidBh7J7OYnVV1RQiq35W81WlAdAfnRa8uJrkU+h1qOgLw13C\n4UHQsGBgCgwiBTF06WQ5wwf95KT8lfBKUZVZ6twjkEaf+BnfmSmcJnDOiiHJ\n0T3LN2vje5/8MtpIZRrHcBwKqoOpw+3ymy3H3UKiLihZZrmExnBHRp+UoSZn\nlUZvRyke7Pe+o+l1n7LQa4CUaXv48LfBicLe5UiZuB3Cpb78tH27b+odSv/Z\niE3ayrQP8syQga65/0KBCtVK1OAG9EvrV3AP8/+CvWIm0H9+ioeqiM4QvkQ1\nx2Pn\r\n=7g7I\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n    <a href=\"https://next-auth.js.org\" target=\"_blank\"><img height=\"64px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" />&nbsp;&nbsp;&nbsp;&nbsp;</a><img height=\"64px\" src=\"https://raw.githubusercontent.com/nextauthjs/adapters/canary/packages/typeorm-legacy/logo.png\" />\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/actions/workflows/release.yml/badge.svg\" alt=\"Canary CI Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter/canary\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter/canary\" alt=\"@next-auth/typeorm-legacy-adapter Version\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\nYou can find more TypeORM information in the docs at [next-auth.js.org/adapters/typeorm/typeorm-overview](https://next-auth.js.org/adapters/typeorm/typeorm-overview).\n\n## Getting Started\n\n1. Install `next-auth` and `@next-auth/typeorm-legacy-adapter@canary`\n\n```js\nnpm install next-auth @next-auth/typeorm-legacy-adapter@canary\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport Providers from \"next-auth/providers\"\nimport Adapters from \"next-auth/adapters\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    Providers.Google({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapter: Adapters.TypeORM.Adapter(({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, sqlite, as well as MsSQL. Further configuration options are listed below.\n\n### sqlite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [mysql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mysql/schema.sql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [postgresql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/postgresql/schema.sql)\n\n### MsSQL\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [mssql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mssql/schema.sql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"77b5b35ce44bf4290100845dba5eb0dffadb5325","private":false,"scripts":{"lint":"eslint .","test":"yarn sqlite:memory && yarn postgres && yarn mysql","build":"babel src --out-dir dist","mysql":"./tests/mysql/test.sh","lint:fix":"eslint . --fix","postgres":"./tests/postgresql/test.sh","sqlite:memory":"jest tests/sqlite-memory.test.ts"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v16.8.0+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"16.8.0","dependencies":{"typeorm":"^0.2.30","@babel/runtime":"^7.14.0","require_optional":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.5.1","mssql":"^6.3.1","mysql":"^2.18.1","sqlite3":"^5.0.2"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1","mysql":"^2.18.1","sqlite3":"^5.0.2","next-auth":">=4"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"sqlite3":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.2-pr.185-77b5b35c.8_1630360803698_0.6616671444409132","host":"s3://npm-registry-packages"}},"0.1.2-pr.185-c400b8fb.8":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.2-pr.185-c400b8fb.8","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.2-pr.185-c400b8fb.8","maintainers":[{"name":"balazsorban","email":"info@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"iaincollins","email":"me@iaincollins.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"a154e02978759b5f566f323a4243bdb02f2a1943","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.2-pr.185-c400b8fb.8.tgz","fileCount":9,"integrity":"sha512-PLPrP4wmtJ4TfN9lF9xVd5GqB2UEMa9o3oYcbsw2PjSuvXrbiosw96sc9ymBgHLd+te7LmYIoCOHrTKCRlWIDw==","signatures":[{"sig":"MEYCIQDlznU65xHKCjhaF9LtS3F0eQZ8D9LBh2aF0atL/qRlOAIhAK5rJg0TiwOA73sN/oqn1xkWbQ2EsL1o5PTdTnVgd3mt","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22174,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhLVWzCRA9TVsSAnZWagAAfKAP+wcn8FptTLEryHryOjL8\nvzTw59tpZPUKW4pwwmr1ay2X0bcJWTWSNsX0rs+Gqq9J1qDSnDjG9irlTInl\nRicFCPpY5aT2SO82arNvpbSEz52j2Ez6ddqO9gnEkKaV1AbJvY7C2hAgwodw\np5aoEtjssJf5ur0njb7NreFV9yCyP9CroFxifhOPYvmj06fE6nUgkzEc/59V\nrqeCA5eOQNZoF6Lg6tEHUVX5ejgb/j0ei+3HKQK9qLisQkQBZ1O4uXsFnh5e\nW3Asyeh5hh54+P6ApxJWgfVqcE2AZ+61YUoM7D1BhFx8a6hjGrG1T4RdDvq0\nsSrNyQfWgh/zoEWSdTb9XcfqEbp2MkbK3xHlt78EidLZBrqDhOOMZpV18mSN\n1YfWffjqMn+I/00xXc+DtnRR4GwFP5EBxRVlMW+gufeHX2+/v0b4ejjMv1EK\nKdF01E4bo7dkCiTudKIIbsULIfu8Q/DvnQV2k1fQVmmnkWoiUOKF0BAJ7FA+\nr6Aosizum6hXlmY3Oeaa6WTSHQuSHiTzCvqivXFgwEDHlV4Vk8PoXMZk3Ptp\nKnwpb67a4yj+FFB8S2AmWUR2VQoTpPWsM+fU+R/MoUjIGj6Us9zBfjXlO/Ef\nGFv/LvkmFOub28Gy9m2UrBST/tXrmsLVPXsawaKOT8Ke41JT94z0SPgViPjp\noSHt\r\n=wr/u\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n    <a href=\"https://next-auth.js.org\" target=\"_blank\"><img height=\"64px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" />&nbsp;&nbsp;&nbsp;&nbsp;</a><img height=\"64px\" src=\"https://raw.githubusercontent.com/nextauthjs/adapters/canary/packages/typeorm-legacy/logo.png\" />\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/actions/workflows/release.yml/badge.svg\" alt=\"Canary CI Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter/canary\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter/canary\" alt=\"@next-auth/typeorm-legacy-adapter Version\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\nYou can find more TypeORM information in the docs at [next-auth.js.org/adapters/typeorm/typeorm-overview](https://next-auth.js.org/adapters/typeorm/typeorm-overview).\n\n## Getting Started\n\n1. Install `next-auth` and `@next-auth/typeorm-legacy-adapter@canary`\n\n```js\nnpm install next-auth @next-auth/typeorm-legacy-adapter@canary\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport Providers from \"next-auth/providers\"\nimport Adapters from \"next-auth/adapters\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    Providers.Google({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapter: Adapters.TypeORM.Adapter(({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, sqlite, as well as MsSQL. Further configuration options are listed below.\n\n### sqlite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [mysql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mysql/schema.sql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [postgresql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/postgresql/schema.sql)\n\n### MsSQL\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [mssql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mssql/schema.sql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"c400b8fbf5773844ce465fca3d3c17f66574558a","private":false,"scripts":{"lint":"eslint .","test":"yarn sqlite:memory && yarn postgres && yarn mysql","build":"tsc","mysql":"./tests/mysql/test.sh","lint:fix":"eslint . --fix","postgres":"./tests/postgresql/test.sh","sqlite:memory":"jest tests/sqlite-memory.test.ts"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v16.8.0+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"16.8.0","dependencies":{"typeorm":"^0.2.30","@babel/runtime":"^7.14.0","require_optional":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.5.1","mssql":"^6.3.1","mysql":"^2.18.1","sqlite3":"^5.0.2"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1","mysql":"^2.18.1","sqlite3":"^5.0.2","next-auth":">=4"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"sqlite3":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.2-pr.185-c400b8fb.8_1630361011215_0.8029051478723974","host":"s3://npm-registry-packages"}},"0.1.2-pr.185-bb3bb5c2.8":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.2-pr.185-bb3bb5c2.8","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.2-pr.185-bb3bb5c2.8","maintainers":[{"name":"balazsorban","email":"info@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"iaincollins","email":"me@iaincollins.com"}],"contributors":[{"name":"Balázs Orbán","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"e944effccb692476ca1ef6758031e5a287bc92f5","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.2-pr.185-bb3bb5c2.8.tgz","fileCount":9,"integrity":"sha512-diKrM1skJF3J1YBv/X72HVhHKLR2rGNDpOHt+p/Z5eVRdlyJ1uETZF6s8MJZtk42ZyvjE9BRGTwQm0uyuu4/VQ==","signatures":[{"sig":"MEYCIQCA3g4lLAfj7XS0BYu1lezPZ28mOZZYnlRzsfH54gGj4AIhAIhKOwv2glU8Q1kBwc1EMbNU0u0XxpCfDPLqP2FUA15b","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22156,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhLVb4CRA9TVsSAnZWagAAs6oQAIzAFQWQl9Et0qajwrsB\nb3fxC63n+rwKFpPy/ryA32F13Ccb1wECTlvwoeuVtWh39IEQRLTQroiQVTsF\nNkt26+tN0ednsX1wGo3j1Sb0LPMoEKcnYCvksgZaN58AZu7wkAkQ/IABjUOY\nTkQ5oAOx3REvE1mjNqm4dDriUskdspc/E9RwCQmlaKejIccEptl59DYkpk2e\nN1JUrG8OibJWg3OSXqhJZldF9lwT9PddaMsN6XIX/lNWFSGM3cYtJs2p6ps6\noZSSBScNOFEr5DnbBrVxNcbPytC1Z+Os8SqXH+i+wu0lxQMkguP8dxW46M1N\n5aWZkBWJa8Bci6d1/uTttdTELxZKvx5XGXVqs5jw4cSODia8c85PchDpr74y\ntaMMIxVUiR2FuwOq9tkEFkqQ0/XSQo0PK0SLCvNFXfsRcPfigH2zz2Wp5Sd4\n2Y/s1DDwM1Ru9kEvA9gUDHJzkYKw2uzxXc4ZakSzvY63wrOtys55hqFQrN9X\n6ruP12i3GYdFq4Y+FanUMh2gdKg1+TVkvveGbywbOBS/5mKqPMmyHvXmv+SZ\nfKUg10tur3LDdj2jr/9bI2VJzNz+g3ylJRXeH56/itXsY+dA+hFQveFSJ9qR\nH75t7bptLgQNXbwtNYy/Agb3CYMw8k62Yw7SU6mcvXe0TklsPAN6xZ/axY4D\nJuc/\r\n=wa5f\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n    <a href=\"https://next-auth.js.org\" target=\"_blank\"><img height=\"64px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" />&nbsp;&nbsp;&nbsp;&nbsp;</a><img height=\"64px\" src=\"https://raw.githubusercontent.com/nextauthjs/adapters/canary/packages/typeorm-legacy/logo.png\" />\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/actions/workflows/release.yml/badge.svg\" alt=\"Canary CI Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter/canary\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter/canary\" alt=\"@next-auth/typeorm-legacy-adapter Version\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\nYou can find more TypeORM information in the docs at [next-auth.js.org/adapters/typeorm/typeorm-overview](https://next-auth.js.org/adapters/typeorm/typeorm-overview).\n\n## Getting Started\n\n1. Install `next-auth` and `@next-auth/typeorm-legacy-adapter@canary`\n\n```js\nnpm install next-auth @next-auth/typeorm-legacy-adapter@canary\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport Providers from \"next-auth/providers\"\nimport Adapters from \"next-auth/adapters\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    Providers.Google({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapter: Adapters.TypeORM.Adapter(({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, sqlite, as well as MsSQL. Further configuration options are listed below.\n\n### sqlite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [mysql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mysql/schema.sql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [postgresql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/postgresql/schema.sql)\n\n### MsSQL\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [mssql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mssql/schema.sql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"bb3bb5c29d969551ece2bc2fe6e03b9afbfea2d0","private":false,"scripts":{"test":"yarn sqlite:memory && yarn postgres && yarn mysql","build":"tsc","mysql":"./tests/mysql/test.sh","postgres":"./tests/postgresql/test.sh","sqlite:memory":"jest tests/sqlite-memory.test.ts"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v16.8.0+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"16.8.0","dependencies":{"typeorm":"^0.2.37","@babel/runtime":"^7.15.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.7.1","mssql":"^7.2.1","mysql":"^2.18.1","sqlite3":"^5.0.2"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1 || 7","mysql":"^2.18.1","sqlite3":"^5.0.2","next-auth":">=4"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"sqlite3":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.2-pr.185-bb3bb5c2.8_1630361335841_0.9457570973391178","host":"s3://npm-registry-packages"}},"0.1.2-pr.185-89cbca03.8":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.2-pr.185-89cbca03.8","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.2-pr.185-89cbca03.8","maintainers":[{"name":"balazsorban","email":"info@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"iaincollins","email":"me@iaincollins.com"}],"contributors":[{"name":"Balázs Orbán","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"99bd46c9664b4aca680cf9f1f6c32dbf8dbdf08b","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.2-pr.185-89cbca03.8.tgz","fileCount":9,"integrity":"sha512-G70HJSm3yms014MxCPwMi41Qqs2DnXkqtaFofAXcft/rQozYg504bXDlYY8cXBtWymRmOVjMBcLjsYqpj2zLpg==","signatures":[{"sig":"MEQCIFGg9FLdPlVxW/h5ZKe8drqzkNH9Y4LNdqE0kkc1fwmSAiBI8JUls9tgL92jTJiKJpTKtUj3hfXZYQM0nULR2cM+PA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22125,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhLVeCCRA9TVsSAnZWagAAscgQAKC9F/Mgk8Hl6I+CFK3r\nTtMGvYjgcArgC0XN9gABewo0ITdE0CthRTMAT08rxaLlwYetIird1FdgpX1V\n0WLW1fNp7eWhmgmCOC/FcymKXRDSHStwEiW4QqeoF0D0Had3P2v64oqLMHI6\nGDX3XABCS21gl7r6FXOSKcOIg06dl1SBrgl1ncyu9SXzs2DZrtzceexvVDvu\nyN+3Y3f8WK/AtZVEOxrjC4IjmtkA+jRNMFQgKitBeTkEUc7KfQzjtF2/AoIB\nP+gc/G4o8G73MTBsE5Wx38vesBqPRjZ8l+glK7WeynF87mG8F1H0oyhk6ZME\n8stvRKtPk9blgUPdkk9WWq41L+vn+qQmg8+RiJgDdq4R8IottEIwMfiITEE5\nKo0ZJW1Ow7cGJO216ITiNiHpq48TWxCI7VhX/vOV6PyQQRtrksElCaftrkVp\nXYJ6s2JMyXpN93TuCYNZLSC8W/B1BYNuIqEDBJ+AzJ55tm6LJ4+WVvOUctGq\nbrKRKrJGrcJOD4sqQQJ1BsmCkXdgl1KX66cuASfdfIoVA3ZxdlSSxDCJvyiv\n0kv3JxMs5SacA2k0veXkfaW7P/tV7ZkpCEjpqmh1C3dEFL6/6tboJ/xuOr8E\nEVDcp7MQYhjvhM3iaAZT81GmrbbQfmPcnzI1psfDdq2WA9+/hjOnEno/SXbY\nSSOQ\r\n=w+Uh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n    <a href=\"https://next-auth.js.org\" target=\"_blank\"><img height=\"64px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" />&nbsp;&nbsp;&nbsp;&nbsp;</a><img height=\"64px\" src=\"https://raw.githubusercontent.com/nextauthjs/adapters/canary/packages/typeorm-legacy/logo.png\" />\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/actions/workflows/release.yml/badge.svg\" alt=\"Canary CI Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter/canary\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter/canary\" alt=\"@next-auth/typeorm-legacy-adapter Version\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\nYou can find more TypeORM information in the docs at [next-auth.js.org/adapters/typeorm/typeorm-overview](https://next-auth.js.org/adapters/typeorm/typeorm-overview).\n\n## Getting Started\n\n1. Install `next-auth` and `@next-auth/typeorm-legacy-adapter@canary`\n\n```js\nnpm install next-auth @next-auth/typeorm-legacy-adapter@canary\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport Providers from \"next-auth/providers\"\nimport Adapters from \"next-auth/adapters\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    Providers.Google({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapter: Adapters.TypeORM.Adapter(({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, sqlite, as well as MsSQL. Further configuration options are listed below.\n\n### sqlite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [mysql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mysql/schema.sql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [postgresql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/postgresql/schema.sql)\n\n### MsSQL\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [mssql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mssql/schema.sql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"89cbca03e225e45deb2d2d080b79e1956e23076c","private":false,"scripts":{"test":"yarn sqlite:memory && yarn postgres && yarn mysql","build":"tsc","mysql":"./tests/mysql/test.sh","postgres":"./tests/postgresql/test.sh","sqlite:memory":"jest tests/sqlite-memory.test.ts"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v16.8.0+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"16.8.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.7.1","mssql":"^7.2.1","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.37"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1 || 7","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.31","next-auth":">=4"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"sqlite3":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.2-pr.185-89cbca03.8_1630361474346_0.5348812819571114","host":"s3://npm-registry-packages"}},"0.1.2-pr.185-3bc87fcd.8":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.2-pr.185-3bc87fcd.8","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.2-pr.185-3bc87fcd.8","maintainers":[{"name":"balazsorban","email":"info@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"iaincollins","email":"me@iaincollins.com"}],"contributors":[{"name":"Balázs Orbán","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"ef520d8e33ed9d537a02b8412f02e4a3ed14da88","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.2-pr.185-3bc87fcd.8.tgz","fileCount":9,"integrity":"sha512-OJ1PXZDIaoDV85DPn7vnV9W+qcMf0VGokSMFtWcaO3EGiSfZMl64tXFnAacoshbQMEnrjfealhY/+xjxsTqe8A==","signatures":[{"sig":"MEUCICglTOGexZtH9iD0CvUFVvi+LHhh5Qa7+6pNrIQ1023TAiEA8OVrlX5TIMY5dKqVxn4o6RH8FJCqMjwsMvnY0LWpDvI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24840,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhLXZeCRA9TVsSAnZWagAA+jsP/RGcyoHZQWL9v8bRHV2k\noI5u9b0H24j8TXy/SukE110I7gnDJ+oz0YGdKpGn9NkmoQI5uWdkcxnv60Uy\ntJstIr4l11OzWye2skx/LMzatIRQrVfD9ukl8sJ0p/PE0FKlaKEy7cMEocRy\nQiGbrRRnuXCnWNEV/Rfb5oj6Ldbk9bEpr5/i5+lv5FMecoXxtF6u8Wk9zQWI\ngDrxoajQYmam8znQfp9YnJvbRGc5bu5VLZA9PWbirlL9Fwwf+I3VTz970ml+\nkyulatyeO6vmWNXDTTq+vvYE3SxcQEI4IY7fyi8oW50/lBeSnWGSgYPNsyR6\nZsCgpn25FQdmaqkF4R12hDzYeoNFy9HVJgROvJ/p7jzN6tHsiNlP/tYSHjJe\n7mvlmj9C8CEBa9SN7HSttnFsSWL0Pv5lGESHSVp7G92GQ4F1u/iP8Ih8331D\noeA2A3KgkJxi9waqKwhxJ/AIu1k/BY3EnN5AIAZ/esST7xSziyw3vsefosPb\nLHAS1RDxizbGlwbTBEHNFAGM2NSEzRlIplUEhaRX+69fKnUfJcbh1QARsi35\nhI0eAHbxu+1dWb2nMQUBiSiEUaLD+Rzeg2xH2Ab3Gp5+JB5g1HCvenC4yij6\nyhY4bhe/d92jzjWGU1F+bCumWMnRiRzRn4gQq+4hLehYnOf4qAAvvEUDXTS9\n2fy2\r\n=i89P\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n    <a href=\"https://next-auth.js.org\" target=\"_blank\"><img height=\"64px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" />&nbsp;&nbsp;&nbsp;&nbsp;</a><img height=\"64px\" src=\"https://raw.githubusercontent.com/nextauthjs/adapters/canary/packages/typeorm-legacy/logo.png\" />\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/actions/workflows/release.yml/badge.svg\" alt=\"Canary CI Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter/canary\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter/canary\" alt=\"@next-auth/typeorm-legacy-adapter Version\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\nYou can find more TypeORM information in the docs at [next-auth.js.org/adapters/typeorm/typeorm-overview](https://next-auth.js.org/adapters/typeorm/typeorm-overview).\n\n## Getting Started\n\n1. Install `next-auth` and `@next-auth/typeorm-legacy-adapter@canary`\n\n```js\nnpm install next-auth @next-auth/typeorm-legacy-adapter@canary\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport Providers from \"next-auth/providers\"\nimport Adapters from \"next-auth/adapters\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    Providers.Google({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapter: Adapters.TypeORM.Adapter(({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, sqlite, as well as MsSQL. Further configuration options are listed below.\n\n### sqlite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [mysql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mysql/schema.sql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [postgresql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/postgresql/schema.sql)\n\n### MsSQL\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [mssql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mssql/schema.sql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"3bc87fcd45ebd1fe2b1855ee0c7db45fafbd992e","private":false,"scripts":{"test":"yarn sqlite && yarn postgres && yarn mysql","build":"tsc","mysql":"tests/mysql/test.sh","sqlite":"jest tests/sqlite/index.test.ts","postgres":"tests/postgresql/test.sh"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v16.8.0+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"16.8.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.7.1","mssql":"^7.2.1","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.37"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1 || 7","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.31","next-auth":">=4"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"sqlite3":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.2-pr.185-3bc87fcd.8_1630369374344_0.6784188300358374","host":"s3://npm-registry-packages"}},"0.1.2-pr.185-413637cd.8":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.2-pr.185-413637cd.8","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.2-pr.185-413637cd.8","maintainers":[{"name":"balazsorban","email":"info@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"iaincollins","email":"me@iaincollins.com"}],"contributors":[{"name":"Balázs Orbán","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"62712d6b453561190319035e24faed5ca0d5eba0","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.2-pr.185-413637cd.8.tgz","fileCount":9,"integrity":"sha512-ypMoBwy2byVtccVgfwI0q3aHR1k9IYuww2uP2jSNmZFCfid9Mp2nizTzPGRNJYwmHDI/yz7ocJ/Q2XPi6Niadw==","signatures":[{"sig":"MEUCIQCAVVd3uOJKuJDaFKsj/LlmR2daBZdwc6o+o0cODX+gPQIgeMFvKiN83kwwiA0J6OPutFyaKdEC0IjV15bSTPnQmF4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26341,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhM7YiCRA9TVsSAnZWagAAhEIP/0Xf6HLX9Y8WWQeY4Ff0\neP+jxxTBKAeANKLeeGJ87kRKsWAyp/VSzNdmoxpNBwqg1+G+rnu3LLByYDuC\nA1s2WV8f9mpBVYObcrJm7ailzWHvw8FbbJxxqu0b+hUCTdYUw+AMyslA0N2l\nSnEk3tzsawK2LnkiJz9hIMT3Q+yLr20NubDZLGj7Q8jJTQ+VfXyuELvSvK2P\nyNNAXI36koLjvQ7DawkUEtyWb9nByKDAHJl0iJ9f5DsJ18tQdDZ8Mp/G3kZ0\nbM1zQwb1PKbS+RpOzgbDBdWA9RNU6JkoCOMRsMlmNdPXt/M3LoxEwb7LaQLk\nqdu9CfTirwkNeV4jT9/NGOylkO/s43c+qvtZX8OisJZ9GLDfyIXzCLI7hqpb\nXMuqr/o2YLjzQ3+ZefzBYtsOW4ZQwNYVkAo0E2xerk9XeBczwXKuYAftodvv\nmihSxjj1Gnsc7WrX3/ZVZdztBo+TW2VWSe1vbV4h/hRkJ4eFcplFnZSUuPgY\nwFhGvfJ91MPF9j/X7dlY9/tVyfId+9TTRlyudPO2Yp12QUtroUtNegKu0wME\n5eCeXDAAlZYlnb/4O4lA8tgY7Kgf9Hev8W0g9RPFsET/TacOT1hmOdc78Gcr\ndIoCilzjoWrxNsBj2UCNq9E1OZPQeFrMCxT7s1T7Nkf+3hvodH0MuEtkDe5S\nwVWc\r\n=4LNc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n    <a href=\"https://next-auth.js.org\" target=\"_blank\"><img height=\"64px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" />&nbsp;&nbsp;&nbsp;&nbsp;</a><img height=\"64px\" src=\"https://raw.githubusercontent.com/nextauthjs/adapters/canary/packages/typeorm-legacy/logo.png\" />\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/actions/workflows/release.yml/badge.svg\" alt=\"Canary CI Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter/canary\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter/canary\" alt=\"@next-auth/typeorm-legacy-adapter Version\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\nYou can find more TypeORM information in the docs at [next-auth.js.org/adapters/typeorm/typeorm-overview](https://next-auth.js.org/adapters/typeorm/typeorm-overview).\n\n## Getting Started\n\n1. Install `next-auth` and `@next-auth/typeorm-legacy-adapter@canary`\n\n```js\nnpm install next-auth @next-auth/typeorm-legacy-adapter@canary\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport Providers from \"next-auth/providers\"\nimport Adapters from \"next-auth/adapters\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    Providers.Google({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapter: Adapters.TypeORM.Adapter(({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, sqlite, as well as MsSQL. Further configuration options are listed below.\n\n### sqlite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [mysql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mysql/schema.sql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [postgresql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/postgresql/schema.sql)\n\n### MsSQL\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [mssql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mssql/schema.sql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"413637cd60cb4837934943ee8b8a4b3a6d01ab26","private":false,"scripts":{"test":"yarn sqlite && yarn postgres && yarn mysql","build":"tsc","mysql":"tests/mysql/test.sh","sqlite":"rm -f tests/sqlite/dev.db && jest tests/sqlite/index.test.ts","postgres":"tests/postgresql/test.sh"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v16.8.0+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"16.8.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.7.1","mssql":"^7.2.1","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.37"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1 || 7","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.31","next-auth":">=4"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"sqlite3":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.2-pr.185-413637cd.8_1630778914749_0.37988587976517163","host":"s3://npm-registry-packages"}},"0.1.2-pr.185-2611b58d.8":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.2-pr.185-2611b58d.8","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.2-pr.185-2611b58d.8","maintainers":[{"name":"balazsorban","email":"info@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"iaincollins","email":"me@iaincollins.com"}],"contributors":[{"name":"Balázs Orbán","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"436d27390185528c52c61266efc5b89830a488bf","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.2-pr.185-2611b58d.8.tgz","fileCount":9,"integrity":"sha512-fPRD0gg53bZ5Jkhbp6tTVU8dJwncPkEGqtzfo7FGWY9cLQdfkRBBJNn+g5o1jPb4QFs4wm7xU3OGkpR6YzNwDg==","signatures":[{"sig":"MEYCIQD/RXYe8Z59bzXstg0rKjmYjwUJbhN0V+UTiQ7UYiaTiAIhAPR1tdUyhsn2qcS7t9edW9vx4u03mWgzuh21RopTOkYV","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26332,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhNJVmCRA9TVsSAnZWagAAz18P/0brKPxSTXK/j9OIkb9B\nr2hqw/wNSpmMJE/xOVjwwvnNNIyOK1yrvSxPaMpqcf2xjtuPUR1UfB3klUZp\naiO+kua2nPQLgyTI4dDV+aPEuY4l/qY9U8n2YqeTN6SXVqti+stp+69ypYg6\nlPL34vp88AuGrUV3X9CyCRLo4fDtLm+mXE+5DxdBEgEYMm3V6tK40yWETeZ6\n8/219ky38xqMPW6nmEa7lMphGMvqLK0K8OvEGpMtxFy9hFpT1U2btQxJJCkw\n0p+FHAoncj/2xBtP1bqbWM0jNrDT8B3GVInBP5wJ+W9O0aHnyye3dQXCIsqA\nTEm3pzyImmTD8OXB/thqVk3HInKPWnwqNlOVSDFEfj1Vi2bi3rwPfgOVcPWf\nDFWqunh58VOB29hxUPeh4ezV2gXu1qVPneo3IYayTNewr1fPFYGuORZDzA81\ngixhCjcaQVpxEKM3BJgZ8FVtZXcCSiCNEIPPvftXU7waDv8A0RArqTw8/I+R\nYlYGnmsyF1kWaUqFNEH6+nQa4GPkzzrRZISTJRyycJqBwaz424pdDI5pKyT1\n8c7wF5FY7TH8W1USzh8htBgZTEs/+6X9fkmEUNSO67SeBhSbHOcfC6Q5pZ54\ny9eSs07Vz0JxKqwDANsucK0qdy5rQriom/4279Ub/8Sxsx3CyMQmsHtI14Wl\nA1dt\r\n=GQaM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n    <a href=\"https://next-auth.js.org\" target=\"_blank\"><img height=\"64px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" />&nbsp;&nbsp;&nbsp;&nbsp;</a><img height=\"64px\" src=\"https://raw.githubusercontent.com/nextauthjs/adapters/canary/packages/typeorm-legacy/logo.png\" />\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/actions/workflows/release.yml/badge.svg\" alt=\"Canary CI Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter/canary\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter/canary\" alt=\"@next-auth/typeorm-legacy-adapter Version\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\nYou can find more TypeORM information in the docs at [next-auth.js.org/adapters/typeorm/typeorm-overview](https://next-auth.js.org/adapters/typeorm/typeorm-overview).\n\n## Getting Started\n\n1. Install `next-auth` and `@next-auth/typeorm-legacy-adapter@canary`\n\n```js\nnpm install next-auth @next-auth/typeorm-legacy-adapter@canary\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport Providers from \"next-auth/providers\"\nimport Adapters from \"next-auth/adapters\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    Providers.Google({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapter: Adapters.TypeORM.Adapter(({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, sqlite, as well as MsSQL. Further configuration options are listed below.\n\n### sqlite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [mysql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mysql/schema.sql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [postgresql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/postgresql/schema.sql)\n\n### MsSQL\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [mssql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mssql/schema.sql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"2611b58d9fd51d432caeca70c8e58fb373ed37ab","private":false,"scripts":{"test":"yarn sqlite && yarn postgres && yarn mysql","build":"tsc","mysql":"tests/mysql/test.sh","sqlite":"rm -f tests/sqlite/dev.db && jest tests/sqlite/index.test.ts","postgres":"tests/postgresql/test.sh"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v16.8.0+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"16.8.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.7.1","mssql":"^7.2.1","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.37"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1 || 7","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.31","next-auth":">=4"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"sqlite3":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.2-pr.185-2611b58d.8_1630836070218_0.9111329678812834","host":"s3://npm-registry-packages"}},"0.1.2-pr.185-8bdab296.8":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.2-pr.185-8bdab296.8","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.2-pr.185-8bdab296.8","maintainers":[{"name":"balazsorban","email":"info@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"iaincollins","email":"me@iaincollins.com"}],"contributors":[{"name":"Balázs Orbán","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"9b3e9b0105a74448b92108a310f7c86dfc11a3a9","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.2-pr.185-8bdab296.8.tgz","fileCount":9,"integrity":"sha512-b+gjzhYjrzMunvTKVc23kAHNFRb0UzOHMMzbqRLxBXVFy2REzbsJ8uHhD86q79iIsbrbHoOEc5Xo4OvfaGV4wQ==","signatures":[{"sig":"MEQCIFcDQ8wX+BrZ0z2ykGhsl+wBQjfLmFKTsaG9LCrSqf4NAiAox5b8ooQbmo/E71MPYkrp8O/XEWKxw3f+C+SvlanYDw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26038,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhNJf3CRA9TVsSAnZWagAA+LwQAKRvxGIIrXLVqHHGDqPR\n7Pozh9nxGb+u9xuishR0Ja4zTXPuiZgHoOQf8TDgDbh+3cvbMDza47UOFnRH\nU8MdnL1moMTndrI2rGjVt5nxBtt2KjwOB79/59i1uuM8a3rbZbGDNU0X88Jg\nzBrGk4gzgoo1XH+69W5RrWa6vaQSPSrqcbtMlWXYDpn3i4dZm4ldL65/5y/g\nuGVHqOQZcGdiziXFdvI5jEMiD3pt34SVc9RlCSLIyUfS4L/T5350ca3cALP6\nNgCz2YYmOO8GeYD9akc1o2hRh0RA27qs0s7bwA92nSBhwbtbsFlVdFMMF/vF\nxPQXzsl4S5zGHldMBsf9GzDK2cLkHeCdmI8K59dCbpa05FUVJyrSAtnVddBN\nfhrBCBXP428REG2Q6CZxXO/J6yEK39Gqh8cMdxHzv/IlrPOzusx6nMO9A8FU\nsCgWGxrQSLR0GAygPSrAqBrDhDnRaChBYiNBck7+JmVOFpvVkEeiw9bgbz4U\nf0ixDVeE33Fy35PkfrUR/apRo1dm+HtKv9LVPQQapPNESpupkpEiC+cH/z9O\nx7g9Xnc1K7yzIAjKz/azHdHzjVzF+mJpYAhDcsaCCoxjmVXp6ZmmyG/U7/g9\n4EPSESY4jM72CesFnSUkqFUjdSIuqcmR2IZT78spZ7d0upWQuRZo1V3Miq93\nRGk/\r\n=NPjn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n    <a href=\"https://next-auth.js.org\" target=\"_blank\"><img height=\"64px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" />&nbsp;&nbsp;&nbsp;&nbsp;</a><img height=\"64px\" src=\"https://raw.githubusercontent.com/nextauthjs/adapters/canary/packages/typeorm-legacy/logo.png\" />\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/actions/workflows/release.yml/badge.svg\" alt=\"Canary CI Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter/canary\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter/canary\" alt=\"@next-auth/typeorm-legacy-adapter Version\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\nYou can find more TypeORM information in the docs at [next-auth.js.org/adapters/typeorm/typeorm-overview](https://next-auth.js.org/adapters/typeorm/typeorm-overview).\n\n## Getting Started\n\n1. Install `next-auth` and `@next-auth/typeorm-legacy-adapter@canary`\n\n```js\nnpm install next-auth @next-auth/typeorm-legacy-adapter@canary\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport Providers from \"next-auth/providers\"\nimport Adapters from \"next-auth/adapters\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    Providers.Google({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapter: Adapters.TypeORM.Adapter(({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, sqlite, as well as MsSQL. Further configuration options are listed below.\n\n### sqlite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [mysql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mysql/schema.sql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [postgresql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/postgresql/schema.sql)\n\n### MsSQL\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [mssql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mssql/schema.sql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"8bdab296f389d2083ceb98f6d1c4abad51ba9350","private":false,"scripts":{"test":"yarn sqlite && yarn postgres && yarn mysql","build":"tsc","mysql":"tests/mysql/test.sh","sqlite":"rm -f tests/sqlite/dev.db && jest tests/sqlite/index.test.ts","postgres":"tests/postgresql/test.sh"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v16.8.0+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"16.8.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.7.1","mssql":"^7.2.1","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.37"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1 || 7","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.31","next-auth":">=4"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"sqlite3":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.2-pr.185-8bdab296.8_1630836727311_0.5026154927584765","host":"s3://npm-registry-packages"}},"0.1.2-next.8":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.2-next.8","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.2-next.8","maintainers":[{"name":"balazsorban","email":"info@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"iaincollins","email":"me@iaincollins.com"}],"contributors":[{"name":"Balázs Orbán","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"f7c019dfd9b4cd2d4e68177c04594c5561e96387","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.2-next.8.tgz","fileCount":9,"integrity":"sha512-IBVIjLIomwh257yQG3+RMctdbMHYdp5KtqnrroJO9eSdC/J20VcKgGAC8PojX3/Gt3A2F7H6cW1MeTf3RIGH9g==","signatures":[{"sig":"MEYCIQCjiYoAjmvy7LEEGoPAb28Ie034VLjSx2DhK8LRSaoR2wIhAIIb3fLgXbcNtSV+toPkSLS7GWEgjupx2KM8XqPqVF44","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26027,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhNKKvCRA9TVsSAnZWagAAit4P/i7pEfhn0jazwDYHfVj4\niHaExLj3II4txk8nq3y2rUb0llxrGIUdS1MY4WFCfTzyTb/EedsCVVvF+pOQ\nXs8qtSMLvqq8J24wiveGbSnpkmVy71sShYVQgQQnOjx12bUksYnt7hBLNubl\n6arVXJvxINopzfDUk5/6yyjRzJsp2yiA4gNpgtcjYux9EPtPxJWEL0d7iJs6\ndjlGpD3WKlysxneOQda/ZTu9QR15D2OGH1kCfqKGXd8QX96D5Y5TEQeHZyps\nbfpX2Bq4Wo7O0jtmysx9DlpaLXjnGNu9MYLP+XxcopxXfOwegjCi+YH6K9JK\nh4CT1es/rGSdf94CBHafHydCDY5w+kznvVPde2KxPHs1GnLR3x4aVXKGQUH6\nuWf1CwqqXYZIpLWzFeVpogaorhmLubMOLxOfkUtiVikVym0vcRG7f2wBZ9j5\nXL5sjIMgmPiEe3AWS21RrsR1/mjLWHfbK5BKyBc1SzdkbCJulFzz+2fam4WR\nLrIhUU8V5GjG60/Cxe4BH1faOfxVl0CKVUipzstKNia24l+Riut5lRft8GL0\nJX/s/73c0bS7C+zk4a/4SGswZas3xBcDxfwxXczuvssrwju3aK95I7MvECot\naik9YLWcz77ZPWhEdEiwuurd/3I56Hxn4p5MT9UwIuClB3deC28IafO3NwPw\n7ogz\r\n=cC4r\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n    <a href=\"https://next-auth.js.org\" target=\"_blank\"><img height=\"64px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" />&nbsp;&nbsp;&nbsp;&nbsp;</a><img height=\"64px\" src=\"https://raw.githubusercontent.com/nextauthjs/adapters/canary/packages/typeorm-legacy/logo.png\" />\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/actions/workflows/release.yml/badge.svg\" alt=\"Canary CI Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter/canary\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter/canary\" alt=\"@next-auth/typeorm-legacy-adapter Version\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\nYou can find more TypeORM information in the docs at [next-auth.js.org/adapters/typeorm/typeorm-overview](https://next-auth.js.org/adapters/typeorm/typeorm-overview).\n\n## Getting Started\n\n1. Install `next-auth` and `@next-auth/typeorm-legacy-adapter@canary`\n\n```js\nnpm install next-auth @next-auth/typeorm-legacy-adapter@canary\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport Providers from \"next-auth/providers\"\nimport Adapters from \"next-auth/adapters\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    Providers.Google({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapter: Adapters.TypeORM.Adapter(({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, sqlite, as well as MsSQL. Further configuration options are listed below.\n\n### sqlite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [mysql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mysql/schema.sql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [postgresql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/postgresql/schema.sql)\n\n### MsSQL\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [mssql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mssql/schema.sql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"767399829390c0b2387e2190372470df62add213","private":false,"scripts":{"test":"yarn sqlite && yarn postgres && yarn mysql","build":"tsc","mysql":"tests/mysql/test.sh","sqlite":"rm -f tests/sqlite/dev.db && jest tests/sqlite/index.test.ts","postgres":"tests/postgresql/test.sh"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v16.8.0+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"16.8.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.7.1","mssql":"^7.2.1","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.37"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1 || 7","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.31","next-auth":">=4"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"sqlite3":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.2-next.8_1630839471224_0.029904391739977054","host":"s3://npm-registry-packages"}},"0.1.2-next.11":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.2-next.11","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.2-next.11","maintainers":[{"name":"balazsorban","email":"info@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"iaincollins","email":"me@iaincollins.com"}],"contributors":[{"name":"Balázs Orbán","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"69282489bc3195107b84e7193c25c8f71f263072","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.2-next.11.tgz","fileCount":9,"integrity":"sha512-gWaBsZhARKU6Obyn0roDzngx90t31vVJaG/9Ii27877MO3798RG14plof8eY4eIqAeRhAI9qgbvbWQeuyjFOqg==","signatures":[{"sig":"MEYCIQCmQqGMJV4ZKV1KXVwLWTe3ucwd54g5Vr9EMhvItzS0HwIhANLH2bbq2m3J8MgB/h1HQYTjlYvfolbHZpktLtM26RPn","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27575},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n    <a href=\"https://next-auth.js.org\" target=\"_blank\"><img height=\"64px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" />&nbsp;&nbsp;&nbsp;&nbsp;</a><img height=\"64px\" src=\"https://raw.githubusercontent.com/nextauthjs/adapters/canary/packages/typeorm-legacy/logo.png\" />\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/actions/workflows/release.yml/badge.svg\" alt=\"Canary CI Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter/canary\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter/canary\" alt=\"@next-auth/typeorm-legacy-adapter Version\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\nYou can find more TypeORM information in the docs at [next-auth.js.org/adapters/typeorm/typeorm-overview](https://next-auth.js.org/adapters/typeorm/typeorm-overview).\n\n## Getting Started\n\n1. Install `next-auth` and `@next-auth/typeorm-legacy-adapter@canary`\n\n```js\nnpm install next-auth @next-auth/typeorm-legacy-adapter@canary\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport Providers from \"next-auth/providers\"\nimport Adapters from \"next-auth/adapters\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    Providers.Google({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapter: Adapters.TypeORM.Adapter(({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, sqlite, as well as MsSQL. Further configuration options are listed below.\n\n### sqlite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [mysql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mysql/schema.sql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [postgresql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/postgresql/schema.sql)\n\n### MsSQL\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [mssql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mssql/schema.sql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"c941f5a0c8cb0a1187f2e272d134a4d0d25df667","private":false,"scripts":{"test":"yarn sqlite && yarn postgres && yarn mysql","build":"tsc","mysql":"tests/mysql/test.sh","sqlite":"rm -f tests/sqlite/dev.db && jest tests/sqlite/index.test.ts","postgres":"tests/postgresql/test.sh"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v16.9.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"16.9.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.7.1","mssql":"^7.2.1","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.37"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1 || 7","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.31","next-auth":">=4"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"sqlite3":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.2-next.11_1632002470541_0.048124091130683055","host":"s3://npm-registry-packages"}},"0.1.2-pr.239-5d75e44b.12":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.2-pr.239-5d75e44b.12","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.2-pr.239-5d75e44b.12","maintainers":[{"name":"balazsorban","email":"info@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"iaincollins","email":"me@iaincollins.com"}],"contributors":[{"name":"Balázs Orbán","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"06379a1685324e4aac41657d2eeba205ce63e8d2","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.2-pr.239-5d75e44b.12.tgz","fileCount":9,"integrity":"sha512-PfUZJh+cspghAOZhNrAaV4OKarkv8XuZX1mH7m16wRPM7FLAyBw2BMkGeXYCUVzZ6DmG5tvZ96O2kB+BtdjkWQ==","signatures":[{"sig":"MEUCIHohqEtAwOB6LbgKT3oOcsj2HQU95t2cZQJINJaRdEcWAiEAv8zdqDYIyYernY2MPtCmQ0hrwTCvCSvXyiwxK1yXEyM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27546},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n    <a href=\"https://next-auth.js.org\" target=\"_blank\"><img height=\"64px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" />&nbsp;&nbsp;&nbsp;&nbsp;</a><img height=\"64px\" src=\"https://raw.githubusercontent.com/nextauthjs/adapters/canary/packages/typeorm-legacy/logo.png\" />\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/actions/workflows/release.yml/badge.svg\" alt=\"Canary CI Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter/canary\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter/canary\" alt=\"@next-auth/typeorm-legacy-adapter Version\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\nYou can find more TypeORM information in the docs at [next-auth.js.org/adapters/typeorm/typeorm-overview](https://next-auth.js.org/adapters/typeorm/typeorm-overview).\n\n## Getting Started\n\n1. Install `next-auth` and `@next-auth/typeorm-legacy-adapter@canary`\n\n```js\nnpm install next-auth @next-auth/typeorm-legacy-adapter@canary\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport Providers from \"next-auth/providers\"\nimport Adapters from \"next-auth/adapters\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    Providers.Google({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapter: Adapters.TypeORM.Adapter(({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, sqlite, as well as MsSQL. Further configuration options are listed below.\n\n### sqlite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [mysql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mysql/schema.sql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [postgresql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/postgresql/schema.sql)\n\n### MsSQL\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [mssql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mssql/schema.sql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"5d75e44b0d2c2de87ca8d401d012fcbddedb256f","private":false,"scripts":{"test":"yarn sqlite && yarn postgres && yarn mysql","build":"tsc","mysql":"tests/mysql/test.sh","sqlite":"tests/sqlite/test.sh","postgres":"tests/postgresql/test.sh"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v16.9.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"16.9.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.7.1","mssql":"^7.2.1","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.37"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1 || 7","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.31","next-auth":">=4"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"sqlite3":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.2-pr.239-5d75e44b.12_1632065596511_0.8896147849409599","host":"s3://npm-registry-packages"}},"0.1.2-pr.239-8a7cd34c.12":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.2-pr.239-8a7cd34c.12","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.2-pr.239-8a7cd34c.12","maintainers":[{"name":"balazsorban","email":"info@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"iaincollins","email":"me@iaincollins.com"}],"contributors":[{"name":"Balázs Orbán","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"c1570cdce8405d08bdb3538922829e48c4cd4bb2","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.2-pr.239-8a7cd34c.12.tgz","fileCount":9,"integrity":"sha512-n+op41B/zX+WPagEVlYws8KBYmlA5cHEAQ+IBi92w5XdV/FWEmIIylhSDj/muPzjiQ7GJjDuEw+KjA3fvttkwA==","signatures":[{"sig":"MEYCIQCIrXxha8J4RNMopERNwk08JhixXLu2Pqx9Yd3XgtsnEQIhAP9wNfXCaFODVImTP1tew5e4lAHKOP2ZjjFdUB0SzV7H","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27546},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n    <a href=\"https://next-auth.js.org\" target=\"_blank\"><img height=\"64px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" />&nbsp;&nbsp;&nbsp;&nbsp;</a><img height=\"64px\" src=\"https://raw.githubusercontent.com/nextauthjs/adapters/canary/packages/typeorm-legacy/logo.png\" />\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/actions/workflows/release.yml/badge.svg\" alt=\"Canary CI Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter/canary\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter/canary\" alt=\"@next-auth/typeorm-legacy-adapter Version\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\nYou can find more TypeORM information in the docs at [next-auth.js.org/adapters/typeorm/typeorm-overview](https://next-auth.js.org/adapters/typeorm/typeorm-overview).\n\n## Getting Started\n\n1. Install `next-auth` and `@next-auth/typeorm-legacy-adapter@canary`\n\n```js\nnpm install next-auth @next-auth/typeorm-legacy-adapter@canary\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport Providers from \"next-auth/providers\"\nimport Adapters from \"next-auth/adapters\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    Providers.Google({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapter: Adapters.TypeORM.Adapter(({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, sqlite, as well as MsSQL. Further configuration options are listed below.\n\n### sqlite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [mysql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mysql/schema.sql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [postgresql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/postgresql/schema.sql)\n\n### MsSQL\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [mssql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mssql/schema.sql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"8a7cd34c6d639955d519d890371e496a2078db26","private":false,"scripts":{"test":"yarn sqlite && yarn postgres && yarn mysql","build":"tsc","mysql":"tests/mysql/test.sh","sqlite":"tests/sqlite/test.sh","postgres":"tests/postgresql/test.sh"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v16.9.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"16.9.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.7.1","mssql":"^7.2.1","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.37"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1 || 7","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.31","next-auth":">=4"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"sqlite3":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.2-pr.239-8a7cd34c.12_1632065990346_0.3744819003063369","host":"s3://npm-registry-packages"}},"0.1.2-pr.239-322b877d.12":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.2-pr.239-322b877d.12","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.2-pr.239-322b877d.12","maintainers":[{"name":"balazsorban","email":"info@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"iaincollins","email":"me@iaincollins.com"}],"contributors":[{"name":"Balázs Orbán","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"3d2e101d30c475b812f944bfcb0048527cbb3bd6","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.2-pr.239-322b877d.12.tgz","fileCount":9,"integrity":"sha512-u3pDjzTIDrjYGn5k9PPUo6pcShIk2tz4hC3H3MzEBV8H/cNL1HIXTwZfuiKEFfRZPhm5uhZ9NNArXwcQ5OtfVA==","signatures":[{"sig":"MEYCIQCOncTj90VYCSxuRzRbPHVGwLttcGRZc2KrBswgJtAC/AIhAOLPBPs/ZwSKejUP8LuD0COu61HvVigbu7jiKXcw5QNn","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27546},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n    <a href=\"https://next-auth.js.org\" target=\"_blank\"><img height=\"64px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" />&nbsp;&nbsp;&nbsp;&nbsp;</a><img height=\"64px\" src=\"https://raw.githubusercontent.com/nextauthjs/adapters/canary/packages/typeorm-legacy/logo.png\" />\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/actions/workflows/release.yml/badge.svg\" alt=\"Canary CI Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter/canary\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter/canary\" alt=\"@next-auth/typeorm-legacy-adapter Version\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\nYou can find more TypeORM information in the docs at [next-auth.js.org/adapters/typeorm/typeorm-overview](https://next-auth.js.org/adapters/typeorm/typeorm-overview).\n\n## Getting Started\n\n1. Install `next-auth` and `@next-auth/typeorm-legacy-adapter@canary`\n\n```js\nnpm install next-auth @next-auth/typeorm-legacy-adapter@canary\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport Providers from \"next-auth/providers\"\nimport Adapters from \"next-auth/adapters\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    Providers.Google({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapter: Adapters.TypeORM.Adapter(({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, sqlite, as well as MsSQL. Further configuration options are listed below.\n\n### sqlite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [mysql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mysql/schema.sql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [postgresql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/postgresql/schema.sql)\n\n### MsSQL\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [mssql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mssql/schema.sql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"322b877dd36d0f5cd36f495a42b60852a29c7ca5","private":false,"scripts":{"test":"yarn sqlite && yarn postgres && yarn mysql","build":"tsc","mysql":"tests/mysql/test.sh","sqlite":"tests/sqlite/test.sh","postgres":"tests/postgresql/test.sh"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v16.9.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"16.9.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.7.1","mssql":"^7.2.1","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.37"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1 || 7","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.31","next-auth":">=4"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"sqlite3":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.2-pr.239-322b877d.12_1632066130847_0.23937872094827983","host":"s3://npm-registry-packages"}},"0.1.2-pr.239-06daecda.12":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.2-pr.239-06daecda.12","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.2-pr.239-06daecda.12","maintainers":[{"name":"balazsorban","email":"info@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"iaincollins","email":"me@iaincollins.com"}],"contributors":[{"name":"Balázs Orbán","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"8eaef89d0c75370301a65102132e23969a412b8f","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.2-pr.239-06daecda.12.tgz","fileCount":9,"integrity":"sha512-eH0AB8tRULhNRaFS3Z/mE2gP5TSvHHe4ZSddhSRC/0FWIcABOhTJCoIwWw8f4tA9csnDjf3Znj9Zoy0hK9A1jg==","signatures":[{"sig":"MEYCIQC45FCFdTQVlq+leO0mC3bPJzSU9Zkl41R+DznCXUCihgIhANp6nqTVCpS2EV4npHukV86QXETBZxcbmLZuEiTgQeci","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27546},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n    <a href=\"https://next-auth.js.org\" target=\"_blank\"><img height=\"64px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" />&nbsp;&nbsp;&nbsp;&nbsp;</a><img height=\"64px\" src=\"https://raw.githubusercontent.com/nextauthjs/adapters/canary/packages/typeorm-legacy/logo.png\" />\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/actions/workflows/release.yml/badge.svg\" alt=\"Canary CI Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter/canary\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter/canary\" alt=\"@next-auth/typeorm-legacy-adapter Version\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\nYou can find more TypeORM information in the docs at [next-auth.js.org/adapters/typeorm/typeorm-overview](https://next-auth.js.org/adapters/typeorm/typeorm-overview).\n\n## Getting Started\n\n1. Install `next-auth` and `@next-auth/typeorm-legacy-adapter@canary`\n\n```js\nnpm install next-auth @next-auth/typeorm-legacy-adapter@canary\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport Providers from \"next-auth/providers\"\nimport Adapters from \"next-auth/adapters\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    Providers.Google({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapter: Adapters.TypeORM.Adapter(({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, sqlite, as well as MsSQL. Further configuration options are listed below.\n\n### sqlite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [mysql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mysql/schema.sql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [postgresql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/postgresql/schema.sql)\n\n### MsSQL\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [mssql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mssql/schema.sql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"06daecdaaa2ae0c8a06588c174969218bc6d1f1a","private":false,"scripts":{"test":"yarn sqlite && yarn postgres && yarn mysql","build":"tsc","mysql":"tests/mysql/test.sh","sqlite":"tests/sqlite/test.sh","postgres":"tests/postgresql/test.sh"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v16.9.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"16.9.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.7.1","mssql":"^7.2.1","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.37"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1 || 7","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.31","next-auth":">=4"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"sqlite3":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.2-pr.239-06daecda.12_1632066242501_0.42543980404767945","host":"s3://npm-registry-packages"}},"0.1.2-pr.239-fc2203e4.12":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.2-pr.239-fc2203e4.12","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.2-pr.239-fc2203e4.12","maintainers":[{"name":"balazsorban","email":"info@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"iaincollins","email":"me@iaincollins.com"}],"contributors":[{"name":"Balázs Orbán","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"91ba2aa1156f0771017c38437919a7d36fef2cff","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.2-pr.239-fc2203e4.12.tgz","fileCount":9,"integrity":"sha512-qKWaju2wb4QEhhzzdU4vsVr0tC/UQnDQTU33CEacCeTqupG8d4iLwuodpaFiF5yzzwpcS3gc3k+tq66iM3gnFA==","signatures":[{"sig":"MEQCIFeq0t7Ev1I6iQjJ00xl36a7oOaALZrKfVj/EwDeRYjkAiBvfLp7T22nXCqqQWk4rhLDxmWgFFiI5NyKOneiV1eezg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27621},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n    <a href=\"https://next-auth.js.org\" target=\"_blank\"><img height=\"64px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" />&nbsp;&nbsp;&nbsp;&nbsp;</a><img height=\"64px\" src=\"https://raw.githubusercontent.com/nextauthjs/adapters/canary/packages/typeorm-legacy/logo.png\" />\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/actions/workflows/release.yml/badge.svg\" alt=\"Canary CI Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter/canary\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter/canary\" alt=\"@next-auth/typeorm-legacy-adapter Version\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\nYou can find more TypeORM information in the docs at [next-auth.js.org/adapters/typeorm/typeorm-overview](https://next-auth.js.org/adapters/typeorm/typeorm-overview).\n\n## Getting Started\n\n1. Install `next-auth` and `@next-auth/typeorm-legacy-adapter@canary`\n\n```js\nnpm install next-auth @next-auth/typeorm-legacy-adapter@canary\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport Providers from \"next-auth/providers\"\nimport Adapters from \"next-auth/adapters\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    Providers.Google({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapter: Adapters.TypeORM.Adapter(({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, sqlite, as well as MsSQL. Further configuration options are listed below.\n\n### sqlite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [mysql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mysql/schema.sql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [postgresql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/postgresql/schema.sql)\n\n### MsSQL\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [mssql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mssql/schema.sql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"fc2203e44d5a759fdfa4edda5a1bceead22c91d7","private":false,"scripts":{"test":"tests/test.sh","build":"tsc","mysql":"yarn init:db && tests/mysql/test.sh","sqlite":"tests/sqlite/test.sh","init:db":"tests/init.sh","postgres":"yarn init:db && tests/postgresql/test.sh","test:containers":"tests/test.sh"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v16.9.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"16.9.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.7.1","mssql":"^7.2.1","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.37"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1 || 7","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.31","next-auth":">=4"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"sqlite3":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.2-pr.239-fc2203e4.12_1632089798260_0.5562218489940896","host":"s3://npm-registry-packages"}},"0.1.2-pr.239-e9061a11.12":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.2-pr.239-e9061a11.12","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.2-pr.239-e9061a11.12","maintainers":[{"name":"balazsorban","email":"info@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"iaincollins","email":"me@iaincollins.com"}],"contributors":[{"name":"Balázs Orbán","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"f87424d8c5f61944952329e26b9aec18c9cd7bf8","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.2-pr.239-e9061a11.12.tgz","fileCount":9,"integrity":"sha512-i5SF7+jDvPILMR3JtTOanBHRhLVVVhPbWqn+9+JOI+Y6nJfVxtWdRJc6Y6C77ItVZlJm5kDRAr7w3OdEETvYkw==","signatures":[{"sig":"MEUCIQCouwL18tx+ZWjY2/MjNKdKnsYsy9Lic35rfmcp5m8wzAIgDNJfG+EXotq9RC41+AuwWIyCKeB1d01lWIatNfSy2h8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27621},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n    <a href=\"https://next-auth.js.org\" target=\"_blank\"><img height=\"64px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" />&nbsp;&nbsp;&nbsp;&nbsp;</a><img height=\"64px\" src=\"https://raw.githubusercontent.com/nextauthjs/adapters/canary/packages/typeorm-legacy/logo.png\" />\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/actions/workflows/release.yml/badge.svg\" alt=\"Canary CI Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter/canary\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter/canary\" alt=\"@next-auth/typeorm-legacy-adapter Version\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\nYou can find more TypeORM information in the docs at [next-auth.js.org/adapters/typeorm/typeorm-overview](https://next-auth.js.org/adapters/typeorm/typeorm-overview).\n\n## Getting Started\n\n1. Install `next-auth` and `@next-auth/typeorm-legacy-adapter@canary`\n\n```js\nnpm install next-auth @next-auth/typeorm-legacy-adapter@canary\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport Providers from \"next-auth/providers\"\nimport Adapters from \"next-auth/adapters\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    Providers.Google({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapter: Adapters.TypeORM.Adapter(({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, sqlite, as well as MsSQL. Further configuration options are listed below.\n\n### sqlite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [mysql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mysql/schema.sql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [postgresql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/postgresql/schema.sql)\n\n### MsSQL\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [mssql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mssql/schema.sql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"e9061a11434bd63b811b63aed7753be6eac0fea8","private":false,"scripts":{"test":"tests/test.sh","build":"tsc","mysql":"yarn init:db && tests/mysql/test.sh","sqlite":"tests/sqlite/test.sh","init:db":"tests/init.sh","postgres":"yarn init:db && tests/postgresql/test.sh","test:containers":"tests/test.sh"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v16.9.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"16.9.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.7.1","mssql":"^7.2.1","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.37"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1 || 7","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.31","next-auth":">=4"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"sqlite3":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.2-pr.239-e9061a11.12_1632089900217_0.45991326015566303","host":"s3://npm-registry-packages"}},"0.1.2-next.12":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.2-next.12","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.2-next.12","maintainers":[{"name":"balazsorban","email":"info@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"iaincollins","email":"me@iaincollins.com"}],"contributors":[{"name":"Balázs Orbán","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"b0f57709527ed02ce68c730263bd2a5045b2d42e","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.2-next.12.tgz","fileCount":9,"integrity":"sha512-3R7fMEYHK0LYjXNWppmks6UFp05LuF5dwmcHA4hf+Lo9gLg6Lr1lsvE130Z8Akxfco1qjzl4cj6JH/IxOP4hKA==","signatures":[{"sig":"MEUCICJD/LC/D5Qwqu8xAGxfT0+J7rTXfsnRbLWdLKqTPVxvAiEAkhWXiqty+Cy035zfWqVYpWnI/e3W1hhvJ72rFtqS+kE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27610},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n    <a href=\"https://next-auth.js.org\" target=\"_blank\"><img height=\"64px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" />&nbsp;&nbsp;&nbsp;&nbsp;</a><img height=\"64px\" src=\"https://raw.githubusercontent.com/nextauthjs/adapters/canary/packages/typeorm-legacy/logo.png\" />\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/actions/workflows/release.yml/badge.svg\" alt=\"Canary CI Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter/canary\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter/canary\" alt=\"@next-auth/typeorm-legacy-adapter Version\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\nYou can find more TypeORM information in the docs at [next-auth.js.org/adapters/typeorm/typeorm-overview](https://next-auth.js.org/adapters/typeorm/typeorm-overview).\n\n## Getting Started\n\n1. Install `next-auth` and `@next-auth/typeorm-legacy-adapter@canary`\n\n```js\nnpm install next-auth @next-auth/typeorm-legacy-adapter@canary\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport Providers from \"next-auth/providers\"\nimport Adapters from \"next-auth/adapters\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    Providers.Google({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapter: Adapters.TypeORM.Adapter(({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, sqlite, as well as MsSQL. Further configuration options are listed below.\n\n### sqlite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [mysql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mysql/schema.sql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [postgresql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/postgresql/schema.sql)\n\n### MsSQL\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [mssql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mssql/schema.sql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"4d8d89641c22d1009e3cdf81f07e9fc827325684","private":false,"scripts":{"test":"tests/test.sh","build":"tsc","mysql":"yarn init:db && tests/mysql/test.sh","sqlite":"tests/sqlite/test.sh","init:db":"tests/init.sh","postgres":"yarn init:db && tests/postgresql/test.sh","test:containers":"tests/test.sh"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v16.9.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"16.9.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.7.1","mssql":"^7.2.1","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.37"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1 || 7","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.31","next-auth":">=4"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"sqlite3":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.2-next.12_1632090024444_0.8515848275773981","host":"s3://npm-registry-packages"}},"0.1.2-pr.243-dde8efe9.13":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.2-pr.243-dde8efe9.13","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.2-pr.243-dde8efe9.13","maintainers":[{"name":"balazsorban","email":"info@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"iaincollins","email":"me@iaincollins.com"}],"contributors":[{"name":"Balázs Orbán","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"60fdf821e5034fd1c919c9d7766ac73ded23e96d","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.2-pr.243-dde8efe9.13.tgz","fileCount":9,"integrity":"sha512-Hume4xMXSwSqAU3r3NtyhZmSzkLv0f+G21phCm31NF1C+P+pbVxnTTn8hClw9t9GE03iYXeFuWyglzuLezbsLw==","signatures":[{"sig":"MEUCIQDpoySKY1BMIYp2m1ixJjv0CyiEI8TNIia+r2E1hcQ24QIgQM8nb5jMBk+4VTA46SXhfVm3LZHRdcXaXZu8W35H01w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27817},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n    <a href=\"https://next-auth.js.org\" target=\"_blank\"><img height=\"64px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" />&nbsp;&nbsp;&nbsp;&nbsp;</a><img height=\"64px\" src=\"https://raw.githubusercontent.com/nextauthjs/adapters/canary/packages/typeorm-legacy/logo.png\" />\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/actions/workflows/release.yml/badge.svg\" alt=\"Canary CI Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter/next\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter/next\" alt=\"@next-auth/typeorm-legacy-adapter Version\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\nYou can find more TypeORM information in the docs at [next-auth.js.org/adapters/typeorm](https://next-auth.js.org/adapters/typeorm).\n\n## Getting Started\n\n1. Install `typorm`, `next-auth@beta` and `@next-auth/typeorm-legacy-adapter@next`\n\n```js\nnpm install next-auth@beta @next-auth/typeorm-legacy-adapter@next typeorm\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport GoogleProvider from \"next-auth/providers/google\"\nimport { TypeORMLegacyAdapter } from \"@next-auth/typeorm-legacy-adapter\"\n\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    GoogleProvider({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapter: TypeORMLegacyAdapter(({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, SQLite, as well as MSSQL. Further configuration options are listed below.\n\n> If you're looking for MongoDB support, it's been pulled out into its own adapter [@next-auth/mongodb-adapter](https://next-auth.js.org/adapters/mongodb).\n\n### SQLite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [mysql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mysql/schema.sql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [postgresql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/postgresql/schema.sql)\n\n### Microsoft SQL Server\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [mssql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mssql/schema.sql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"dde8efe9023217c5304ea4675bfe7d56fe76a74a","private":false,"scripts":{"test":"tests/test.sh","build":"tsc","mysql":"yarn init:db && tests/mysql/test.sh","sqlite":"tests/sqlite/test.sh","init:db":"tests/init.sh","postgres":"yarn init:db && tests/postgresql/test.sh","test:containers":"tests/test.sh"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v16.9.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"16.9.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.7.1","mssql":"^7.2.1","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.37"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1 || 7","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.31","next-auth":">=4"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"sqlite3":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.2-pr.243-dde8efe9.13_1632091143589_0.2643531555991703","host":"s3://npm-registry-packages"}},"0.1.2-pr.243-f872af4f.13":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.2-pr.243-f872af4f.13","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.2-pr.243-f872af4f.13","maintainers":[{"name":"balazsorban","email":"info@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"iaincollins","email":"me@iaincollins.com"}],"contributors":[{"name":"Balázs Orbán","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"f701d410fd79f674dd1cc139590548bbe7666918","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.2-pr.243-f872af4f.13.tgz","fileCount":9,"integrity":"sha512-Ac2o2v0eYO4BZxmpy4ZSjXv8xna7r9WtrAikUc7wYNOkuVB4BBzduLMWCGDMcG6rTrV7nY2QBA32IDLCqMI2lg==","signatures":[{"sig":"MEUCIQCSrcuKiEJ3j+CVZhBxlM9YJFvfJPbSd1DGamY4CoeewAIgUBMozW6gGRzWFUsE3+BrCnYbqEtQPsN8JIbciEzs+SY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27817},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n    <a href=\"https://next-auth.js.org\" target=\"_blank\"><img height=\"64px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" />&nbsp;&nbsp;&nbsp;&nbsp;</a><img height=\"64px\" src=\"https://raw.githubusercontent.com/nextauthjs/adapters/canary/packages/typeorm-legacy/logo.png\" />\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/actions/workflows/release.yml/badge.svg\" alt=\"Canary CI Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter/next\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter/next\" alt=\"@next-auth/typeorm-legacy-adapter Version\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\nYou can find more TypeORM information in the docs at [next-auth.js.org/adapters/typeorm](https://next-auth.js.org/adapters/typeorm).\n\n## Getting Started\n\n1. Install `typeorm`, `next-auth@beta` and `@next-auth/typeorm-legacy-adapter@next`\n\n```js\nnpm install next-auth@beta @next-auth/typeorm-legacy-adapter@next typeorm\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport GoogleProvider from \"next-auth/providers/google\"\nimport { TypeORMLegacyAdapter } from \"@next-auth/typeorm-legacy-adapter\"\n\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [\n    GoogleProvider({\n      clientId: process.env.GOOGLE_ID,\n      clientSecret: process.env.GOOGLE_SECRET,\n    }),\n  ],\n  adapter: TypeORMLegacyAdapter({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, SQLite, as well as MSSQL. Further configuration options are listed below.\n\n> If you're looking for MongoDB support, it's been pulled out into its own adapter [@next-auth/mongodb-adapter](https://next-auth.js.org/adapters/mongodb).\n\n### SQLite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [mysql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mysql/schema.sql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [postgresql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/postgresql/schema.sql)\n\n### Microsoft SQL Server\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [mssql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mssql/schema.sql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"f872af4fef24effbd457e9b33b2c87415005460a","private":false,"scripts":{"test":"tests/test.sh","build":"tsc","mysql":"yarn init:db && tests/mysql/test.sh","sqlite":"tests/sqlite/test.sh","init:db":"tests/init.sh","postgres":"yarn init:db && tests/postgresql/test.sh","test:containers":"tests/test.sh"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v16.9.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"16.9.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.7.1","mssql":"^7.2.1","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.37"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1 || 7","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.31","next-auth":">=4"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"sqlite3":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.2-pr.243-f872af4f.13_1632091196383_0.19762676924572764","host":"s3://npm-registry-packages"}},"0.1.2-pr.243-1ea7c527.13":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.2-pr.243-1ea7c527.13","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.2-pr.243-1ea7c527.13","maintainers":[{"name":"balazsorban","email":"info@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"iaincollins","email":"me@iaincollins.com"}],"contributors":[{"name":"Balázs Orbán","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"fbef4582261c9480e47c21f225cb30b33787494d","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.2-pr.243-1ea7c527.13.tgz","fileCount":9,"integrity":"sha512-/FOQwcaJikxQGGGtZHuwbKYBoX6PygS70+wkKUvtIZce3qLBywDf1G+eEMfq+V4I8JHG3spSZ6C9f6Si6Z/TSA==","signatures":[{"sig":"MEYCIQCl3HXbIbyPLKxghBCCZno5G8NwUJFwbM0XREJkwwNYmgIhAPUnogkr5kILeHQTuCtsTN5fwGO9TzQYLBNpUaml5zrn","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27642},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n    <a href=\"https://next-auth.js.org\" target=\"_blank\"><img height=\"64px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" />&nbsp;&nbsp;&nbsp;&nbsp;</a><img height=\"64px\" src=\"https://raw.githubusercontent.com/nextauthjs/adapters/canary/packages/typeorm-legacy/logo.png\" />\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/actions/workflows/release.yml/badge.svg\" alt=\"Canary CI Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter/next\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter/next\" alt=\"@next-auth/typeorm-legacy-adapter Version\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\nYou can find more TypeORM information in the docs at [next-auth.js.org/adapters/typeorm](https://next-auth.js.org/adapters/typeorm).\n\n## Getting Started\n\n1. Install `typeorm`, `next-auth@beta` and `@next-auth/typeorm-legacy-adapter@next`\n\n```js\nnpm install next-auth@beta @next-auth/typeorm-legacy-adapter@next typeorm\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport { TypeORMLegacyAdapter } from \"@next-auth/typeorm-legacy-adapter\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [],\n  adapter: TypeORMLegacyAdapter({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, SQLite, as well as MSSQL. Further configuration options are listed below.\n\n> If you're looking for MongoDB support, it's been pulled out into its own adapter [@next-auth/mongodb-adapter](https://next-auth.js.org/adapters/mongodb).\n\n### SQLite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [mysql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mysql/schema.sql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [postgresql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/postgresql/schema.sql)\n\n### Microsoft SQL Server\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [mssql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mssql/schema.sql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"1ea7c527e11c2cf8e3a6e4000c39183c53cc652f","private":false,"scripts":{"test":"tests/test.sh","build":"tsc","mysql":"yarn init:db && tests/mysql/test.sh","sqlite":"tests/sqlite/test.sh","init:db":"tests/init.sh","postgres":"yarn init:db && tests/postgresql/test.sh","test:containers":"tests/test.sh"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v16.9.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"16.9.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.7.1","mssql":"^7.2.1","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.37"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1 || 7","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.31","next-auth":">=4"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"sqlite3":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.2-pr.243-1ea7c527.13_1632091695692_0.7841141227079809","host":"s3://npm-registry-packages"}},"0.1.2-next.13":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.2-next.13","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.2-next.13","maintainers":[{"name":"balazsorban","email":"info@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"iaincollins","email":"me@iaincollins.com"}],"contributors":[{"name":"Balázs Orbán","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"e792c11cae1fe1c62acbc60b095e9b4f41fbb84a","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.2-next.13.tgz","fileCount":9,"integrity":"sha512-+LPvbAJ8aVUOKaziIlAGR6vDRHXd5iO/9XjOQINszxwARvAp3hDMY4WiNsGxFGY2SujS2jergU9ZadwNvHSkog==","signatures":[{"sig":"MEUCICJr9SXRKsU82L298vLPPIDSlVb2OLn7FmHOylBxMtJWAiEAplNzMhVFLlN2f1Jf5G2sS9n+iZpgvaM+Q2HpQcQ2A1A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27631},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n    <a href=\"https://next-auth.js.org\" target=\"_blank\"><img height=\"64px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" />&nbsp;&nbsp;&nbsp;&nbsp;</a><img height=\"64px\" src=\"https://raw.githubusercontent.com/nextauthjs/adapters/canary/packages/typeorm-legacy/logo.png\" />\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/actions/workflows/release.yml/badge.svg\" alt=\"Canary CI Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter/next\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter/next\" alt=\"@next-auth/typeorm-legacy-adapter Version\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\nYou can find more TypeORM information in the docs at [next-auth.js.org/adapters/typeorm](https://next-auth.js.org/adapters/typeorm).\n\n## Getting Started\n\n1. Install `typeorm`, `next-auth@beta` and `@next-auth/typeorm-legacy-adapter@next`\n\n```js\nnpm install next-auth@beta @next-auth/typeorm-legacy-adapter@next typeorm\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport { TypeORMLegacyAdapter } from \"@next-auth/typeorm-legacy-adapter\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [],\n  adapter: TypeORMLegacyAdapter({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, SQLite, as well as MSSQL. Further configuration options are listed below.\n\n> If you're looking for MongoDB support, it's been pulled out into its own adapter [@next-auth/mongodb-adapter](https://next-auth.js.org/adapters/mongodb).\n\n### SQLite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [mysql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mysql/schema.sql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [postgresql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/postgresql/schema.sql)\n\n### Microsoft SQL Server\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [mssql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mssql/schema.sql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"d2b0f24c65da943345078636967ad3cf55bb754b","private":false,"scripts":{"test":"tests/test.sh","build":"tsc","mysql":"yarn init:db && tests/mysql/test.sh","sqlite":"tests/sqlite/test.sh","init:db":"tests/init.sh","postgres":"yarn init:db && tests/postgresql/test.sh","test:containers":"tests/test.sh"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v16.9.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"16.9.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.7.1","mssql":"^7.2.1","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.37"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1 || 7","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.31","next-auth":">=4"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"sqlite3":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.2-next.13_1632092200974_0.3561973059768988","host":"s3://npm-registry-packages"}},"0.1.2-next.17":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.2-next.17","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.2-next.17","maintainers":[{"name":"balazsorban","email":"info@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"iaincollins","email":"me@iaincollins.com"}],"contributors":[{"name":"Balázs Orbán","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"f6eee12bf9f05ce1cd256c0ec5aa2200acf59c39","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.2-next.17.tgz","fileCount":9,"integrity":"sha512-oh669U4B4mCIOZk5FF1UHsE6zv1e2QDEEhKRRC056HO7DNw6Yi/kYIs7bBUFHGkDMMSiljI0zi0X/P+dST0gGg==","signatures":[{"sig":"MEYCIQDEkRkuRKBWO0VMYaDLokIA5jnKzWhtLW3Eabb01cwOqwIhAMEAI9zGv9IA/kbJZtCk5JjeXLo7S5Mah/CMIZSg5FJh","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27415},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n    <a href=\"https://next-auth.js.org\" target=\"_blank\"><img height=\"64px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" />&nbsp;&nbsp;&nbsp;&nbsp;</a><img height=\"64px\" src=\"https://raw.githubusercontent.com/nextauthjs/adapters/canary/packages/typeorm-legacy/logo.png\" />\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/actions/workflows/release.yml/badge.svg\" alt=\"Canary CI Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter/next\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter/next\" alt=\"@next-auth/typeorm-legacy-adapter Version\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\nYou can find more TypeORM information in the docs at [next-auth.js.org/adapters/typeorm](https://next-auth.js.org/adapters/typeorm).\n\n## Getting Started\n\n1. Install `typeorm`, `next-auth@beta` and `@next-auth/typeorm-legacy-adapter@next`\n\n```js\nnpm install next-auth@beta @next-auth/typeorm-legacy-adapter@next typeorm\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport { TypeORMLegacyAdapter } from \"@next-auth/typeorm-legacy-adapter\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [],\n  adapter: TypeORMLegacyAdapter({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, SQLite, as well as MSSQL. Further configuration options are listed below.\n\n> If you're looking for MongoDB support, it's been pulled out into its own adapter [@next-auth/mongodb-adapter](https://next-auth.js.org/adapters/mongodb).\n\n### SQLite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [mysql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mysql/schema.sql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [postgresql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/postgresql/schema.sql)\n\n### Microsoft SQL Server\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [mssql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mssql/schema.sql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"ec8c9751a2ae1b3f3ad257a7f4fde075915d6bac","private":false,"scripts":{"test":"tests/test.sh","build":"tsc","mysql":"yarn init:db && tests/mysql/test.sh","sqlite":"tests/sqlite/test.sh","init:db":"tests/init.sh","postgres":"yarn init:db && tests/postgresql/test.sh","test:containers":"tests/test.sh"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v16.10.0+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"16.10.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.7.1","mssql":"^7.2.1","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.37"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1 || 7","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.31","next-auth":">=4"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"sqlite3":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.2-next.17_1632743700044_0.36537008918314573","host":"s3://npm-registry-packages"}},"0.1.2-pr.274-8c5c0fd1.18":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.2-pr.274-8c5c0fd1.18","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.2-pr.274-8c5c0fd1.18","maintainers":[{"name":"balazsorban","email":"info@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"iaincollins","email":"me@iaincollins.com"}],"contributors":[{"name":"Balázs Orbán","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"afb665e02f2eb2d0fb58521bebc4ba20b4b5b04a","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.2-pr.274-8c5c0fd1.18.tgz","fileCount":9,"integrity":"sha512-v0hGY2mGUOi3AFALy+3HDd7MR+rB0QknKAU9LV1Qx24lAb/+8++JTjdeZiABxAr/G8ZgtEnZKuHM9dNI/tEpmg==","signatures":[{"sig":"MEUCIHigvGgQPFzqubwgOlAYZr/Pcy/pXf41xdvqNTyU4GoaAiEAsHhPzzkIR/YbV4GIZunTvd805VWeVhJOJJeXxAX6DeU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27456},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n    <a href=\"https://next-auth.js.org\" target=\"_blank\"><img height=\"64px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" />&nbsp;&nbsp;&nbsp;&nbsp;</a><img height=\"64px\" src=\"https://raw.githubusercontent.com/nextauthjs/adapters/canary/packages/typeorm-legacy/logo.png\" />\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/actions/workflows/release.yml/badge.svg\" alt=\"Canary CI Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter/next\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter/next\" alt=\"@next-auth/typeorm-legacy-adapter Version\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\nYou can find more TypeORM information in the docs at [next-auth.js.org/adapters/typeorm](https://next-auth.js.org/adapters/typeorm).\n\n## Getting Started\n\n1. Install `typeorm`, `next-auth@beta` and `@next-auth/typeorm-legacy-adapter@next`\n\n```js\nnpm install next-auth@beta @next-auth/typeorm-legacy-adapter@next typeorm\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport { TypeORMLegacyAdapter } from \"@next-auth/typeorm-legacy-adapter\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [],\n  adapter: TypeORMLegacyAdapter({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, SQLite, as well as MSSQL. Further configuration options are listed below.\n\n> If you're looking for MongoDB support, it's been pulled out into its own adapter [@next-auth/mongodb-adapter](https://next-auth.js.org/adapters/mongodb).\n\n### SQLite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [mysql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mysql/schema.sql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [postgresql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/postgresql/schema.sql)\n\n### Microsoft SQL Server\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [mssql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mssql/schema.sql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"8c5c0fd1ab8920b38b9edb91dd376522ee951c71","private":false,"scripts":{"test":"tests/test.sh","build":"tsc","mysql":"yarn init:db && tests/mysql/test.sh","sqlite":"tests/sqlite/test.sh","init:db":"tests/init.sh","postgres":"yarn init:db && tests/postgresql/test.sh","test:containers":"tests/test.sh"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v16.11.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"16.11.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.7.1","mssql":"^7.2.1","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.37"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1 || 7","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.31","next-auth":">4 || 4.0.0-beta.1 - 4.0.0-beta.x"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"sqlite3":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.2-pr.274-8c5c0fd1.18_1634680694206_0.21026601421288205","host":"s3://npm-registry-packages"}},"0.1.2-pr.275-de012685.18":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.2-pr.275-de012685.18","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.2-pr.275-de012685.18","maintainers":[{"name":"balazsorban","email":"info@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"iaincollins","email":"me@iaincollins.com"}],"contributors":[{"name":"Balázs Orbán","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"e3bb8080c5ae4a4174c3c0f1854a50eb3af2347c","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.2-pr.275-de012685.18.tgz","fileCount":9,"integrity":"sha512-am4fvjbyuO5JFpnEpS7yYj4a1KwRFu6eeXSKyPhibKFXIyLbj+IWGgzbf2bpfXrw22NA8hngi5NNgEazpXPj0g==","signatures":[{"sig":"MEUCIDBKyufT9oQF5adXDJRSmZ9a1CtQjX3gU2TX/9bRVEUEAiEAxGmhCDPTtA6Aqw8t7i4jfGgdGrmS6n5HQ66qpNG0ZlQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27014},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n    <a href=\"https://next-auth.js.org\" target=\"_blank\"><img height=\"64px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" />&nbsp;&nbsp;&nbsp;&nbsp;</a><img height=\"64px\" src=\"https://raw.githubusercontent.com/nextauthjs/adapters/canary/packages/typeorm-legacy/logo.png\" />\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/actions/workflows/release.yml/badge.svg\" alt=\"Canary CI Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter/next\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter/next\" alt=\"@next-auth/typeorm-legacy-adapter Version\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\nYou can find more TypeORM information in the docs at [next-auth.js.org/adapters/typeorm](https://next-auth.js.org/adapters/typeorm).\n\n## Getting Started\n\n1. Install `typeorm`, `next-auth@beta` and `@next-auth/typeorm-legacy-adapter@next`\n\n```js\nnpm install next-auth@beta @next-auth/typeorm-legacy-adapter@next typeorm\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport { TypeORMLegacyAdapter } from \"@next-auth/typeorm-legacy-adapter\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [],\n  adapter: TypeORMLegacyAdapter({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, SQLite, as well as MSSQL. Further configuration options are listed below.\n\n> If you're looking for MongoDB support, it's been pulled out into its own adapter [@next-auth/mongodb-adapter](https://next-auth.js.org/adapters/mongodb).\n\n### SQLite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [mysql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mysql/schema.sql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [postgresql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/postgresql/schema.sql)\n\n### Microsoft SQL Server\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [mssql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mssql/schema.sql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"de0126852be2be32181bbaf52c5e16dea17fd699","private":false,"scripts":{"test":"tests/test.sh","build":"tsc","mysql":"yarn init:db && tests/mysql/test.sh","sqlite":"tests/sqlite/test.sh","init:db":"tests/init.sh","postgres":"yarn init:db && tests/postgresql/test.sh","test:containers":"tests/test.sh"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v16.11.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"16.11.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.7.1","mssql":"^7.2.1","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.37"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1 || 7","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.31","next-auth":">=4"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"sqlite3":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.2-pr.275-de012685.18_1634680885080_0.5417633358168181","host":"s3://npm-registry-packages"}},"0.1.2-next.18":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.2-next.18","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.2-next.18","maintainers":[{"name":"balazsorban","email":"info@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"iaincollins","email":"me@iaincollins.com"}],"contributors":[{"name":"Balázs Orbán","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"c1e0bc35414c9836dcbed9185fa44055609546f2","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.2-next.18.tgz","fileCount":9,"integrity":"sha512-sEVFNHtr8X+ecDIjREAc3JL0xgks4ewgkNrB8fsVxe94t/fJH+QqH2WYXsLq3wG0XjvVn4LeSI3E6WfBUYSIqg==","signatures":[{"sig":"MEUCIQDJIa7aL1B3Sd1b5jm0sLcL+uGrObtgVsnz+ai09kBPWAIgFGp7fIdu0dSrTVECHjFDXKU+ehGS8MChetPGWJQs7zs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27445},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n    <a href=\"https://next-auth.js.org\" target=\"_blank\"><img height=\"64px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" />&nbsp;&nbsp;&nbsp;&nbsp;</a><img height=\"64px\" src=\"https://raw.githubusercontent.com/nextauthjs/adapters/canary/packages/typeorm-legacy/logo.png\" />\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/actions/workflows/release.yml/badge.svg\" alt=\"Canary CI Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter/next\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter/next\" alt=\"@next-auth/typeorm-legacy-adapter Version\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\nYou can find more TypeORM information in the docs at [next-auth.js.org/adapters/typeorm](https://next-auth.js.org/adapters/typeorm).\n\n## Getting Started\n\n1. Install `typeorm`, `next-auth@beta` and `@next-auth/typeorm-legacy-adapter@next`\n\n```js\nnpm install next-auth@beta @next-auth/typeorm-legacy-adapter@next typeorm\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport { TypeORMLegacyAdapter } from \"@next-auth/typeorm-legacy-adapter\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [],\n  adapter: TypeORMLegacyAdapter({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, SQLite, as well as MSSQL. Further configuration options are listed below.\n\n> If you're looking for MongoDB support, it's been pulled out into its own adapter [@next-auth/mongodb-adapter](https://next-auth.js.org/adapters/mongodb).\n\n### SQLite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [mysql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mysql/schema.sql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [postgresql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/postgresql/schema.sql)\n\n### Microsoft SQL Server\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [mssql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mssql/schema.sql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"671609e55b98646c83b1270f9674b464f2e5b70f","private":false,"scripts":{"test":"tests/test.sh","build":"tsc","mysql":"yarn init:db && tests/mysql/test.sh","sqlite":"tests/sqlite/test.sh","init:db":"tests/init.sh","postgres":"yarn init:db && tests/postgresql/test.sh","test:containers":"tests/test.sh"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v16.11.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"16.11.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.7.1","mssql":"^7.2.1","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.37"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1 || 7","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.31","next-auth":">4 || 4.0.0-beta.1 - 4.0.0-beta.x"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"sqlite3":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.2-next.18_1634719654543_0.44052996443410275","host":"s3://npm-registry-packages"}},"0.1.2-next.19":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.2-next.19","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.2-next.19","maintainers":[{"name":"balazsorban","email":"info@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"iaincollins","email":"me@iaincollins.com"}],"contributors":[{"name":"Balázs Orbán","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"ec0a33dd07ae0b0d977e32cd201ec39e7496cda9","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.2-next.19.tgz","fileCount":9,"integrity":"sha512-9ExKihvMGQVBMECSqt29zGVDP+0bu1CMlbWO+5Eb/YEYTHpNFAgmzaMhd5rsfiWybx2Xsvjn3cFF8kNd35J10w==","signatures":[{"sig":"MEYCIQDssr9pZvWu+du5EMVdHZm78dzdc+IImooKKer42S1QIQIhAIopp/aHpl7KldK690yoE/7zcCNsdeoq64mJNLTZiqbC","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27033},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n    <a href=\"https://next-auth.js.org\" target=\"_blank\"><img height=\"64px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" />&nbsp;&nbsp;&nbsp;&nbsp;</a><img height=\"64px\" src=\"https://raw.githubusercontent.com/nextauthjs/adapters/canary/packages/typeorm-legacy/logo.png\" />\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/actions/workflows/release.yml/badge.svg\" alt=\"Canary CI Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter/next\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter/next\" alt=\"@next-auth/typeorm-legacy-adapter Version\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\nYou can find more TypeORM information in the docs at [next-auth.js.org/adapters/typeorm](https://next-auth.js.org/adapters/typeorm).\n\n## Getting Started\n\n1. Install `typeorm`, `next-auth@beta` and `@next-auth/typeorm-legacy-adapter@next`\n\n```js\nnpm install next-auth@beta @next-auth/typeorm-legacy-adapter@next typeorm\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport { TypeORMLegacyAdapter } from \"@next-auth/typeorm-legacy-adapter\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [],\n  adapter: TypeORMLegacyAdapter({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, SQLite, as well as MSSQL. Further configuration options are listed below.\n\n> If you're looking for MongoDB support, it's been pulled out into its own adapter [@next-auth/mongodb-adapter](https://next-auth.js.org/adapters/mongodb).\n\n### SQLite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [mysql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mysql/schema.sql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [postgresql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/postgresql/schema.sql)\n\n### Microsoft SQL Server\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [mssql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mssql/schema.sql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"c42bfd0fc31a3cd6a811958991da3c4674d826f5","private":false,"scripts":{"test":"tests/test.sh","build":"tsc","mysql":"yarn init:db && tests/mysql/test.sh","sqlite":"tests/sqlite/test.sh","init:db":"tests/init.sh","postgres":"yarn init:db && tests/postgresql/test.sh","test:containers":"tests/test.sh"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v16.11.1+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"16.11.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.7.1","mssql":"^7.2.1","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.37"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1 || 7","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.31","next-auth":">4 || 4.0.0-beta.1 - 4.0.0-beta.x"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"sqlite3":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.2-next.19_1634727994661_0.41803570305213866","host":"s3://npm-registry-packages"}},"0.1.2-pr.307-f193e1d9.20":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.2-pr.307-f193e1d9.20","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.2-pr.307-f193e1d9.20","maintainers":[{"name":"balazsorban","email":"info@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"iaincollins","email":"me@iaincollins.com"}],"contributors":[{"name":"Balázs Orbán","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"ff2fde458ee5fd26436d985a5a91e7aa41693059","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.2-pr.307-f193e1d9.20.tgz","fileCount":9,"integrity":"sha512-JzIca3JGYeIJxuTRx1wb3IpscE/HBXO1JIrU4sXilboi94jaTOTIiGdccGk2saypFBoPbjWVnvFMlVyfDxLiqA==","signatures":[{"sig":"MEQCIGjCidUFSqL87c9sHtdpx+YvOPouFj3R/adktrMujK+FAiBb4lDFbVl7m33reFH3vKoNUiPrWi8jrFODN00s+Vz9Rw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27087},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n    <a href=\"https://next-auth.js.org\" target=\"_blank\"><img height=\"64px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" />&nbsp;&nbsp;&nbsp;&nbsp;</a><img height=\"64px\" src=\"https://raw.githubusercontent.com/nextauthjs/adapters/canary/packages/typeorm-legacy/logo.png\" />\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/actions/workflows/release.yml/badge.svg\" alt=\"Canary CI Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter/next\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter/next\" alt=\"@next-auth/typeorm-legacy-adapter Version\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\nYou can find more TypeORM information in the docs at [next-auth.js.org/adapters/typeorm](https://next-auth.js.org/adapters/typeorm).\n\n## Getting Started\n\n1. Install `typeorm`, `next-auth@beta` and `@next-auth/typeorm-legacy-adapter@next`\n\n```js\nnpm install next-auth@beta @next-auth/typeorm-legacy-adapter@next typeorm\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport { TypeORMLegacyAdapter } from \"@next-auth/typeorm-legacy-adapter\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [],\n  adapter: TypeORMLegacyAdapter({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, SQLite, as well as MSSQL. Further configuration options are listed below.\n\n> If you're looking for MongoDB support, it's been pulled out into its own adapter [@next-auth/mongodb-adapter](https://next-auth.js.org/adapters/mongodb).\n\n### SQLite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [mysql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mysql/schema.sql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [postgresql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/postgresql/schema.sql)\n\n### Microsoft SQL Server\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [mssql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mssql/schema.sql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"f193e1d9ecfaab2f268edffe16aa56f36d2c99f8","private":false,"scripts":{"test":"tests/test.sh","build":"tsc","mysql":"yarn init:db && tests/mysql/test.sh","sqlite":"tests/sqlite/test.sh","init:db":"tests/init.sh","postgres":"yarn init:db && tests/postgresql/test.sh","test:containers":"tests/test.sh"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v16.13.0+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"16.13.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.7.1","mssql":"^7.2.1","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.37","typeorm-naming-strategies":"^2.0.0"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1 || 7","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.31","next-auth":">4 || 4.0.0-beta.1 - 4.0.0-beta.x"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"sqlite3":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.2-pr.307-f193e1d9.20_1636670123741_0.9107011749296665","host":"s3://npm-registry-packages"}},"0.1.2-next.20":{"name":"@next-auth/typeorm-legacy-adapter","version":"0.1.2-next.20","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@0.1.2-next.20","maintainers":[{"name":"balazsorban","email":"info@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"iaincollins","email":"me@iaincollins.com"}],"contributors":[{"name":"Balázs Orbán","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"30e25bcf3e4f264d2e8e5f85c18e6a0be5c192f2","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.1.2-next.20.tgz","fileCount":9,"integrity":"sha512-c9CC8rio9WTUHZ4xEr2IDfS67VX4pbowX+de0EVvM3HXIDsovnHhg+sztdykmItOvPcPdys8xymPZwxlxSMBlQ==","signatures":[{"sig":"MEYCIQCyTaKZ+RFY9eM7uENEc4F7eYEeDdwEttM2peXTUEUjBwIhAP8DryOAz0OZ83RVa7FiJrVR6ZFYtlqk69oCcz6veVHa","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27076,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhlYAcCRA9TVsSAnZWagAANlEP+wbEkX8do4x8C1XBywl+\nG1jb5mWq+n4mSAGp2fEzkXVNLZrf+dP47G60aOuJubg9eK4/DNzmI7vGPOaL\nl6I0ZZRfXLiUYL45F2OqFw9TdAOpDuGzfKxDVt214NT5crHOOXrMhzgk0LTa\n1nvTGOlgRzcgOrLqZVBhb1fGloWApLWo825X3PpRSFG3g89E7TElx4t2eZWL\nXZax070IoIUNrJdioH8IwYwtEzDbah+Obayu5MeOAaa5zqksWWoJj/6NnqD0\n8i/948XNybS7DmjMPgpPYxw0xngOFoSJ/2Cu19/W4cUaXFD+iqU1/fIqyXVu\n2hJTPpzdeFBaBba9maJTInBWYJ27pkCocFlFzsxBix071eAieVv7oOQwFHp9\n0hdwPJUEKsdOdBCGLA33/ASHgy3ymJ1dibUN9jELAYti/BIqD56t676WUOrS\nU3IIagHTJ5jYTx+9mKOTp8MwfdBnNqwyas1DkbYfM3n4PIxfyVLLHHfFLKbW\nlfTfunn9nFUaR1LaPdftVKHXxY0AXU0RIjnDdReqsjzPJj4s+UEzkhdxvi9R\nymI8YL7dW7+MjYdeFJ39GsTfA+3/t6jTpmDEAPqQlYudCZE8cPfSB0GoqP61\nEXxzFG78KdIfCxsPRRHmUiVjrsb66oFpB2MCjEugKvUUj2G2S2cBEHsFxZJ5\nWJbs\r\n=H6ai\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"<p align=\"center\">\n   <br/>\n    <a href=\"https://next-auth.js.org\" target=\"_blank\"><img height=\"64px\" src=\"https://next-auth.js.org/img/logo/logo-sm.png\" />&nbsp;&nbsp;&nbsp;&nbsp;</a><img height=\"64px\" src=\"https://raw.githubusercontent.com/nextauthjs/adapters/canary/packages/typeorm-legacy/logo.png\" />\n   <h3 align=\"center\"><b>TypeORM (Legacy) Adapter</b> - NextAuth.js</h3>\n   <p align=\"center\">\n   Open Source. Full Stack. Own Your Data.\n   </p>\n   <p align=\"center\" style=\"align: center;\">\n      <img src=\"https://github.com/nextauthjs/adapters/actions/workflows/release.yml/badge.svg\" alt=\"Canary CI Test\" />\n      <img src=\"https://img.shields.io/bundlephobia/minzip/@next-auth/typeorm-legacy-adapter/next\" alt=\"Bundle Size\"/>\n      <img src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter/next\" alt=\"@next-auth/typeorm-legacy-adapter Version\" />\n   </p>\n</p>\n\n## Overview\n\nThis is the TypeORM Adapter for [`next-auth`](https://next-auth.js.org). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.\n\nYou can find more TypeORM information in the docs at [next-auth.js.org/adapters/typeorm](https://next-auth.js.org/adapters/typeorm).\n\n## Getting Started\n\n1. Install `typeorm`, `next-auth@beta` and `@next-auth/typeorm-legacy-adapter@next`\n\n```js\nnpm install next-auth@beta @next-auth/typeorm-legacy-adapter@next typeorm\n```\n\n2. Add this adapter to your `pages/api/[...nextauth].js` next-auth configuration object.\n\n```js\nimport NextAuth from \"next-auth\"\nimport { TypeORMLegacyAdapter } from \"@next-auth/typeorm-legacy-adapter\"\n\n// For more information on each option (and a full list of options) go to\n// https://next-auth.js.org/configuration/options\nexport default NextAuth({\n  // https://next-auth.js.org/configuration/providers\n  providers: [],\n  adapter: TypeORMLegacyAdapter({\n    type: 'sqlite',  // or mysql, postgresql, mssql\n    database: ':memory:',\n    synchronize: true\n  }),\n  ...\n})\n```\n\n> The `synchronize` option in TypeORM will generate SQL that exactly matches the documented schemas for MySQL and Postgres.\n>\n> However, it should not be enabled against production databases as it may cause data loss if the configured schema does not match the expected schema!\n\n## Options\n\nThis adapter supports MySQL, PostgreSQL, SQLite, as well as MSSQL. Further configuration options are listed below.\n\n> If you're looking for MongoDB support, it's been pulled out into its own adapter [@next-auth/mongodb-adapter](https://next-auth.js.org/adapters/mongodb).\n\n### SQLite\n\nWith sqlite, you have the option of using a file on disk as the database, or using a temporary in-memory database. In the `database` field you can either pass in a valid file path to the on-disk database you want to use, or simply write `:memory:` for an in-memory database which will disappear whenever you restart the process.\n\n### MySQL\n\nFor MySQL, simply pass a valid connection string to the `database` option, such as `mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronise=true`, and do not forget to set the `type` value to `mysql`.\n\nSchema: [mysql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mysql/schema.sql)\n\n### PostgreSQL\n\nFor PostgreSQL, you also only need to pass a valid connection string to the `database` option, such as `postgres://nextauth:password@127.0.0.1:5432/nextauth`, and do not forget to set the `type` value to `postgres`.\n\nSchema: [postgresql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/postgresql/schema.sql)\n\n### Microsoft SQL Server\n\nFor MsSQL, pass a valid connection string to the `database` option, such as `mssql://nextauth:password@127.0.0.1:1433/nextauth`, and do not forget to set the `type` value to `mssql`.\n\nSchema: [mssql/schema.sql](https://github.com/nextauthjs/adapters/tree/canary/packages/typeorm-legacy/tests/mssql/schema.sql)\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please read our [Contributing Guide](https://github.com/nextauthjs/adapters/blob/canary/CONTRIBUTING.md).\n\n## License\n\nISC\n","gitHead":"b16ad205350218dc774abc9ec757eb5898f7b087","private":false,"scripts":{"test":"tests/test.sh","build":"tsc","mysql":"yarn init:db && tests/mysql/test.sh","sqlite":"tests/sqlite/test.sh","init:db":"tests/init.sh","postgres":"yarn init:db && tests/postgresql/test.sh","test:containers":"tests/test.sh"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v16.13.0+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"16.13.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pg":"^8.7.1","mssql":"^7.2.1","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.37","typeorm-naming-strategies":"^2.0.0"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1 || 7","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.31","next-auth":">4 || 4.0.0-beta.1 - 4.0.0-beta.x"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"sqlite3":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_0.1.2-next.20_1637187612007_0.7251138024692454","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@next-auth/typeorm-legacy-adapter","version":"1.0.0","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@1.0.0","maintainers":[{"name":"balazsorban","email":"info@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"iaincollins","email":"me@iaincollins.com"}],"contributors":[{"name":"Balázs Orbán","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"b618c3a58d1f487e827d6f83c2d14ea32f9b8440","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-1.0.0.tgz","fileCount":17,"integrity":"sha512-epnFumbSsATrq8i7wbVB30/XKEmfpa7Ea4panj/mkzfesprAV7KXNospRCt67ach/E4lWNRNTeqlcW9XKHfTzQ==","signatures":[{"sig":"MEQCIFxJstw0yG2WET9IjS45DHFaY7Fp7zvphw6TeTeEyz9lAiAJT+ruIFyF5ql74jbJGsP7/VCk2iVnS5jrT1c5zZM+BQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40284,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhp6OYCRA9TVsSAnZWagAA9r4P/RSQzy7dfN4q+KM4DhL9\n2bTzMmkAm6g2jnYLVQnxSZrbBZVRa2DWB1axSHg4QNgPd799UGAlB3BPSVCr\np0nANmQZkKS2CuJ5oxB476/8ziS0E5swTEgnDqa6vYLnEkbwCTguMWjwM3wr\np8BgvZ1TryTqAhi3XZQyJdJnPmH/Tx4lnQ2WTKQ9+aIEtnu9YxZ7Qv3bPpqJ\nI35VaVOjvt4fsc5wdsNlqNqC0oxWGpWdgAduhRDkvenVjhZiA8MLy7HwKJOx\n86bJwXAVSFpeMVbewSl8qadZvq+lr+k/oPBpIZMWj+Em9lCOlLqlScOOP2SU\nPGO5z9GmFxGvXOSqbFxuYIjYRS7Pcwy+rGLBHa9D8qpYHL0XlvoKhj3NVgex\n0DBHzMldtwgor4GuDvpLjvVssslvjebP1x0dC9n1icqv9JkuOxTwcWWQEzko\ndz/fYA1vdae615ZeFMwAu5Q5gDKcNpbZBNU9cAmjRDJsrzSZ8owtrwywdfci\nUS0GVQLfXm1o4LFVduqesDa0P95bKoDeYUiI4V7NU+hY9Z+bnWX9DG2rIL2N\nrtVIGBU+EeacbULOgX9gsMkgqmqB7vvj3w4Skm+GG5Ypg9RSEsUV6k+/Cqm5\nkmv8Tu3f9pZxAvxoOyIOcW+a+1BJ+zkb6Qxpi35zt2N5v6OzJlsSecnqyoaW\nN32w\r\n=yW4u\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"./dist/index.d.ts","gitHead":"50bae0dbb5c85ac88b4c4ce4fb1dc20aef793876","private":false,"scripts":{"test":"tests/test.sh","build":"tsc","mysql":"yarn init:db && tests/mysql/test.sh","sqlite":"tests/sqlite/test.sh","init:db":"tests/init.sh","postgres":"yarn init:db && tests/postgresql/test.sh","test:containers":"tests/test.sh"},"_npmUser":{"name":"balazsorban","email":"info@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"8.1.0","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"16.13.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pg":"^8.7.1","mssql":"^7.2.1","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.37","typeorm-naming-strategies":"^2.0.0"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1 || 7","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.31","next-auth":"^4.0.1"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"sqlite3":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_1.0.0_1638376344536_0.11777227451940875","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@next-auth/typeorm-legacy-adapter","version":"1.0.1","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@1.0.1","maintainers":[{"name":"balazsorban","email":"info@balazsorban.com"},{"name":"williamluke4","email":"william@atto-byte.com"},{"name":"nextauth","email":"nextauth@balazsorban.com"},{"name":"iaincollins","email":"me@iaincollins.com"}],"contributors":[{"name":"Balázs Orbán","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"1ea038fc5c84522b95c3fcb9349a71b5990cdfc4","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-1.0.1.tgz","fileCount":9,"integrity":"sha512-Akl+4OpzuA4onY9iwNs0oY7sRae4zvBP86nyfVkpco1qYCPYr5oHyipwii+hq/8eL70yxF8FiSy+wstgGCbOBw==","signatures":[{"sig":"MEUCIFvx4Ouu8ybubCiD2ATEaOx9QH7GNK1Q27nHDL7/NrpTAiEAtxztD1jf6NxgL6Tm/6l7QhFVpOGoeivpY3307bA9qpc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27015,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhrjhICRA9TVsSAnZWagAA2FAP/jQUXjq2dQlsv3BConNa\nKskiGnQz/DzbI1puQ3DKBRw0vkk2Ew5wa/pOk/w304oHf4W1uQSxsNTAJ88q\nhfRnDjKsJ1AoVbHtb/B7nvRd4xXAXvhQxM7D/Y8mn2GmXYD5nKBQHvjVA9HA\nG4JLcDRTN8cXIHqchzY1lOf38uLczWLgyJt7AYEjKeDDwLNw6cei2pnSUfYI\nO5yr8TlbahYsF1MEKxAOI4A7bFP/Gv3P78I+rhCkEqyCSC7BWOxY3yT4cO1D\nQKUZOz/10Jm71YKWT/nEqvw3IjL1vZ7IUxQd0jc+kvopdmcVDsleNFhwWg3B\nE7uqthxVmve7FtXRsogldH4A1TiRL8hGuUpN2An+bGM87D3aMUMaI+jJ+dJC\n0J3k/Ef/bHHuFBIBYQPdIFOd0bkpfLdIX6yh9rAeAT/rIeCItIqKsEhWNtdE\nAOLl+8TVTJ5j7opH673QxklqG0PD4aH8U6Yn8AKmV5lqmqUJkInSEtAvxZm4\nzPXSA57XSQ6kPz0Vlw2PFDxBThmCjy+TBuYbFEa0hW/nt/I9Li6rAe8UYIZ5\nbo396OvHtasRUooGGivIe5gKR5Iydq70d2GaEZPvhUFm3+imXIf2lc5CaufT\nUkxr+k742+h/nXHiYwGGAwnX6SocOERNBqvnl4PPE2HlEGJx6hSehjOZNfFo\n1/Av\r\n=m7Sl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"87c9490f7c8c72ad0ca64718cb480c6720044edb","private":false,"scripts":{"test":"tests/test.sh","build":"tsc","mysql":"yarn init:db && tests/mysql/test.sh","sqlite":"tests/sqlite/test.sh","init:db":"tests/init.sh","postgres":"yarn init:db && tests/postgresql/test.sh","test:containers":"tests/test.sh"},"_npmUser":{"name":"nextauth","email":"nextauth@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v16.13.0+x64 (linux)","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"16.13.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pg":"^8.7.1","mssql":"^7.2.1","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.37","typeorm-naming-strategies":"^2.0.0"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1 || 7","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.31","next-auth":"^4.0.1"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"sqlite3":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_1.0.1_1638807623730_0.8783687576548889","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@next-auth/typeorm-legacy-adapter","version":"1.0.2","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@1.0.2","maintainers":[{"name":"ndom91","email":"yo@ndo.dev"},{"name":"balazsorban","email":"info@balazsorban.com"},{"name":"iaincollins","email":"me@iaincollins.com"}],"contributors":[{"name":"Balázs Orbán","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"7e7604f4941c9b0192f35eab14ff3c089af517d6","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-1.0.2.tgz","fileCount":8,"integrity":"sha512-XoZn06xwzkAZvWmHjY3ZYqSXf0gpPFKEkpo2nIdYfzhVrFPy4FdvQoA/TbzCGQSRXygk0z3RBa/TX4m9rHWAUg==","signatures":[{"sig":"MEUCIGjgmpLdZLxRKChD8dATAUTvFOclfNe/kgCdUrGsgRxHAiEA6g3LNbbd6Ntnm5VlqMFDR+pI+wEseScQXJpdjHf7KNg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23361,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiMQ3VACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr5Pw/9FbClXjKUJWIYOWL4E3E2LHmTmYzZ9k7ciSbYHdA9Mw9/eF2O\r\ncJFmHTtinorkiosAFxtzE55MIt4BDC06Jmi9Atc52XaTMtNR4GXyn4UTmPjs\r\n5ihReKDEhEhDJcysY0GUm/waGhr+JD5YmvSTTgRYIP+qELNaVPsTAVWeVYmO\r\nWPLsbWuiMCAjwVLEUQPGF4Q9QOOMLRSrrdBUqzagFuch7E0BhzmhSprWmwxB\r\nV/54EAN70fTb8N06SSFLs7mdrJtqULIBEfiIiGhCXczI+BZaEADW+EwuT0eM\r\nWfIhnOTYLa9KnEG4oytASN5UsjFyKsBtHxeEM0G4G31eHa63xLmEXPZUkj3K\r\nnn0yWhg8U2qVI7ID/CfC9hNgQeamPJOdklagLgXLbCQvHkaFCODoshJwWs14\r\nzU8ueiCmDgNRE+QZL8iCMrzsggqFf/PU0FA0AueQrynOMbOlUvGgbyIR2USm\r\nPQHcoRljiiyjKC2f9A17YFdO93m/DHBu3mayCw9euF6uhNI9i1uhYiXCHvS3\r\nMwTQVU6ZWnUOdkan6rpTuUomoK95yADTQl+J/9Y+LFHwTndQYKiPY8XrWjh5\r\nn5tZAP8d7zqhfsSm4wS/c6a2rWKygLepYJd6cQ8sjYFZR7rkWWNrtgeP1E7b\r\nsNaeEKFhwKOSF4BJK7JGHJLexGdk2FdHcb4=\r\n=elsV\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"adapter-test/jest"},"main":"dist/index.js","types":"./dist/index.d.ts","gitHead":"c9e74f435cc885727b24264bf51e0259854663ff","private":false,"scripts":{"test":"tests/test.sh","build":"tsc","mysql":"yarn init:db && tests/mysql/test.sh","sqlite":"tests/sqlite/test.sh","init:db":"tests/init.sh","postgres":"yarn init:db && tests/postgresql/test.sh","test:containers":"tests/test.sh"},"_npmUser":{"name":"balazsorban","email":"info@balazsorban.com"},"repository":{"url":"git+https://github.com/nextauthjs/adapters.git","type":"git"},"_npmVersion":"8.3.1","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"16.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pg":"^8.7.1","mssql":"^7.2.1","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.37","typeorm-naming-strategies":"^2.0.0"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1 || 7","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.31","next-auth":"^4.0.1"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"sqlite3":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_1.0.2_1647381973418_0.41816528665882546","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@next-auth/typeorm-legacy-adapter","version":"1.0.3","keywords":["next-auth","next.js","oauth","typeorm"],"author":"Iain Collins","license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@1.0.3","maintainers":[{"name":"ndom91","email":"yo@ndo.dev"},{"name":"balazsorban","email":"info@balazsorban.com"},{"name":"iaincollins","email":"me@iaincollins.com"}],"contributors":["Balázs Orbán <info@balazsorban.com>"],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/adapters/issues"},"dist":{"shasum":"86ac44b172943f15b9550361fafc2cd26bb2e94f","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-1.0.3.tgz","fileCount":8,"integrity":"sha512-pMoWI9rG72D250Y9HZ1DTuTxVN5f8PvKfM1a4AGuQHkdEyh7/e4LkDvU3AOzxnWZA0xTsMlVHvdKrW8yZeyX8Q==","signatures":[{"sig":"MEQCIAa3SyKqasA46hyDVF+TVOOu5S8OC6xMxEd/Zl8CYubmAiBs6ykbXJH2WnAJD/ZOlcGPm3/nu4zZ3GKEjEBHFPsgIA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30561,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiM3zpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr6UA/+Nm+HNqCNzLymRup3PwFaYF4vsnRyw+oXvgHg20IGXKfHxPeB\r\n6hthRJBTv96n/N6uIMgBLGjC+HQZJm9N3n0z00cy6qqO+sEi3pCBh2fd2pe5\r\n/OyQCruaUCQN4Wl+wGDN4rl/zbiyHwR2UWeltEXEPqdKIZjS0QuknJAleH2Q\r\nLT44A0qPl7Q25oNdHal57OAgjpHWyHY07DBHhUqRWQA7Iqf66G+jUGoVUUtS\r\n+s1BBWYNTYVL4ztaHIjtZ96PzlSmh2nBOZfpinorn6AKng7K/w6dF6ar2/3q\r\n/t3vXu4VBQZAjN3ODR9dsMJ/Ic++KmseMg6SW5fZZ+UIK6xzsNWrSc7XZJPG\r\nEVTLoQ++zefg4ZpoJvNuAPRgcD5OxdrU7aJ1lUyt+KdHyI0f1Om7wsL4HPw2\r\nL7xPlBoeYDgQJsAN+Ju0HsMZLJtBSNsheFJvUfICdev8zRMWPZ1SJ9bYGYo2\r\nesNZHEPxZX4niyVxKNbiYy+U5cHz8IPwsv5kYb9Nl2mbMv2UmKvwEV0PgVG9\r\nPXte2D7Cbq4/+JZNlcqolTB73T640sunXCCakNLyCV9rUXU58c2AeBwJXjGV\r\nwRjQNJBMn+KIMDEjbw8eUF7y2mpmOHLNJ/MAEM/Br0wZE9TP0wOjvGyJPUqB\r\nVHaCQwbtT95ESscapmsK5MV11/OqL+23VA0=\r\n=WREs\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"adapter-test/jest"},"main":"dist/index.js","_from":"file:next-auth-typeorm-legacy-adapter-1.0.3.tgz","private":false,"scripts":{"test":"tests/test.sh","build":"tsc","mysql":"yarn init:db && tests/mysql/test.sh","sqlite":"tests/sqlite/test.sh","init:db":"tests/init.sh","postgres":"yarn init:db && tests/postgresql/test.sh","test:containers":"tests/test.sh"},"_npmUser":{"name":"balazsorban","email":"info@balazsorban.com"},"_resolved":"/home/balazs/projects/nextauthjs/next-auth/packages/adapter-typeorm-legacy/next-auth-typeorm-legacy-adapter-1.0.3.tgz","_integrity":"sha512-pMoWI9rG72D250Y9HZ1DTuTxVN5f8PvKfM1a4AGuQHkdEyh7/e4LkDvU3AOzxnWZA0xTsMlVHvdKrW8yZeyX8Q==","repository":"https://github.com/nextauthjs/adapters","_npmVersion":"8.3.1","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"16.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pg":"^8.7.1","mssql":"^7.2.1","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.37","typeorm-naming-strategies":"^2.0.0"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1 || 7","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"^0.2.31","next-auth":"^4.0.1"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"sqlite3":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_1.0.3_1647541480803_0.9453217718283646","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@next-auth/typeorm-legacy-adapter","version":"2.0.0","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@2.0.0","maintainers":[{"name":"ndom91","email":"yo@ndo.dev"},{"name":"balazsorban","email":"info@balazsorban.com"},{"name":"iaincollins","email":"me@iaincollins.com"}],"contributors":[{"name":"Balázs Orbán","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/next-auth/issues"},"dist":{"shasum":"1b94dcf9d8306c40c56e93cd85f3030c83480be2","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-2.0.0.tgz","fileCount":9,"integrity":"sha512-ycaW9map++CsW+6I2dQ0KZHdtk9Ayqd8bZgrOF0ouHIXsnAKzbPXy54/awbk+ZWoWXRH+2frXoeVVMzRPEfPeA==","signatures":[{"sig":"MEUCIGhRD8CczTexyffLAbBITTDj1ZmaOkcTq44NH6RyeFrrAiEAhRHO9GE7SBRHh4xW/D+YEdMZx4CdOdM7knGxEtsT/0E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27396,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJizrcPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr+EA/+LYO0ejjEgbfC2kLer/AI4tLy3YGRGBmO2Nr0RBCfNLx1Yexg\r\n8iB3xa10aSETrMDsjuFuei+C2fnnTXhJaQtYRSIL6Y3TjtpKRj0ShOOpV05h\r\nUWtEaMK7WsNICHaQX+EZ4DQkZ8YNAqqcBc5SQbjC+yG2f5e/JBcfsahZKwx9\r\nWo4YahB9H3av+VniwBWOnT4I2hljIF9sXrPu7TRV9u9ZtVdX0vXJKxJXlWPL\r\nZXYBly9DWbqJ/nNNFekmxoiOinc6xIaTG3BhkuG8O484gvU8EkyTdEC9qLQn\r\ntybKZ9u6SNUUbflu8jMg7+qFI6hFehMNRcZNv5nli6YfvhTvBNyhd6Xh4GQM\r\nHnoXj7BRVhTEiD24Lio+3zNLH5Cywp2b9XJbvIyZc8TCXHThMaOOBMBFrLSs\r\nlc1wz116EBxzp7zYNPhRRk2sT29+kZNguzLRpLFbBMe3Oj/xHu6J9DkL2HEA\r\nKbugPtlkxQkqF1V8Rz4fG4baMHNnszhZ7/eR+/dBEiXjyrTxvkf8JuvVtHNM\r\nd+k282+GWS7FozV6F1pm/+hZyOwy3Z006a5RpISYtTCSOzaiWKdWfhCp0vtE\r\nZ3XW3/ktRFd1/+yV7apu6h+E6s++xHy0iiASxyC7EWgXfKtpNeYbO2csp/sI\r\nwUtSUXoqusrAF+P8k0WLcHIYBGUrIjgtz8o=\r\n=a4Kq\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"@next-auth/adapter-test/jest"},"main":"dist/index.js","_from":"file:next-auth-typeorm-legacy-adapter-2.0.0.tgz","types":"./dist/index.d.ts","private":false,"scripts":{"test":"tests/test.sh","build":"tsc","mysql":"pnpm init:db && tests/mysql/test.sh","sqlite":"tests/sqlite/test.sh","init:db":"tests/init.sh","postgres":"pnpm init:db && tests/postgresql/test.sh","test:containers":"tests/test.sh"},"_npmUser":{"name":"balazsorban","email":"info@balazsorban.com"},"_resolved":"/tmp/152a23fc1bf5a334ca63034b359d876a/next-auth-typeorm-legacy-adapter-2.0.0.tgz","_integrity":"sha512-ycaW9map++CsW+6I2dQ0KZHdtk9Ayqd8bZgrOF0ouHIXsnAKzbPXy54/awbk+ZWoWXRH+2frXoeVVMzRPEfPeA==","repository":{"url":"git+https://github.com/nextauthjs/next-auth.git","type":"git"},"_npmVersion":"8.11.0","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"16.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pg":"^8.7.3","jest":"^27.4.3","mssql":"^7.2.1","mysql":"^2.18.1","sqlite3":"^5.0.8","typeorm":"0.3.7","next-auth":"4.10.0","typescript":"^4.7.4","@next-auth/tsconfig":"0.0.0","@next-auth/adapter-test":"0.0.0","typeorm-naming-strategies":"^4.1.0"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1 || 7","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"0.3.7","next-auth":"^4"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"sqlite3":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_2.0.0_1657714447216_0.4576293027926268","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"@next-auth/typeorm-legacy-adapter","version":"2.0.1","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@2.0.1","maintainers":[{"name":"thvu","email":"hi@thvu.dev"},{"name":"ndom91","email":"yo@ndo.dev"},{"name":"balazsorban","email":"info@balazsorban.com"},{"name":"iaincollins","email":"me@iaincollins.com"}],"contributors":[{"name":"Balázs Orbán","email":"info@balazsorban.com"}],"homepage":"https://next-auth.js.org","bugs":{"url":"https://github.com/nextauthjs/next-auth/issues"},"dist":{"shasum":"269ddb1ac80aa0af0e9e385c3e91caf81f5e4daa","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-2.0.1.tgz","fileCount":9,"integrity":"sha512-TwWQQI31C9w9NNSaLPsjI5vwWUJLHe+w4774bdbyIpt+bjzPiBkibYeTzqfaoDIS2yiZJZyB3Gfu8dOPH0FONQ==","signatures":[{"sig":"MEUCIADnwv40XWbL4hCMD4B72j25nlO/QLtjZ5O9VhaPYSW/AiEA+Y7a4AjWAuFoy6e8DO2EQ5+YF6ZrGBakPSJnaWnkAOU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27417,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQux+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqwWRAAkZyhoQaOg3e+2/b4ccs19m6DyHuITtm7JByk5bHY1FWulz7O\r\n1L0L9Awo/4RU6Dz/UyinRBTyu0LGlAUgq0zWtcO8DFGfqmgLdvmlICxpWxIh\r\nx0+hnbT8/aH0SgJEzgRmGxE4LUi1PL3F8Tt/uaaKa7SM4XJB/wM2Mf9fsYLZ\r\nwToHwdvYCJA4xEfkA17CyXL3u02f/7hrZbafjAaPmFf3hg/ofn6BnYk2Ni7k\r\nzYcyErvXbORFfofUPo8DqXcVsN9eDN86TkiKtM1QMfF79vwnQQlHyfQXSAnT\r\npGantFh0X0P3WCabRDE3wW+siC0cDEG0UMS/OODFMvispN+ceuSruzg7lwBK\r\nRUHh0pNk190hpdtuZTrtRnYmDlaTArUlHKA4qc1fpo1fi3c8G7DNKyprr7AT\r\nz2+hylCctBPUE/EFBvhFg4Ieti0j2kTVDCBbuzC7pcUanXxEy+GXg6GLE6sL\r\nNPZlkcDqgPaQ+w449ZsBeECxrSocrLuUO4bdhlj3+xAjey6MH4jBhWCsqRvk\r\n/5ovB+w5AcdMV2k5vJqA4M9vNZq7qA6LTokdmypaypEcreBDd79/nlyWU93N\r\nxIWm8n1v7wYDB4KorFptWr98DNJQy7EfnAGGXqVb0ooQLj7/2o/7zfOnfoou\r\nLXbzRtAzNgLOGQopdJd85J/nkiXYwS3kGuE=\r\n=pZ28\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"@next-auth/adapter-test/jest"},"main":"dist/index.js","_from":"file:next-auth-typeorm-legacy-adapter-2.0.1.tgz","types":"./dist/index.d.ts","private":false,"scripts":{"dev":"tsc -w","test":"tests/test.sh","build":"tsc","clean":"rm -rf dist","mysql":"pnpm init:db && tests/mysql/test.sh","sqlite":"tests/sqlite/test.sh","init:db":"tests/init.sh","postgres":"pnpm init:db && tests/postgresql/test.sh","test:containers":"tests/test.sh"},"_npmUser":{"name":"balazsorban","email":"info@balazsorban.com"},"_resolved":"/tmp/ad045f6c019a965b3185fd62ea7c1dad/next-auth-typeorm-legacy-adapter-2.0.1.tgz","_integrity":"sha512-TwWQQI31C9w9NNSaLPsjI5vwWUJLHe+w4774bdbyIpt+bjzPiBkibYeTzqfaoDIS2yiZJZyB3Gfu8dOPH0FONQ==","repository":{"url":"git+https://github.com/nextauthjs/next-auth.git","type":"git"},"_npmVersion":"8.15.0","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"16.17.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pg":"^8.7.3","jest":"^27.4.3","mssql":"^7.2.1","mysql":"^2.18.1","sqlite3":"^5.0.8","typeorm":"0.3.7","next-auth":"4.12.3","typescript":"^4.7.4","@next-auth/tsconfig":"0.0.0","@next-auth/adapter-test":"0.0.0","typeorm-naming-strategies":"^4.1.0"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1 || 7","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"0.3.7","next-auth":"^4"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"sqlite3":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_2.0.1_1665330302571_0.3590143462490041","host":"s3://npm-registry-packages"}},"2.0.2":{"name":"@next-auth/typeorm-legacy-adapter","version":"2.0.2","keywords":["next-auth","next.js","oauth","typeorm"],"author":{"name":"Iain Collins"},"license":"ISC","_id":"@next-auth/typeorm-legacy-adapter@2.0.2","maintainers":[{"name":"thvu","email":"hi@thvu.dev"},{"name":"ndom91","email":"yo@ndo.dev"},{"name":"balazsorban","email":"info@balazsorban.com"},{"name":"iaincollins","email":"me@iaincollins.com"}],"contributors":[{"name":"Balázs Orbán","email":"info@balazsorban.com"}],"homepage":"https://authjs.dev","bugs":{"url":"https://github.com/nextauthjs/next-auth/issues"},"dist":{"shasum":"90ea0c7c35ed5baaae0f38218e1591e6f5ef36bb","tarball":"https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-2.0.2.tgz","fileCount":9,"integrity":"sha512-S74GepULrPA8Dym1FPSP5CUqbTyxPPeSB0ffe42OCzUEsO7qkV87syrCXUEmGUzGF7uvdc+dsOsxF94Ob11yCw==","signatures":[{"sig":"MEUCIAZS+mD2q7mgTvFFAh1/Gzw3w5j9sTiEOk4cOLtLpu5LAiEA3rKtFxX1oWtfd1GdLR120V5g1RxvdMXxF0e8KM6Q9pY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38703,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPtcbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoHkA/7BlRZ8p8X2U0k35Xm86IoNIacVeybBqT5NuZ+gXrz71nLsvP8\r\nr0pKT2747OXReFLaf9/Pra7udo3qVv1DRMvZyAz/P2YGt8IM4eTeVCE37W4q\r\nrXiEJ5czhcFOkBUZ48Uf3Ffkz0nBHkN/X4sKv2vJJufrj0iaqxBPGAUO+Utb\r\nHD7E5FqLQLcu9U7pPGEDP2zrfkp0XMVxnXkJPp2hmR+GqU4Xi2uf1FBC2rKZ\r\nwRPua8c7/vxLiTd4AlR60ndFM0pU8L+QNHJDM0jF87xk+uXh2xpeapwNw3GZ\r\n9JE9bW0QXTnUG8sJhmrsCGaNsMk6U2nd6RtRZ/ILYhMZQKxqZlOK5po49hfl\r\nTZ7XMqs06DjqIEUR9ZaqL7bSH73yNCWNnsWTP2whD8nonvcvHAtjqgiMq8sJ\r\n1rnuQjEPq/tqtQmVUT+z3SduoHQ77/WWFr7Aco0pEm8ROxd4KdjGHWEuEhlL\r\najvnf0M2rBheGxye0c4dHX+AuYfPfduM3+rUmaDBiAYbcrXA66SHdeiBuGRA\r\nCS9g7mBS9VomND4wTbeX6D1OnHysnG6gmAIRV3JqB+8m+bWqKtYxjMfNwP/b\r\nYo4U1o0CCO4BV8lm40o71kftUl2/kWY3VPfAWk8LyD0OAflCgj0rOx/5SIx6\r\nvKhkyy9FNDXqEzMgCFYSWXmoDtzi2AMZGLU=\r\n=kzrV\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"@next-auth/adapter-test/jest"},"main":"dist/index.js","_from":"file:next-auth-typeorm-legacy-adapter-2.0.2.tgz","types":"./dist/index.d.ts","private":false,"scripts":{"dev":"tsc -w","test":"tests/test.sh","build":"tsc","clean":"rm -rf dist","mysql":"pnpm init:db && tests/mysql/test.sh","sqlite":"tests/sqlite/test.sh","init:db":"tests/init.sh","postgres":"pnpm init:db && tests/postgresql/test.sh","test:containers":"tests/test.sh"},"_npmUser":{"name":"balazsorban","email":"info@balazsorban.com"},"_resolved":"/tmp/94f21c259baea56a2eb85b469ea535c7/next-auth-typeorm-legacy-adapter-2.0.2.tgz","_integrity":"sha512-S74GepULrPA8Dym1FPSP5CUqbTyxPPeSB0ffe42OCzUEsO7qkV87syrCXUEmGUzGF7uvdc+dsOsxF94Ob11yCw==","repository":{"url":"git+https://github.com/nextauthjs/next-auth.git","type":"git"},"_npmVersion":"9.5.0","description":"TypeORM (legacy) adapter for next-auth.","directories":{},"_nodeVersion":"18.15.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pg":"^8.7.3","jest":"^27.4.3","mssql":"^7.2.1","mysql":"^2.18.1","sqlite3":"^5.0.8","typeorm":"0.3.7","next-auth":"4.22.0","typescript":"^4.7.4","@next-auth/tsconfig":"0.0.0","@next-auth/adapter-test":"0.0.0","typeorm-naming-strategies":"^4.1.0"},"peerDependencies":{"pg":"^8.2.1","mssql":"^6.2.1 || 7","mysql":"^2.18.1","sqlite3":"^5.0.2","typeorm":"0.3.7","next-auth":"^4"},"peerDependenciesMeta":{"pg":{"optional":true},"mssql":{"optional":true},"mysql":{"optional":true},"sqlite3":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/typeorm-legacy-adapter_2.0.2_1681839899694_0.7790295196113235","host":"s3://npm-registry-packages"}}},"time":{"created":"2021-04-25T23:31:32.180Z","modified":"2026-04-14T19:04:11.341Z","0.0.2-pr.63.110":"2021-04-25T23:31:32.715Z","0.0.2-canary.108":"2021-04-25T23:36:44.957Z","0.0.2-canary.116":"2021-04-26T21:31:17.621Z","0.0.2-canary.117":"2021-04-26T21:43:36.327Z","0.0.2-pr.77.130":"2021-05-07T15:31:29.421Z","0.0.2-pr.77.131":"2021-05-10T19:57:42.829Z","0.0.2-canary.124":"2021-05-10T20:10:18.350Z","0.0.2-canary.125":"2021-05-10T20:39:38.924Z","0.0.2-pr.78.134":"2021-05-10T21:12:52.713Z","0.0.2-canary.126":"2021-05-10T21:22:26.851Z","0.0.2-canary.128":"2021-05-11T11:44:24.543Z","0.0.2-canary.129":"2021-05-11T13:22:35.335Z","0.0.2-pr.97.150":"2021-05-23T19:31:24.606Z","0.0.2-canary.155":"2021-05-23T19:59:22.355Z","0.0.2-pr.135.218":"2021-06-14T23:35:39.687Z","0.0.2-canary.218":"2021-06-15T16:37:54.233Z","0.1.0":"2021-06-26T22:55:51.740Z","0.1.1-pr.150.4":"2021-06-27T18:02:28.748Z","0.1.1-experimental-287d61f1a9c8050b98e6562052447ad6a9c5f711.4":"2021-06-27T20:27:02.294Z","0.1.1-pr.152-4decd71c.5":"2021-06-28T00:31:35.517Z","0.1.1-pr.152-8a53cb89.5":"2021-06-28T00:42:45.211Z","0.1.1-pr.152.5":"2021-06-28T00:49:07.982Z","0.1.1":"2021-06-30T21:34:29.849Z","0.1.2-pr.161-a5ac75dd.3":"2021-07-02T11:50:47.575Z","0.1.2-pr.161-5d16ecff.3":"2021-07-02T12:30:29.355Z","0.1.2":"2021-07-02T12:58:08.133Z","0.1.3":"2021-07-11T15:04:49.452Z","0.1.2-next.4":"2021-07-11T15:11:33.256Z","0.1.4":"2021-08-17T11:37:01.831Z","0.1.2-pr.185-c509edcb.8":"2021-08-30T21:49:38.912Z","0.1.2-pr.185-77b5b35c.8":"2021-08-30T22:00:03.896Z","0.1.2-pr.185-c400b8fb.8":"2021-08-30T22:03:31.358Z","0.1.2-pr.185-bb3bb5c2.8":"2021-08-30T22:08:56.211Z","0.1.2-pr.185-89cbca03.8":"2021-08-30T22:11:14.496Z","0.1.2-pr.185-3bc87fcd.8":"2021-08-31T00:22:54.513Z","0.1.2-pr.185-413637cd.8":"2021-09-04T18:08:34.921Z","0.1.2-pr.185-2611b58d.8":"2021-09-05T10:01:10.348Z","0.1.2-pr.185-8bdab296.8":"2021-09-05T10:12:07.466Z","0.1.2-next.8":"2021-09-05T10:57:51.339Z","0.1.2-next.11":"2021-09-18T22:01:10.679Z","0.1.2-pr.239-5d75e44b.12":"2021-09-19T15:33:16.653Z","0.1.2-pr.239-8a7cd34c.12":"2021-09-19T15:39:50.497Z","0.1.2-pr.239-322b877d.12":"2021-09-19T15:42:10.970Z","0.1.2-pr.239-06daecda.12":"2021-09-19T15:44:02.665Z","0.1.2-pr.239-fc2203e4.12":"2021-09-19T22:16:38.428Z","0.1.2-pr.239-e9061a11.12":"2021-09-19T22:18:20.337Z","0.1.2-next.12":"2021-09-19T22:20:24.593Z","0.1.2-pr.243-dde8efe9.13":"2021-09-19T22:39:03.701Z","0.1.2-pr.243-f872af4f.13":"2021-09-19T22:39:56.492Z","0.1.2-pr.243-1ea7c527.13":"2021-09-19T22:48:15.836Z","0.1.2-next.13":"2021-09-19T22:56:41.142Z","0.1.2-next.17":"2021-09-27T11:55:00.245Z","0.1.2-pr.274-8c5c0fd1.18":"2021-10-19T21:58:14.354Z","0.1.2-pr.275-de012685.18":"2021-10-19T22:01:25.253Z","0.1.2-next.18":"2021-10-20T08:47:34.644Z","0.1.2-next.19":"2021-10-20T11:06:34.841Z","0.1.2-pr.307-f193e1d9.20":"2021-11-11T22:35:23.929Z","0.1.2-next.20":"2021-11-17T22:20:12.128Z","1.0.0":"2021-12-01T16:32:24.734Z","1.0.1":"2021-12-06T16:20:24.195Z","1.0.2":"2022-03-15T22:06:13.578Z","1.0.3":"2022-03-17T18:24:41.247Z","2.0.0":"2022-07-13T12:14:07.436Z","2.0.1":"2022-10-09T15:45:02.850Z","2.0.2":"2023-04-18T17:44:59.855Z"},"bugs":{"url":"https://github.com/nextauthjs/next-auth/issues"},"author":{"name":"Iain Collins"},"license":"ISC","homepage":"https://authjs.dev","keywords":["next-auth","next.js","oauth","typeorm"],"repository":{"url":"git+https://github.com/nextauthjs/next-auth.git","type":"git"},"description":"TypeORM (legacy) adapter for next-auth.","contributors":[{"name":"Balázs Orbán","email":"info@balazsorban.com"}],"maintainers":[{"email":"gustavo@better-auth.com","name":"better-gustavo"},{"email":"Bekacru@gmail.com","name":"bekacru"}],"readme":"<p align=\"center\">\n  <br/>\n  <a href=\"https://authjs.dev\" target=\"_blank\">\n    <img height=\"64px\" src=\"https://authjs.dev/img/logo/logo-sm.png\" />\n  </a>\n  <a href=\"https://typeorm.io\" target=\"_blank\">\n    <img height=\"64px\" src=\"https://authjs.dev/img/adapters/typeorm.png\"/>\n  </a>\n  <h3 align=\"center\"><b>TypeORM Adapter</b> - NextAuth.js / Auth.js</a></h3>\n  <p align=\"center\" style=\"align: center;\">\n    <a href=\"https://npm.im/@next-auth/typeorm-legacy-adapter\">\n      <img src=\"https://img.shields.io/badge/TypeScript-blue?style=flat-square\" alt=\"TypeScript\" />\n    </a>\n    <a href=\"https://npm.im/@next-auth/typeorm-legacy-adapter\">\n      <img alt=\"npm\" src=\"https://img.shields.io/npm/v/@next-auth/typeorm-legacy-adapter?color=green&label=@next-auth/typeorm-legacy-adapter&style=flat-square\">\n    </a>\n    <a href=\"https://www.npmtrends.com/@next-auth/typeorm-legacy-adapter\">\n      <img src=\"https://img.shields.io/npm/dm/@next-auth/typeorm-legacy-adapter?label=%20downloads&style=flat-square\" alt=\"Downloads\" />\n    </a>\n    <a href=\"https://github.com/nextauthjs/next-auth/stargazers\">\n      <img src=\"https://img.shields.io/github/stars/nextauthjs/next-auth?style=flat-square\" alt=\"Github Stars\" />\n    </a>\n  </p>\n</p>\n\n---\n\nCheck out the documentation at [authjs.dev](https://authjs.dev/reference/adapter/typeorm).","readmeFilename":"README.md"}