[{"id":"36775808976","type":"WatchEvent","actor":{"id":39585600,"login":"amandesai01","display_login":"amandesai01","gravatar_id":"","url":"https://api.github.com/users/amandesai01","avatar_url":"https://avatars.githubusercontent.com/u/39585600?"},"repo":{"id":638977768,"name":"unjs/db0","url":"https://api.github.com/repos/unjs/db0"},"payload":{"action":"started"},"public":true,"created_at":"2024-03-21T20:25:59Z","org":{"id":80154025,"login":"unjs","gravatar_id":"","url":"https://api.github.com/orgs/unjs","avatar_url":"https://avatars.githubusercontent.com/u/80154025?"}},{"id":"36720094987","type":"IssueCommentEvent","actor":{"id":39585600,"login":"amandesai01","display_login":"amandesai01","gravatar_id":"","url":"https://api.github.com/users/amandesai01","avatar_url":"https://avatars.githubusercontent.com/u/39585600?"},"repo":{"id":890377,"name":"networkx/networkx","url":"https://api.github.com/repos/networkx/networkx"},"payload":{"action":"created","issue":{"url":"https://api.github.com/repos/networkx/networkx/issues/7362","repository_url":"https://api.github.com/repos/networkx/networkx","labels_url":"https://api.github.com/repos/networkx/networkx/issues/7362/labels{/name}","comments_url":"https://api.github.com/repos/networkx/networkx/issues/7362/comments","events_url":"https://api.github.com/repos/networkx/networkx/issues/7362/events","html_url":"https://github.com/networkx/networkx/issues/7362","id":2196854516,"node_id":"I_kwDOAA2WCc6C8Vb0","number":7362,"title":"Goldberg-Radzik Algorithm Reports Negative Cycle Outside Connected Components","user":{"login":"iany0","id":109349106,"node_id":"U_kgDOBoSI8g","avatar_url":"https://avatars.githubusercontent.com/u/109349106?v=4","gravatar_id":"","url":"https://api.github.com/users/iany0","html_url":"https://github.com/iany0","followers_url":"https://api.github.com/users/iany0/followers","following_url":"https://api.github.com/users/iany0/following{/other_user}","gists_url":"https://api.github.com/users/iany0/gists{/gist_id}","starred_url":"https://api.github.com/users/iany0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iany0/subscriptions","organizations_url":"https://api.github.com/users/iany0/orgs","repos_url":"https://api.github.com/users/iany0/repos","events_url":"https://api.github.com/users/iany0/events{/privacy}","received_events_url":"https://api.github.com/users/iany0/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2024-03-20T07:30:52Z","updated_at":"2024-03-20T12:22:35Z","closed_at":null,"author_association":"NONE","active_lock_reason":null,"body":"### Current Behavior\r\nThe `goldberg_radzik` identifies a negative cycle in situations where there is an isolated component with a negative cycle, and the specified source node for the algorithm is not part of that isolated component. According to the `goldberg_radzik` documentation, \"In the case where the (di)graph is not connected, if a component not containing the source contains a negative (di)cycle, it will not be detected\". However, this negative cycle is reported regardless of the source node's connectivity to the component.\r\n\r\n### Steps to Reproduce\r\n\r\n```python\r\nG = nx.DiGraph()\r\nfor i in range(7):\r\n G.add_node(i)\r\nedges_data = [\r\n (0, 1, 2), (1, 2, 3), (2, 3, 2), (3, 0, 1),\r\n (4, 5, 1), (5, 5, -1), (5, 6, 1), (6, 4, 1)\r\n]\r\nfor u, v, w in edges_data:\r\n G.add_edge(u, v, weight=w)\r\n\r\npred, dist = nx.goldberg_radzik(G, 1)\r\n```\r\n\r\n### Environment\r\n\r\nPython version: 3.9\r\nNetworkX version: 3.2.1","reactions":{"url":"https://api.github.com/repos/networkx/networkx/issues/7362/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/networkx/networkx/issues/7362/timeline","performed_via_github_app":null,"state_reason":null},"comment":{"url":"https://api.github.com/repos/networkx/networkx/issues/comments/2009442982","html_url":"https://github.com/networkx/networkx/issues/7362#issuecomment-2009442982","issue_url":"https://api.github.com/repos/networkx/networkx/issues/7362","id":2009442982,"node_id":"IC_kwDOAA2WCc53xaqm","user":{"login":"amandesai01","id":39585600,"node_id":"MDQ6VXNlcjM5NTg1NjAw","avatar_url":"https://avatars.githubusercontent.com/u/39585600?v=4","gravatar_id":"","url":"https://api.github.com/users/amandesai01","html_url":"https://github.com/amandesai01","followers_url":"https://api.github.com/users/amandesai01/followers","following_url":"https://api.github.com/users/amandesai01/following{/other_user}","gists_url":"https://api.github.com/users/amandesai01/gists{/gist_id}","starred_url":"https://api.github.com/users/amandesai01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amandesai01/subscriptions","organizations_url":"https://api.github.com/users/amandesai01/orgs","repos_url":"https://api.github.com/users/amandesai01/repos","events_url":"https://api.github.com/users/amandesai01/events{/privacy}","received_events_url":"https://api.github.com/users/amandesai01/received_events","type":"User","site_admin":false},"created_at":"2024-03-20T12:22:34Z","updated_at":"2024-03-20T12:22:34Z","author_association":"NONE","body":"Can you provide link to the documentation you are referring?","reactions":{"url":"https://api.github.com/repos/networkx/networkx/issues/comments/2009442982/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null}},"public":true,"created_at":"2024-03-20T12:22:36Z","org":{"id":388785,"login":"networkx","gravatar_id":"","url":"https://api.github.com/orgs/networkx","avatar_url":"https://avatars.githubusercontent.com/u/388785?"}},{"id":"36712498666","type":"WatchEvent","actor":{"id":39585600,"login":"amandesai01","display_login":"amandesai01","gravatar_id":"","url":"https://api.github.com/users/amandesai01","avatar_url":"https://avatars.githubusercontent.com/u/39585600?"},"repo":{"id":760472695,"name":"unjs/confbox","url":"https://api.github.com/repos/unjs/confbox"},"payload":{"action":"started"},"public":true,"created_at":"2024-03-20T08:17:33Z","org":{"id":80154025,"login":"unjs","gravatar_id":"","url":"https://api.github.com/orgs/unjs","avatar_url":"https://avatars.githubusercontent.com/u/80154025?"}},{"id":"36602129519","type":"IssueCommentEvent","actor":{"id":39585600,"login":"amandesai01","display_login":"amandesai01","gravatar_id":"","url":"https://api.github.com/users/amandesai01","avatar_url":"https://avatars.githubusercontent.com/u/39585600?"},"repo":{"id":350360184,"name":"calcom/cal.com","url":"https://api.github.com/repos/calcom/cal.com"},"payload":{"action":"created","issue":{"url":"https://api.github.com/repos/calcom/cal.com/issues/13290","repository_url":"https://api.github.com/repos/calcom/cal.com","labels_url":"https://api.github.com/repos/calcom/cal.com/issues/13290/labels{/name}","comments_url":"https://api.github.com/repos/calcom/cal.com/issues/13290/comments","events_url":"https://api.github.com/repos/calcom/cal.com/issues/13290/events","html_url":"https://github.com/calcom/cal.com/issues/13290","id":2087157331,"node_id":"I_kwDOFOISeM58Z35T","number":13290,"title":"[CAL-3060] JSON Error during login due to incorrect encoding on CALENDSO_ENCRYPTION_KEY","user":{"login":"jdalrymple","id":3743662,"node_id":"MDQ6VXNlcjM3NDM2NjI=","avatar_url":"https://avatars.githubusercontent.com/u/3743662?v=4","gravatar_id":"","url":"https://api.github.com/users/jdalrymple","html_url":"https://github.com/jdalrymple","followers_url":"https://api.github.com/users/jdalrymple/followers","following_url":"https://api.github.com/users/jdalrymple/following{/other_user}","gists_url":"https://api.github.com/users/jdalrymple/gists{/gist_id}","starred_url":"https://api.github.com/users/jdalrymple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdalrymple/subscriptions","organizations_url":"https://api.github.com/users/jdalrymple/orgs","repos_url":"https://api.github.com/users/jdalrymple/repos","events_url":"https://api.github.com/users/jdalrymple/events{/privacy}","received_events_url":"https://api.github.com/users/jdalrymple/received_events","type":"User","site_admin":false},"labels":[{"id":4810673034,"node_id":"LA_kwDOFOISeM8AAAABHr0Lig","url":"https://api.github.com/repos/calcom/cal.com/labels/Low%20priority","name":"Low priority","color":"16a34a","default":false,"description":"Created by Linear-GitHub Sync"},{"id":5074176455,"node_id":"LA_kwDOFOISeM8AAAABLnHJxw","url":"https://api.github.com/repos/calcom/cal.com/labels/self-hosting","name":"self-hosting","color":"654C7A","default":false,"description":""},{"id":5639418182,"node_id":"LA_kwDOFOISeM8AAAABUCKxRg","url":"https://api.github.com/repos/calcom/cal.com/labels/authentication","name":"authentication","color":"bec2c8","default":false,"description":"area: authentication, auth, google sign in, password, SAML, password reset, can't log in"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/calcom/cal.com/milestones/47","html_url":"https://github.com/calcom/cal.com/milestone/47","labels_url":"https://api.github.com/repos/calcom/cal.com/milestones/47/labels","id":10237354,"node_id":"MI_kwDOFOISeM4AnDWq","number":47,"title":"v4.0","description":" (Project)\r\n\r\n> From [SyncLinear.com](https://synclinear.com)","creator":{"login":"PeerRich","id":8019099,"node_id":"MDQ6VXNlcjgwMTkwOTk=","avatar_url":"https://avatars.githubusercontent.com/u/8019099?v=4","gravatar_id":"","url":"https://api.github.com/users/PeerRich","html_url":"https://github.com/PeerRich","followers_url":"https://api.github.com/users/PeerRich/followers","following_url":"https://api.github.com/users/PeerRich/following{/other_user}","gists_url":"https://api.github.com/users/PeerRich/gists{/gist_id}","starred_url":"https://api.github.com/users/PeerRich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeerRich/subscriptions","organizations_url":"https://api.github.com/users/PeerRich/orgs","repos_url":"https://api.github.com/users/PeerRich/repos","events_url":"https://api.github.com/users/PeerRich/events{/privacy}","received_events_url":"https://api.github.com/users/PeerRich/received_events","type":"User","site_admin":false},"open_issues":113,"closed_issues":6,"state":"open","created_at":"2023-11-27T17:27:00Z","updated_at":"2024-03-15T16:00:46Z","due_on":"2024-04-15T07:00:00Z","closed_at":null},"comments":2,"created_at":"2024-01-17T23:06:13Z","updated_at":"2024-03-15T23:41:44Z","closed_at":null,"author_association":"NONE","active_lock_reason":null,"body":"### Issue Summary\n\nAfter a fresh install, I go to login and after about 20 seconds, i see this error pop up in the login screen:\n\n![image](https://uploads.linear.app/e86bf957-d82f-465e-b205-135559f4b623/7674c8fe-1726-40f2-85e4-9087cd601839/c8a506d1-d81c-4146-968c-bde64031612b?signature=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwYXRoIjoiL2U4NmJmOTU3LWQ4MmYtNDY1ZS1iMjA1LTEzNTU1OWY0YjYyMy83Njc0YzhmZS0xNzI2LTQwZjItODVlNC05MDg3Y2Q2MDE4MzkvYzhhNTA2ZDEtZDgxYy00MTQ2LTk2OGMtYmRlNjQwMzE2MTJiIiwiaWF0IjoxNzA2NzE0OTM0LCJleHAiOjE3MDY4MDEzMzR9.-wAXHUh7h1RGFLrMtld2tMTfoQBnQ2k9nFk6ZmKXBII)\n\nNote related issues: #9527 #9690\nOriginal issue: [https://github.com/calcom/docker/issues/321](https://github.com/calcom/docker/issues/321)\n\n### Steps to Reproduce\n\n1. Setup repository locally and generate template .env file as per the [instructions](!%5Bimage%5D(https://github.com/calcom/cal.com/assets/3743662/340d8c50-2485-4da1-996b-07e8c36649ec))\n2. Update the .env file to use a secret generated by this command as described in the [comments](https://github.com/calcom/cal.com/blob/e99e8b169afe72e188a56f8ecb7c7e82335a1043/.env.example#L92) for the CALENDSO_ENCRYPTION_KEY env variable\n\n```\nopenssl rand -base64 32\n```\n\n1. spin up docker containers via `docker compose up -d`\n2. Login\n3. Be greeted by this banner 'You are admin but you do not have a password length of at least 15 characters or no 2FA yet Change Password to gain admin access'\n4. Attempt to setup twofactor auth and receive error messages shown in images below\n\n### Actual Results\n\n![image](https://uploads.linear.app/e86bf957-d82f-465e-b205-135559f4b623/913de513-d0fb-4cce-9c64-a5f471e3b0bd/8ee46aae-3805-4b37-85f9-a128e228ee82?signature=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwYXRoIjoiL2U4NmJmOTU3LWQ4MmYtNDY1ZS1iMjA1LTEzNTU1OWY0YjYyMy85MTNkZTUxMy1kMGZiLTRjY2UtOWM2NC1hNWY0NzFlM2IwYmQvOGVlNDZhYWUtMzgwNS00YjM3LTg1ZjktYTEyOGUyMjhlZTgyIiwiaWF0IjoxNzA2NzE0OTM0LCJleHAiOjE3MDY4MDEzMzR9.6c9ib5TrH8Mq6ZrOMlI6Nc9ingTIwdJ_87kyjoJM2ns)\n\n### Expected Results\n\nNot have issues with the encryption key.\n\n### Technical details\n\n*Environment:*\n\nHosting service: GCP e2-small\nOS: Debian Bullseye\nDocker Images: see [docker compose](https://github.com/calcom/docker/blob/main/docker-compose.yaml) file\n\n*Config:*\n\nI kept the defaults from here, however ive updated the NEXT_PUBLIC_WEBAPP_URL to be my own domain.\n\n### Evidence\n\nThis was tested using the docker containers outlined above, both locally and in the cloud to limit any additional sources of error.\n\nHere are my findings in the order in which i found them:\n\n**update 1**\n\nI do see this error in the browser console:\n\n```\nError setting up two-factor authentication SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data two-factor-auth-5a03d5ad2d4dbd78.js:1:5962\nhandleSetup NextJS\n```\n\n**update 2**\n\nIt looks like the fetch call to '...api/auth/two-factor/totp/setup' is returning an internal server error, which then sends back the JSON error when the response.json() function is called.\n\n**update 3**\n\nDefault config is outdated. The newer config file makes sure to specify the length of the encryption key:\n\n```\n# Application Key for symmetric encryption and decryption\n# must be 32 bytes for AES256 encryption algorithm\n# You can use: `openssl rand -base64 32` to generate one\nCALENDSO_ENCRYPTION_KEY=\n```\n\n**update 4**\n\nSo even changing the key to a 32 byte key using the algo mentioned above, the error still persists:\n\n```\n: RangeError: Invalid key length\n@calcom/web:start: at Cipheriv.createCipherBase (node:internal/crypto/cipher:122:19)\n@calcom/web:start: at Cipheriv.createCipherWithIV (node:internal/crypto/cipher:141:3)\n@calcom/web:start: at new Cipheriv (node:internal/crypto/cipher:249:3)\n@calcom/web:start: at Object.createCipheriv (node:crypto:141:10)\n@calcom/web:start: at symmetricEncrypt (/calcom/apps/web/.next/server/chunks/69559.js:1:278)\n@calcom/web:start: at handler (/calcom/apps/web/.next/server/pages/api/auth/two-factor/totp/setup.js:1:2125) {\n@calcom/web:start: code: 'ERR_CRYPTO_INVALID_KEYLEN'\n```\n\n**update 5**\n\nDoing some local testing with the touched code, it looks like the base64 encoding of the string generated through openssl rand -base64 32 command, is failing when converting into a buffer which sets the encoding to latin1, resulting in a 44 length string, not 32. This is what causes the error.\n\n**update 6**\n\nTemporary solution would be to just create a 32 character long alphanumeric string without the openssl function, and updating the docs/comments to reflect the importance of this, seeing as the Buffer.from function expects the string to be binary/latin1 encoded\n\nFrom [SyncLinear.com](https://synclinear.com) | [CAL-3060](https://linear.app/calcom/issue/CAL-3060/json-error-during-login-due-to-incorrect-encoding-on-calendso)","reactions":{"url":"https://api.github.com/repos/calcom/cal.com/issues/13290/reactions","total_count":2,"+1":2,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/calcom/cal.com/issues/13290/timeline","performed_via_github_app":null,"state_reason":null},"comment":{"url":"https://api.github.com/repos/calcom/cal.com/issues/comments/2000663413","html_url":"https://github.com/calcom/cal.com/issues/13290#issuecomment-2000663413","issue_url":"https://api.github.com/repos/calcom/cal.com/issues/13290","id":2000663413,"node_id":"IC_kwDOFOISeM53P7N1","user":{"login":"amandesai01","id":39585600,"node_id":"MDQ6VXNlcjM5NTg1NjAw","avatar_url":"https://avatars.githubusercontent.com/u/39585600?v=4","gravatar_id":"","url":"https://api.github.com/users/amandesai01","html_url":"https://github.com/amandesai01","followers_url":"https://api.github.com/users/amandesai01/followers","following_url":"https://api.github.com/users/amandesai01/following{/other_user}","gists_url":"https://api.github.com/users/amandesai01/gists{/gist_id}","starred_url":"https://api.github.com/users/amandesai01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amandesai01/subscriptions","organizations_url":"https://api.github.com/users/amandesai01/orgs","repos_url":"https://api.github.com/users/amandesai01/repos","events_url":"https://api.github.com/users/amandesai01/events{/privacy}","received_events_url":"https://api.github.com/users/amandesai01/received_events","type":"User","site_admin":false},"created_at":"2024-03-15T23:41:43Z","updated_at":"2024-03-15T23:41:43Z","author_association":"NONE","body":"So what is the fix? I just finished setting up this and facing same issue. Unable to gain admin access since it requires 2FA ","reactions":{"url":"https://api.github.com/repos/calcom/cal.com/issues/comments/2000663413/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null}},"public":true,"created_at":"2024-03-15T23:41:44Z","org":{"id":79145102,"login":"calcom","gravatar_id":"","url":"https://api.github.com/orgs/calcom","avatar_url":"https://avatars.githubusercontent.com/u/79145102?"}},{"id":"36500331760","type":"IssueCommentEvent","actor":{"id":39585600,"login":"amandesai01","display_login":"amandesai01","gravatar_id":"","url":"https://api.github.com/users/amandesai01","avatar_url":"https://avatars.githubusercontent.com/u/39585600?"},"repo":{"id":452269390,"name":"unjs/nitro","url":"https://api.github.com/repos/unjs/nitro"},"payload":{"action":"created","issue":{"url":"https://api.github.com/repos/unjs/nitro/issues/2253","repository_url":"https://api.github.com/repos/unjs/nitro","labels_url":"https://api.github.com/repos/unjs/nitro/issues/2253/labels{/name}","comments_url":"https://api.github.com/repos/unjs/nitro/issues/2253/comments","events_url":"https://api.github.com/repos/unjs/nitro/issues/2253/events","html_url":"https://github.com/unjs/nitro/issues/2253","id":2182958841,"node_id":"I_kwDOGvUVTs6CHU75","number":2253,"title":"asset.maxAge not applied with `fallthrough: true`","user":{"login":"nksaraf","id":11255148,"node_id":"MDQ6VXNlcjExMjU1MTQ4","avatar_url":"https://avatars.githubusercontent.com/u/11255148?v=4","gravatar_id":"","url":"https://api.github.com/users/nksaraf","html_url":"https://github.com/nksaraf","followers_url":"https://api.github.com/users/nksaraf/followers","following_url":"https://api.github.com/users/nksaraf/following{/other_user}","gists_url":"https://api.github.com/users/nksaraf/gists{/gist_id}","starred_url":"https://api.github.com/users/nksaraf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nksaraf/subscriptions","organizations_url":"https://api.github.com/users/nksaraf/orgs","repos_url":"https://api.github.com/users/nksaraf/repos","events_url":"https://api.github.com/users/nksaraf/events{/privacy}","received_events_url":"https://api.github.com/users/nksaraf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2024-03-13T01:47:19Z","updated_at":"2024-03-13T07:38:44Z","closed_at":null,"author_association":"CONTRIBUTOR","active_lock_reason":null,"body":"https://github.com/unjs/nitro/blob/b0f08c1c3b1b9e530c0ff9731aba399fd8ada0c3/src/nitro.ts#L85-L95\r\n\r\nLooks like when `fallthrough: true`, a publicAsset's `maxAge` property is not applied, so no cache-control headers are added.\r\n\r\nIs there a way to go around this. I need `fallthrough: true` because I want to server the `/public` dir at `/` base. But imagine i want a route rule too apply to all the public assets at `/**`, (but not the cases which fallthrough to a lower handlet). Is this not possible right now?","reactions":{"url":"https://api.github.com/repos/unjs/nitro/issues/2253/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/unjs/nitro/issues/2253/timeline","performed_via_github_app":null,"state_reason":null},"comment":{"url":"https://api.github.com/repos/unjs/nitro/issues/comments/1993736965","html_url":"https://github.com/unjs/nitro/issues/2253#issuecomment-1993736965","issue_url":"https://api.github.com/repos/unjs/nitro/issues/2253","id":1993736965,"node_id":"IC_kwDOGvUVTs521gMF","user":{"login":"amandesai01","id":39585600,"node_id":"MDQ6VXNlcjM5NTg1NjAw","avatar_url":"https://avatars.githubusercontent.com/u/39585600?v=4","gravatar_id":"","url":"https://api.github.com/users/amandesai01","html_url":"https://github.com/amandesai01","followers_url":"https://api.github.com/users/amandesai01/followers","following_url":"https://api.github.com/users/amandesai01/following{/other_user}","gists_url":"https://api.github.com/users/amandesai01/gists{/gist_id}","starred_url":"https://api.github.com/users/amandesai01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amandesai01/subscriptions","organizations_url":"https://api.github.com/users/amandesai01/orgs","repos_url":"https://api.github.com/users/amandesai01/repos","events_url":"https://api.github.com/users/amandesai01/events{/privacy}","received_events_url":"https://api.github.com/users/amandesai01/received_events","type":"User","site_admin":false},"created_at":"2024-03-13T07:38:43Z","updated_at":"2024-03-13T07:38:43Z","author_association":"NONE","body":"As I can see, it uses `defu` to apply defaults to provided routeRules. You can still pass in your own routeRules with the required headers. See: https://nitro.unjs.io/guide/routing#route-rules","reactions":{"url":"https://api.github.com/repos/unjs/nitro/issues/comments/1993736965/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null}},"public":true,"created_at":"2024-03-13T07:38:44Z","org":{"id":80154025,"login":"unjs","gravatar_id":"","url":"https://api.github.com/orgs/unjs","avatar_url":"https://avatars.githubusercontent.com/u/80154025?"}},{"id":"36489748948","type":"IssueCommentEvent","actor":{"id":39585600,"login":"amandesai01","display_login":"amandesai01","gravatar_id":"","url":"https://api.github.com/users/amandesai01","avatar_url":"https://avatars.githubusercontent.com/u/39585600?"},"repo":{"id":638977768,"name":"unjs/db0","url":"https://api.github.com/repos/unjs/db0"},"payload":{"action":"created","issue":{"url":"https://api.github.com/repos/unjs/db0/issues/62","repository_url":"https://api.github.com/repos/unjs/db0","labels_url":"https://api.github.com/repos/unjs/db0/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/unjs/db0/issues/62/comments","events_url":"https://api.github.com/repos/unjs/db0/issues/62/events","html_url":"https://github.com/unjs/db0/issues/62","id":2177718593,"node_id":"I_kwDOJhYG6M6BzVlB","number":62,"title":"Postgres connector: The requested module 'pg' does not provide an export named 'Client'","user":{"login":"noook","id":19751938,"node_id":"MDQ6VXNlcjE5NzUxOTM4","avatar_url":"https://avatars.githubusercontent.com/u/19751938?v=4","gravatar_id":"","url":"https://api.github.com/users/noook","html_url":"https://github.com/noook","followers_url":"https://api.github.com/users/noook/followers","following_url":"https://api.github.com/users/noook/following{/other_user}","gists_url":"https://api.github.com/users/noook/gists{/gist_id}","starred_url":"https://api.github.com/users/noook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noook/subscriptions","organizations_url":"https://api.github.com/users/noook/orgs","repos_url":"https://api.github.com/users/noook/repos","events_url":"https://api.github.com/users/noook/events{/privacy}","received_events_url":"https://api.github.com/users/noook/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2024-03-10T13:24:47Z","updated_at":"2024-03-12T21:29:22Z","closed_at":null,"author_association":"CONTRIBUTOR","active_lock_reason":null,"body":"### Environment\r\n\r\nNode.js: Reproducible with `v18.18.0` and `v21.6.2`\r\n\r\ndb0@0.1.4\r\npg@8.11.3\r\n\r\n### Reproduction\r\n\r\nhttps://stackblitz.com/edit/github-xvw4kq?file=package.json\r\n\r\n### Describe the bug\r\n\r\nGiven the following configuration:\r\n```ts\r\nimport { defineNitroConfig } from 'nitropack/config';\r\n\r\nexport default defineNitroConfig({\r\n srcDir: 'server',\r\n experimental: {\r\n database: true,\r\n },\r\n database: {\r\n default: {\r\n connector: 'postgresql',\r\n options: {\r\n url: '',\r\n },\r\n },\r\n },\r\n});\r\n```\r\n\r\nThe server fails to start because the `Client` import from \"pg\" does not seem to be exported.\r\n\r\n### Additional context\r\n\r\n\r\nI'm not sure what's happening here, but I can run this with no issue.\r\n```ts\r\n// nitro.config.ts\r\nimport { Client } from \"pg\"\r\nconsole.log(Client) // Works ππ» \r\n```\r\n\r\nI tried integrating without nitro's `useDatabase` with `pg`, and I am obliged to instantiate the client this way:\r\n```ts\r\n// server/utils/db.ts\r\nimport { drizzle, NodePgDatabase } from 'drizzle-orm/node-postgres';\r\nimport pg from 'pg' // <-\r\nimport * as schema from '~/server/database/schemas'\r\n\r\nlet _db: NodePgDatabase | null = null\r\n\r\nexport async function useDatabase() {\r\n if (!_db) {\r\n const client2 = new pg.Client({ // <-\r\n connectionString: import.meta.env.DATABASE_URL,\r\n })\r\n await client2.connect()\r\n _db = drizzle(client2, {\r\n schema,\r\n })\r\n }\r\n\r\n return _db\r\n}\r\n```\r\n\r\n### Logs\r\n\r\n```sh\r\nERROR [worker reload] [worker init] The requested module 'pg' does not provide an export named 'Client' 2:03:46 PM\r\n\r\n import { Client } from \"pg\";\r\n ^^^^^^\r\n SyntaxError: The requested module 'pg' does not provide an export named 'Client'\r\n at ModuleJob._instantiate (node:internal/modules/esm/module_job:132:21)\r\n at async ModuleJob.run (node:internal/modules/esm/module_job:214:5)\r\n at async ModuleLoader.import (node:internal/modules/esm/loader:323:24)\r\n at async loadESM (node:internal/process/esm_loader:28:7)\r\n at async handleMainPromise (node:internal/modules/run_main:120:12)\r\n\r\n```\r\n","reactions":{"url":"https://api.github.com/repos/unjs/db0/issues/62/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/unjs/db0/issues/62/timeline","performed_via_github_app":null,"state_reason":null},"comment":{"url":"https://api.github.com/repos/unjs/db0/issues/comments/1992619070","html_url":"https://github.com/unjs/db0/issues/62#issuecomment-1992619070","issue_url":"https://api.github.com/repos/unjs/db0/issues/62","id":1992619070,"node_id":"IC_kwDOJhYG6M52xPQ-","user":{"login":"amandesai01","id":39585600,"node_id":"MDQ6VXNlcjM5NTg1NjAw","avatar_url":"https://avatars.githubusercontent.com/u/39585600?v=4","gravatar_id":"","url":"https://api.github.com/users/amandesai01","html_url":"https://github.com/amandesai01","followers_url":"https://api.github.com/users/amandesai01/followers","following_url":"https://api.github.com/users/amandesai01/following{/other_user}","gists_url":"https://api.github.com/users/amandesai01/gists{/gist_id}","starred_url":"https://api.github.com/users/amandesai01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amandesai01/subscriptions","organizations_url":"https://api.github.com/users/amandesai01/orgs","repos_url":"https://api.github.com/users/amandesai01/repos","events_url":"https://api.github.com/users/amandesai01/events{/privacy}","received_events_url":"https://api.github.com/users/amandesai01/received_events","type":"User","site_admin":false},"created_at":"2024-03-12T21:29:21Z","updated_at":"2024-03-12T21:29:21Z","author_association":"NONE","body":"After running above fix on the provided reproduction, I can verify that the issue gets resolved.","reactions":{"url":"https://api.github.com/repos/unjs/db0/issues/comments/1992619070/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null}},"public":true,"created_at":"2024-03-12T21:29:23Z","org":{"id":80154025,"login":"unjs","gravatar_id":"","url":"https://api.github.com/orgs/unjs","avatar_url":"https://avatars.githubusercontent.com/u/80154025?"}},{"id":"36489710862","type":"PushEvent","actor":{"id":39585600,"login":"amandesai01","display_login":"amandesai01","gravatar_id":"","url":"https://api.github.com/users/amandesai01","avatar_url":"https://avatars.githubusercontent.com/u/39585600?"},"repo":{"id":765119672,"name":"amandesai01/db0","url":"https://api.github.com/repos/amandesai01/db0"},"payload":{"repository_id":765119672,"push_id":17512875503,"size":6,"distinct_size":1,"ref":"refs/heads/fix-pg-import","head":"e392b490b6173a25e4bc916fc058de5de4a57736","before":"1fe3275e67e8b5faa1c13e4de164dd9d3d7c9eeb","commits":[{"sha":"fde26b536dcaa0f40af8646d66b62266f4a57f2f","author":{"email":"me@neilrichter.com","name":"Neil Richter"},"message":"docs: fix typos (#56)","distinct":false,"url":"https://api.github.com/repos/amandesai01/db0/commits/fde26b536dcaa0f40af8646d66b62266f4a57f2f"},{"sha":"2ab001b31b94bf06c30f62f26d58deaae60823d2","author":{"email":"seb@nuxtlabs.com","name":"SΓ©bastien Chopin"},"message":"refactor(d1): throw a better error if binding not found (#60)","distinct":false,"url":"https://api.github.com/repos/amandesai01/db0/commits/2ab001b31b94bf06c30f62f26d58deaae60823d2"},{"sha":"2ef9d5788fc382ef717991729d1da3c3903598ed","author":{"email":"pooya@pi0.io","name":"Pooya Parsa"},"message":"fix(d1): support `__env__` for accessing binding\n\nused by nitro and unenv","distinct":false,"url":"https://api.github.com/repos/amandesai01/db0/commits/2ef9d5788fc382ef717991729d1da3c3903598ed"},{"sha":"7955c1a966eab819edb3e6e6e17b4be141541b72","author":{"email":"pooya@pi0.io","name":"Pooya Parsa"},"message":"chore(release): v0.1.4","distinct":false,"url":"https://api.github.com/repos/amandesai01/db0/commits/7955c1a966eab819edb3e6e6e17b4be141541b72"},{"sha":"9db065dbc6731c7feef015f793722894fd74a925","author":{"email":"29139614+renovate[bot]@users.noreply.github.com","name":"renovate[bot]"},"message":"chore(deps): update all non-major dependencies","distinct":false,"url":"https://api.github.com/repos/amandesai01/db0/commits/9db065dbc6731c7feef015f793722894fd74a925"},{"sha":"e392b490b6173a25e4bc916fc058de5de4a57736","author":{"email":"amandesai01@gmail.com","name":"amandesai01"},"message":"fix(connectors): update import to work with esm","distinct":true,"url":"https://api.github.com/repos/amandesai01/db0/commits/e392b490b6173a25e4bc916fc058de5de4a57736"}]},"public":true,"created_at":"2024-03-12T21:27:42Z"},{"id":"36489684516","type":"PushEvent","actor":{"id":39585600,"login":"amandesai01","display_login":"amandesai01","gravatar_id":"","url":"https://api.github.com/users/amandesai01","avatar_url":"https://avatars.githubusercontent.com/u/39585600?"},"repo":{"id":765119672,"name":"amandesai01/db0","url":"https://api.github.com/repos/amandesai01/db0"},"payload":{"repository_id":765119672,"push_id":17512863802,"size":8,"distinct_size":8,"ref":"refs/heads/main","head":"608524c1a6610e4f296da9ddbc5f98f4671ae73f","before":"aefee67e4936b48d8af806e76406d1109200bb54","commits":[{"sha":"fde26b536dcaa0f40af8646d66b62266f4a57f2f","author":{"email":"me@neilrichter.com","name":"Neil Richter"},"message":"docs: fix typos (#56)","distinct":true,"url":"https://api.github.com/repos/amandesai01/db0/commits/fde26b536dcaa0f40af8646d66b62266f4a57f2f"},{"sha":"2ab001b31b94bf06c30f62f26d58deaae60823d2","author":{"email":"seb@nuxtlabs.com","name":"SΓ©bastien Chopin"},"message":"refactor(d1): throw a better error if binding not found (#60)","distinct":true,"url":"https://api.github.com/repos/amandesai01/db0/commits/2ab001b31b94bf06c30f62f26d58deaae60823d2"},{"sha":"2ef9d5788fc382ef717991729d1da3c3903598ed","author":{"email":"pooya@pi0.io","name":"Pooya Parsa"},"message":"fix(d1): support `__env__` for accessing binding\n\nused by nitro and unenv","distinct":true,"url":"https://api.github.com/repos/amandesai01/db0/commits/2ef9d5788fc382ef717991729d1da3c3903598ed"},{"sha":"7955c1a966eab819edb3e6e6e17b4be141541b72","author":{"email":"pooya@pi0.io","name":"Pooya Parsa"},"message":"chore(release): v0.1.4","distinct":true,"url":"https://api.github.com/repos/amandesai01/db0/commits/7955c1a966eab819edb3e6e6e17b4be141541b72"},{"sha":"9db065dbc6731c7feef015f793722894fd74a925","author":{"email":"29139614+renovate[bot]@users.noreply.github.com","name":"renovate[bot]"},"message":"chore(deps): update all non-major dependencies","distinct":true,"url":"https://api.github.com/repos/amandesai01/db0/commits/9db065dbc6731c7feef015f793722894fd74a925"},{"sha":"83c2a01b9ab940f1d23c22ce90dd4220d22ea461","author":{"email":"amandesai01@gmail.com","name":"amandesai01"},"message":"test(integrations): drizzle integration test","distinct":true,"url":"https://api.github.com/repos/amandesai01/db0/commits/83c2a01b9ab940f1d23c22ce90dd4220d22ea461"},{"sha":"c7cc87deb3dd54ab54c720d1a199afb6c95327e4","author":{"email":"amandesai01@gmail.com","name":"amandesai01"},"message":"test(integrations): drizzle integration against multiple connectors","distinct":true,"url":"https://api.github.com/repos/amandesai01/db0/commits/c7cc87deb3dd54ab54c720d1a199afb6c95327e4"},{"sha":"608524c1a6610e4f296da9ddbc5f98f4671ae73f","author":{"email":"114827586+autofix-ci[bot]@users.noreply.github.com","name":"autofix-ci[bot]"},"message":"chore: apply automated updates","distinct":true,"url":"https://api.github.com/repos/amandesai01/db0/commits/608524c1a6610e4f296da9ddbc5f98f4671ae73f"}]},"public":true,"created_at":"2024-03-12T21:26:34Z"},{"id":"36489645368","type":"PushEvent","actor":{"id":39585600,"login":"amandesai01","display_login":"amandesai01","gravatar_id":"","url":"https://api.github.com/users/amandesai01","avatar_url":"https://avatars.githubusercontent.com/u/39585600?"},"repo":{"id":765119672,"name":"amandesai01/db0","url":"https://api.github.com/repos/amandesai01/db0"},"payload":{"repository_id":765119672,"push_id":17512845676,"size":0,"distinct_size":0,"ref":"refs/heads/main","head":"aefee67e4936b48d8af806e76406d1109200bb54","before":"e1d4146f9ba81808b64ae13ba60e2894c02fc8b6","commits":[]},"public":true,"created_at":"2024-03-12T21:24:53Z"},{"id":"36489536580","type":"PushEvent","actor":{"id":39585600,"login":"amandesai01","display_login":"amandesai01","gravatar_id":"","url":"https://api.github.com/users/amandesai01","avatar_url":"https://avatars.githubusercontent.com/u/39585600?"},"repo":{"id":765119672,"name":"amandesai01/db0","url":"https://api.github.com/repos/amandesai01/db0"},"payload":{"repository_id":765119672,"push_id":17512806216,"size":6,"distinct_size":6,"ref":"refs/heads/main","head":"e1d4146f9ba81808b64ae13ba60e2894c02fc8b6","before":"aefee67e4936b48d8af806e76406d1109200bb54","commits":[{"sha":"fde26b536dcaa0f40af8646d66b62266f4a57f2f","author":{"email":"me@neilrichter.com","name":"Neil Richter"},"message":"docs: fix typos (#56)","distinct":true,"url":"https://api.github.com/repos/amandesai01/db0/commits/fde26b536dcaa0f40af8646d66b62266f4a57f2f"},{"sha":"2ab001b31b94bf06c30f62f26d58deaae60823d2","author":{"email":"seb@nuxtlabs.com","name":"SΓ©bastien Chopin"},"message":"refactor(d1): throw a better error if binding not found (#60)","distinct":true,"url":"https://api.github.com/repos/amandesai01/db0/commits/2ab001b31b94bf06c30f62f26d58deaae60823d2"},{"sha":"2ef9d5788fc382ef717991729d1da3c3903598ed","author":{"email":"pooya@pi0.io","name":"Pooya Parsa"},"message":"fix(d1): support `__env__` for accessing binding\n\nused by nitro and unenv","distinct":true,"url":"https://api.github.com/repos/amandesai01/db0/commits/2ef9d5788fc382ef717991729d1da3c3903598ed"},{"sha":"7955c1a966eab819edb3e6e6e17b4be141541b72","author":{"email":"pooya@pi0.io","name":"Pooya Parsa"},"message":"chore(release): v0.1.4","distinct":true,"url":"https://api.github.com/repos/amandesai01/db0/commits/7955c1a966eab819edb3e6e6e17b4be141541b72"},{"sha":"9db065dbc6731c7feef015f793722894fd74a925","author":{"email":"29139614+renovate[bot]@users.noreply.github.com","name":"renovate[bot]"},"message":"chore(deps): update all non-major dependencies","distinct":true,"url":"https://api.github.com/repos/amandesai01/db0/commits/9db065dbc6731c7feef015f793722894fd74a925"},{"sha":"e1d4146f9ba81808b64ae13ba60e2894c02fc8b6","author":{"email":"39585600+amandesai01@users.noreply.github.com","name":"Aman Desai"},"message":"Merge branch 'unjs:main' into main","distinct":true,"url":"https://api.github.com/repos/amandesai01/db0/commits/e1d4146f9ba81808b64ae13ba60e2894c02fc8b6"}]},"public":true,"created_at":"2024-03-12T21:21:12Z"},{"id":"36489505870","type":"PullRequestEvent","actor":{"id":39585600,"login":"amandesai01","display_login":"amandesai01","gravatar_id":"","url":"https://api.github.com/users/amandesai01","avatar_url":"https://avatars.githubusercontent.com/u/39585600?"},"repo":{"id":638977768,"name":"unjs/db0","url":"https://api.github.com/repos/unjs/db0"},"payload":{"action":"opened","number":63,"pull_request":{"url":"https://api.github.com/repos/unjs/db0/pulls/63","id":1768920950,"node_id":"PR_kwDOJhYG6M5pb5d2","html_url":"https://github.com/unjs/db0/pull/63","diff_url":"https://github.com/unjs/db0/pull/63.diff","patch_url":"https://github.com/unjs/db0/pull/63.patch","issue_url":"https://api.github.com/repos/unjs/db0/issues/63","number":63,"state":"open","locked":false,"title":"fix(connectors): update import to work with esm","user":{"login":"amandesai01","id":39585600,"node_id":"MDQ6VXNlcjM5NTg1NjAw","avatar_url":"https://avatars.githubusercontent.com/u/39585600?v=4","gravatar_id":"","url":"https://api.github.com/users/amandesai01","html_url":"https://github.com/amandesai01","followers_url":"https://api.github.com/users/amandesai01/followers","following_url":"https://api.github.com/users/amandesai01/following{/other_user}","gists_url":"https://api.github.com/users/amandesai01/gists{/gist_id}","starred_url":"https://api.github.com/users/amandesai01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amandesai01/subscriptions","organizations_url":"https://api.github.com/users/amandesai01/orgs","repos_url":"https://api.github.com/users/amandesai01/repos","events_url":"https://api.github.com/users/amandesai01/events{/privacy}","received_events_url":"https://api.github.com/users/amandesai01/received_events","type":"User","site_admin":false},"body":"### π Linked issue\r\n\r\nResolves #62\r\n\r\n### β Type of change\r\n\r\n\r\n\r\n- [ ] π Documentation (updates to the documentation, readme, or JSdoc annotations)\r\n- [x] π Bug fix (a non-breaking change that fixes an issue)\r\n- [ ] π Enhancement (improving an existing functionality like performance)\r\n- [ ] β¨ New feature (a non-breaking change that adds functionality)\r\n- [ ] π§Ή Chore (updates to the build process or auxiliary tools and libraries)\r\n- [ ] β οΈ Breaking change (fix or feature that would cause existing functionality to change)\r\n\r\n### π Description\r\n\r\nUpdated import statement for \"pg\" so that is works well with *.mjs files.\r\n\r\n### π Checklist\r\n\r\n- [x] I have linked an issue or discussion.\r\n- [ ] I have updated the documentation accordingly.\r\n","created_at":"2024-03-12T21:19:48Z","updated_at":"2024-03-12T21:19:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"draft":false,"commits_url":"https://api.github.com/repos/unjs/db0/pulls/63/commits","review_comments_url":"https://api.github.com/repos/unjs/db0/pulls/63/comments","review_comment_url":"https://api.github.com/repos/unjs/db0/pulls/comments{/number}","comments_url":"https://api.github.com/repos/unjs/db0/issues/63/comments","statuses_url":"https://api.github.com/repos/unjs/db0/statuses/1fe3275e67e8b5faa1c13e4de164dd9d3d7c9eeb","head":{"label":"amandesai01:fix-pg-import","ref":"fix-pg-import","sha":"1fe3275e67e8b5faa1c13e4de164dd9d3d7c9eeb","user":{"login":"amandesai01","id":39585600,"node_id":"MDQ6VXNlcjM5NTg1NjAw","avatar_url":"https://avatars.githubusercontent.com/u/39585600?v=4","gravatar_id":"","url":"https://api.github.com/users/amandesai01","html_url":"https://github.com/amandesai01","followers_url":"https://api.github.com/users/amandesai01/followers","following_url":"https://api.github.com/users/amandesai01/following{/other_user}","gists_url":"https://api.github.com/users/amandesai01/gists{/gist_id}","starred_url":"https://api.github.com/users/amandesai01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amandesai01/subscriptions","organizations_url":"https://api.github.com/users/amandesai01/orgs","repos_url":"https://api.github.com/users/amandesai01/repos","events_url":"https://api.github.com/users/amandesai01/events{/privacy}","received_events_url":"https://api.github.com/users/amandesai01/received_events","type":"User","site_admin":false},"repo":{"id":765119672,"node_id":"R_kgDOLZrMuA","name":"db0","full_name":"amandesai01/db0","private":false,"owner":{"login":"amandesai01","id":39585600,"node_id":"MDQ6VXNlcjM5NTg1NjAw","avatar_url":"https://avatars.githubusercontent.com/u/39585600?v=4","gravatar_id":"","url":"https://api.github.com/users/amandesai01","html_url":"https://github.com/amandesai01","followers_url":"https://api.github.com/users/amandesai01/followers","following_url":"https://api.github.com/users/amandesai01/following{/other_user}","gists_url":"https://api.github.com/users/amandesai01/gists{/gist_id}","starred_url":"https://api.github.com/users/amandesai01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amandesai01/subscriptions","organizations_url":"https://api.github.com/users/amandesai01/orgs","repos_url":"https://api.github.com/users/amandesai01/repos","events_url":"https://api.github.com/users/amandesai01/events{/privacy}","received_events_url":"https://api.github.com/users/amandesai01/received_events","type":"User","site_admin":false},"html_url":"https://github.com/amandesai01/db0","description":"π Lightweight SQL Connector","fork":true,"url":"https://api.github.com/repos/amandesai01/db0","forks_url":"https://api.github.com/repos/amandesai01/db0/forks","keys_url":"https://api.github.com/repos/amandesai01/db0/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amandesai01/db0/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amandesai01/db0/teams","hooks_url":"https://api.github.com/repos/amandesai01/db0/hooks","issue_events_url":"https://api.github.com/repos/amandesai01/db0/issues/events{/number}","events_url":"https://api.github.com/repos/amandesai01/db0/events","assignees_url":"https://api.github.com/repos/amandesai01/db0/assignees{/user}","branches_url":"https://api.github.com/repos/amandesai01/db0/branches{/branch}","tags_url":"https://api.github.com/repos/amandesai01/db0/tags","blobs_url":"https://api.github.com/repos/amandesai01/db0/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amandesai01/db0/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amandesai01/db0/git/refs{/sha}","trees_url":"https://api.github.com/repos/amandesai01/db0/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amandesai01/db0/statuses/{sha}","languages_url":"https://api.github.com/repos/amandesai01/db0/languages","stargazers_url":"https://api.github.com/repos/amandesai01/db0/stargazers","contributors_url":"https://api.github.com/repos/amandesai01/db0/contributors","subscribers_url":"https://api.github.com/repos/amandesai01/db0/subscribers","subscription_url":"https://api.github.com/repos/amandesai01/db0/subscription","commits_url":"https://api.github.com/repos/amandesai01/db0/commits{/sha}","git_commits_url":"https://api.github.com/repos/amandesai01/db0/git/commits{/sha}","comments_url":"https://api.github.com/repos/amandesai01/db0/comments{/number}","issue_comment_url":"https://api.github.com/repos/amandesai01/db0/issues/comments{/number}","contents_url":"https://api.github.com/repos/amandesai01/db0/contents/{+path}","compare_url":"https://api.github.com/repos/amandesai01/db0/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amandesai01/db0/merges","archive_url":"https://api.github.com/repos/amandesai01/db0/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amandesai01/db0/downloads","issues_url":"https://api.github.com/repos/amandesai01/db0/issues{/number}","pulls_url":"https://api.github.com/repos/amandesai01/db0/pulls{/number}","milestones_url":"https://api.github.com/repos/amandesai01/db0/milestones{/number}","notifications_url":"https://api.github.com/repos/amandesai01/db0/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amandesai01/db0/labels{/name}","releases_url":"https://api.github.com/repos/amandesai01/db0/releases{/id}","deployments_url":"https://api.github.com/repos/amandesai01/db0/deployments","created_at":"2024-02-29T10:15:53Z","updated_at":"2024-02-29T10:16:57Z","pushed_at":"2024-03-12T21:17:01Z","git_url":"git://github.com/amandesai01/db0.git","ssh_url":"git@github.com:amandesai01/db0.git","clone_url":"https://github.com/amandesai01/db0.git","svn_url":"https://github.com/amandesai01/db0","homepage":"https://db0.unjs.io","size":567,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"has_discussions":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"allow_forking":true,"is_template":false,"web_commit_signoff_required":false,"topics":[],"visibility":"public","forks":0,"open_issues":0,"watchers":0,"default_branch":"main"}},"base":{"label":"unjs:main","ref":"main","sha":"9db065dbc6731c7feef015f793722894fd74a925","user":{"login":"unjs","id":80154025,"node_id":"MDEyOk9yZ2FuaXphdGlvbjgwMTU0MDI1","avatar_url":"https://avatars.githubusercontent.com/u/80154025?v=4","gravatar_id":"","url":"https://api.github.com/users/unjs","html_url":"https://github.com/unjs","followers_url":"https://api.github.com/users/unjs/followers","following_url":"https://api.github.com/users/unjs/following{/other_user}","gists_url":"https://api.github.com/users/unjs/gists{/gist_id}","starred_url":"https://api.github.com/users/unjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unjs/subscriptions","organizations_url":"https://api.github.com/users/unjs/orgs","repos_url":"https://api.github.com/users/unjs/repos","events_url":"https://api.github.com/users/unjs/events{/privacy}","received_events_url":"https://api.github.com/users/unjs/received_events","type":"Organization","site_admin":false},"repo":{"id":638977768,"node_id":"R_kgDOJhYG6A","name":"db0","full_name":"unjs/db0","private":false,"owner":{"login":"unjs","id":80154025,"node_id":"MDEyOk9yZ2FuaXphdGlvbjgwMTU0MDI1","avatar_url":"https://avatars.githubusercontent.com/u/80154025?v=4","gravatar_id":"","url":"https://api.github.com/users/unjs","html_url":"https://github.com/unjs","followers_url":"https://api.github.com/users/unjs/followers","following_url":"https://api.github.com/users/unjs/following{/other_user}","gists_url":"https://api.github.com/users/unjs/gists{/gist_id}","starred_url":"https://api.github.com/users/unjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unjs/subscriptions","organizations_url":"https://api.github.com/users/unjs/orgs","repos_url":"https://api.github.com/users/unjs/repos","events_url":"https://api.github.com/users/unjs/events{/privacy}","received_events_url":"https://api.github.com/users/unjs/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/unjs/db0","description":"π Lightweight SQL Connector","fork":false,"url":"https://api.github.com/repos/unjs/db0","forks_url":"https://api.github.com/repos/unjs/db0/forks","keys_url":"https://api.github.com/repos/unjs/db0/keys{/key_id}","collaborators_url":"https://api.github.com/repos/unjs/db0/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/unjs/db0/teams","hooks_url":"https://api.github.com/repos/unjs/db0/hooks","issue_events_url":"https://api.github.com/repos/unjs/db0/issues/events{/number}","events_url":"https://api.github.com/repos/unjs/db0/events","assignees_url":"https://api.github.com/repos/unjs/db0/assignees{/user}","branches_url":"https://api.github.com/repos/unjs/db0/branches{/branch}","tags_url":"https://api.github.com/repos/unjs/db0/tags","blobs_url":"https://api.github.com/repos/unjs/db0/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/unjs/db0/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/unjs/db0/git/refs{/sha}","trees_url":"https://api.github.com/repos/unjs/db0/git/trees{/sha}","statuses_url":"https://api.github.com/repos/unjs/db0/statuses/{sha}","languages_url":"https://api.github.com/repos/unjs/db0/languages","stargazers_url":"https://api.github.com/repos/unjs/db0/stargazers","contributors_url":"https://api.github.com/repos/unjs/db0/contributors","subscribers_url":"https://api.github.com/repos/unjs/db0/subscribers","subscription_url":"https://api.github.com/repos/unjs/db0/subscription","commits_url":"https://api.github.com/repos/unjs/db0/commits{/sha}","git_commits_url":"https://api.github.com/repos/unjs/db0/git/commits{/sha}","comments_url":"https://api.github.com/repos/unjs/db0/comments{/number}","issue_comment_url":"https://api.github.com/repos/unjs/db0/issues/comments{/number}","contents_url":"https://api.github.com/repos/unjs/db0/contents/{+path}","compare_url":"https://api.github.com/repos/unjs/db0/compare/{base}...{head}","merges_url":"https://api.github.com/repos/unjs/db0/merges","archive_url":"https://api.github.com/repos/unjs/db0/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/unjs/db0/downloads","issues_url":"https://api.github.com/repos/unjs/db0/issues{/number}","pulls_url":"https://api.github.com/repos/unjs/db0/pulls{/number}","milestones_url":"https://api.github.com/repos/unjs/db0/milestones{/number}","notifications_url":"https://api.github.com/repos/unjs/db0/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/unjs/db0/labels{/name}","releases_url":"https://api.github.com/repos/unjs/db0/releases{/id}","deployments_url":"https://api.github.com/repos/unjs/db0/deployments","created_at":"2023-05-10T13:55:22Z","updated_at":"2024-03-10T20:52:03Z","pushed_at":"2024-03-12T21:19:48Z","git_url":"git://github.com/unjs/db0.git","ssh_url":"git@github.com:unjs/db0.git","clone_url":"https://github.com/unjs/db0.git","svn_url":"https://github.com/unjs/db0","homepage":"https://db0.unjs.io","size":582,"stargazers_count":94,"watchers_count":94,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"has_discussions":false,"forks_count":5,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":14,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"allow_forking":true,"is_template":false,"web_commit_signoff_required":false,"topics":[],"visibility":"public","forks":5,"open_issues":14,"watchers":94,"default_branch":"main"}},"_links":{"self":{"href":"https://api.github.com/repos/unjs/db0/pulls/63"},"html":{"href":"https://github.com/unjs/db0/pull/63"},"issue":{"href":"https://api.github.com/repos/unjs/db0/issues/63"},"comments":{"href":"https://api.github.com/repos/unjs/db0/issues/63/comments"},"review_comments":{"href":"https://api.github.com/repos/unjs/db0/pulls/63/comments"},"review_comment":{"href":"https://api.github.com/repos/unjs/db0/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/unjs/db0/pulls/63/commits"},"statuses":{"href":"https://api.github.com/repos/unjs/db0/statuses/1fe3275e67e8b5faa1c13e4de164dd9d3d7c9eeb"}},"author_association":"NONE","auto_merge":null,"active_lock_reason":null,"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":3,"additions":98,"deletions":4,"changed_files":4}},"public":true,"created_at":"2024-03-12T21:19:49Z","org":{"id":80154025,"login":"unjs","gravatar_id":"","url":"https://api.github.com/orgs/unjs","avatar_url":"https://avatars.githubusercontent.com/u/80154025?"}},{"id":"36489429064","type":"PushEvent","actor":{"id":39585600,"login":"amandesai01","display_login":"amandesai01","gravatar_id":"","url":"https://api.github.com/users/amandesai01","avatar_url":"https://avatars.githubusercontent.com/u/39585600?"},"repo":{"id":765119672,"name":"amandesai01/db0","url":"https://api.github.com/repos/amandesai01/db0"},"payload":{"repository_id":765119672,"push_id":17512759807,"size":1,"distinct_size":1,"ref":"refs/heads/fix-pg-import","head":"1fe3275e67e8b5faa1c13e4de164dd9d3d7c9eeb","before":"b59e7dbf4e43ad2c09e9a9b6a55fbb5eb62dd1b1","commits":[{"sha":"1fe3275e67e8b5faa1c13e4de164dd9d3d7c9eeb","author":{"email":"amandesai01@gmail.com","name":"amandesai01"},"message":"fix(connectors): update import to work with esm","distinct":true,"url":"https://api.github.com/repos/amandesai01/db0/commits/1fe3275e67e8b5faa1c13e4de164dd9d3d7c9eeb"}]},"public":true,"created_at":"2024-03-12T21:17:02Z"},{"id":"36489426884","type":"CreateEvent","actor":{"id":39585600,"login":"amandesai01","display_login":"amandesai01","gravatar_id":"","url":"https://api.github.com/users/amandesai01","avatar_url":"https://avatars.githubusercontent.com/u/39585600?"},"repo":{"id":765119672,"name":"amandesai01/db0","url":"https://api.github.com/repos/amandesai01/db0"},"payload":{"ref":"fix-pg-import","ref_type":"branch","master_branch":"main","description":"π Lightweight SQL Connector","pusher_type":"user"},"public":true,"created_at":"2024-03-12T21:16:56Z"},{"id":"36489144422","type":"IssueCommentEvent","actor":{"id":39585600,"login":"amandesai01","display_login":"amandesai01","gravatar_id":"","url":"https://api.github.com/users/amandesai01","avatar_url":"https://avatars.githubusercontent.com/u/39585600?"},"repo":{"id":638977768,"name":"unjs/db0","url":"https://api.github.com/repos/unjs/db0"},"payload":{"action":"created","issue":{"url":"https://api.github.com/repos/unjs/db0/issues/62","repository_url":"https://api.github.com/repos/unjs/db0","labels_url":"https://api.github.com/repos/unjs/db0/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/unjs/db0/issues/62/comments","events_url":"https://api.github.com/repos/unjs/db0/issues/62/events","html_url":"https://github.com/unjs/db0/issues/62","id":2177718593,"node_id":"I_kwDOJhYG6M6BzVlB","number":62,"title":"Postgres connector: The requested module 'pg' does not provide an export named 'Client'","user":{"login":"noook","id":19751938,"node_id":"MDQ6VXNlcjE5NzUxOTM4","avatar_url":"https://avatars.githubusercontent.com/u/19751938?v=4","gravatar_id":"","url":"https://api.github.com/users/noook","html_url":"https://github.com/noook","followers_url":"https://api.github.com/users/noook/followers","following_url":"https://api.github.com/users/noook/following{/other_user}","gists_url":"https://api.github.com/users/noook/gists{/gist_id}","starred_url":"https://api.github.com/users/noook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noook/subscriptions","organizations_url":"https://api.github.com/users/noook/orgs","repos_url":"https://api.github.com/users/noook/repos","events_url":"https://api.github.com/users/noook/events{/privacy}","received_events_url":"https://api.github.com/users/noook/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2024-03-10T13:24:47Z","updated_at":"2024-03-12T21:05:10Z","closed_at":null,"author_association":"CONTRIBUTOR","active_lock_reason":null,"body":"### Environment\r\n\r\nNode.js: Reproducible with `v18.18.0` and `v21.6.2`\r\n\r\ndb0@0.1.4\r\npg@8.11.3\r\n\r\n### Reproduction\r\n\r\nhttps://stackblitz.com/edit/github-xvw4kq?file=package.json\r\n\r\n### Describe the bug\r\n\r\nGiven the following configuration:\r\n```ts\r\nimport { defineNitroConfig } from 'nitropack/config';\r\n\r\nexport default defineNitroConfig({\r\n srcDir: 'server',\r\n experimental: {\r\n database: true,\r\n },\r\n database: {\r\n default: {\r\n connector: 'postgresql',\r\n options: {\r\n url: '',\r\n },\r\n },\r\n },\r\n});\r\n```\r\n\r\nThe server fails to start because the `Client` import from \"pg\" does not seem to be exported.\r\n\r\n### Additional context\r\n\r\n\r\nI'm not sure what's happening here, but I can run this with no issue.\r\n```ts\r\n// nitro.config.ts\r\nimport { Client } from \"pg\"\r\nconsole.log(Client) // Works ππ» \r\n```\r\n\r\nI tried integrating without nitro's `useDatabase` with `pg`, and I am obliged to instantiate the client this way:\r\n```ts\r\n// server/utils/db.ts\r\nimport { drizzle, NodePgDatabase } from 'drizzle-orm/node-postgres';\r\nimport pg from 'pg' // <-\r\nimport * as schema from '~/server/database/schemas'\r\n\r\nlet _db: NodePgDatabase | null = null\r\n\r\nexport async function useDatabase() {\r\n if (!_db) {\r\n const client2 = new pg.Client({ // <-\r\n connectionString: import.meta.env.DATABASE_URL,\r\n })\r\n await client2.connect()\r\n _db = drizzle(client2, {\r\n schema,\r\n })\r\n }\r\n\r\n return _db\r\n}\r\n```\r\n\r\n### Logs\r\n\r\n```sh\r\nERROR [worker reload] [worker init] The requested module 'pg' does not provide an export named 'Client' 2:03:46 PM\r\n\r\n import { Client } from \"pg\";\r\n ^^^^^^\r\n SyntaxError: The requested module 'pg' does not provide an export named 'Client'\r\n at ModuleJob._instantiate (node:internal/modules/esm/module_job:132:21)\r\n at async ModuleJob.run (node:internal/modules/esm/module_job:214:5)\r\n at async ModuleLoader.import (node:internal/modules/esm/loader:323:24)\r\n at async loadESM (node:internal/process/esm_loader:28:7)\r\n at async handleMainPromise (node:internal/modules/run_main:120:12)\r\n\r\n```\r\n","reactions":{"url":"https://api.github.com/repos/unjs/db0/issues/62/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/unjs/db0/issues/62/timeline","performed_via_github_app":null,"state_reason":null},"comment":{"url":"https://api.github.com/repos/unjs/db0/issues/comments/1992587839","html_url":"https://github.com/unjs/db0/issues/62#issuecomment-1992587839","issue_url":"https://api.github.com/repos/unjs/db0/issues/62","id":1992587839,"node_id":"IC_kwDOJhYG6M52xHo_","user":{"login":"amandesai01","id":39585600,"node_id":"MDQ6VXNlcjM5NTg1NjAw","avatar_url":"https://avatars.githubusercontent.com/u/39585600?v=4","gravatar_id":"","url":"https://api.github.com/users/amandesai01","html_url":"https://github.com/amandesai01","followers_url":"https://api.github.com/users/amandesai01/followers","following_url":"https://api.github.com/users/amandesai01/following{/other_user}","gists_url":"https://api.github.com/users/amandesai01/gists{/gist_id}","starred_url":"https://api.github.com/users/amandesai01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amandesai01/subscriptions","organizations_url":"https://api.github.com/users/amandesai01/orgs","repos_url":"https://api.github.com/users/amandesai01/repos","events_url":"https://api.github.com/users/amandesai01/events{/privacy}","received_events_url":"https://api.github.com/users/amandesai01/received_events","type":"User","site_admin":false},"created_at":"2024-03-12T21:05:09Z","updated_at":"2024-03-12T21:05:09Z","author_association":"NONE","body":"As I can see, Nitro's build output is in `*.mjs`, due to which, it uses `import` rather than `require`.\r\n\r\nDB0 outputs both mjs and cjs files. cjs file's build is updated to handle the case in build process and has `var _pg = require(\"pg\"); const client = new _pg.Client(....`\r\n\r\nOn the other hand, import statement uses destructured imports which is causing the issue.\r\n\r\nThis might be because, `pg` was not written to work with esm.","reactions":{"url":"https://api.github.com/repos/unjs/db0/issues/comments/1992587839/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null}},"public":true,"created_at":"2024-03-12T21:05:10Z","org":{"id":80154025,"login":"unjs","gravatar_id":"","url":"https://api.github.com/orgs/unjs","avatar_url":"https://avatars.githubusercontent.com/u/80154025?"}},{"id":"36471083859","type":"WatchEvent","actor":{"id":39585600,"login":"amandesai01","display_login":"amandesai01","gravatar_id":"","url":"https://api.github.com/users/amandesai01","avatar_url":"https://avatars.githubusercontent.com/u/39585600?"},"repo":{"id":766341786,"name":"HeyPuter/puter","url":"https://api.github.com/repos/HeyPuter/puter"},"payload":{"action":"started"},"public":true,"created_at":"2024-03-12T12:01:25Z","org":{"id":103972607,"login":"HeyPuter","gravatar_id":"","url":"https://api.github.com/orgs/HeyPuter","avatar_url":"https://avatars.githubusercontent.com/u/103972607?"}},{"id":"36425417544","type":"IssueCommentEvent","actor":{"id":39585600,"login":"amandesai01","display_login":"amandesai01","gravatar_id":"","url":"https://api.github.com/users/amandesai01","avatar_url":"https://avatars.githubusercontent.com/u/39585600?"},"repo":{"id":638977768,"name":"unjs/db0","url":"https://api.github.com/repos/unjs/db0"},"payload":{"action":"created","issue":{"url":"https://api.github.com/repos/unjs/db0/issues/54","repository_url":"https://api.github.com/repos/unjs/db0","labels_url":"https://api.github.com/repos/unjs/db0/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/unjs/db0/issues/54/comments","events_url":"https://api.github.com/repos/unjs/db0/issues/54/events","html_url":"https://github.com/unjs/db0/issues/54","id":2158697812,"node_id":"I_kwDOJhYG6M6Aqx1U","number":54,"title":"Tests for integrations","user":{"login":"amandesai01","id":39585600,"node_id":"MDQ6VXNlcjM5NTg1NjAw","avatar_url":"https://avatars.githubusercontent.com/u/39585600?v=4","gravatar_id":"","url":"https://api.github.com/users/amandesai01","html_url":"https://github.com/amandesai01","followers_url":"https://api.github.com/users/amandesai01/followers","following_url":"https://api.github.com/users/amandesai01/following{/other_user}","gists_url":"https://api.github.com/users/amandesai01/gists{/gist_id}","starred_url":"https://api.github.com/users/amandesai01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amandesai01/subscriptions","organizations_url":"https://api.github.com/users/amandesai01/orgs","repos_url":"https://api.github.com/users/amandesai01/repos","events_url":"https://api.github.com/users/amandesai01/events{/privacy}","received_events_url":"https://api.github.com/users/amandesai01/received_events","type":"User","site_admin":false},"labels":[{"id":5521490530,"node_id":"LA_kwDOJhYG6M8AAAABSRtCYg","url":"https://api.github.com/repos/unjs/db0/labels/test","name":"test","color":"AA6322","default":false,"description":""}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2024-02-28T11:04:43Z","updated_at":"2024-03-11T08:43:30Z","closed_at":null,"author_association":"NONE","active_lock_reason":null,"body":"While making more and more integrations, tests would become necessary to seamlessly validate new integrations. Is anyone working on it or should I attempt to create a basic test suite similar to connectors?","reactions":{"url":"https://api.github.com/repos/unjs/db0/issues/54/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/unjs/db0/issues/54/timeline","performed_via_github_app":null,"state_reason":null},"comment":{"url":"https://api.github.com/repos/unjs/db0/issues/comments/1987886799","html_url":"https://github.com/unjs/db0/issues/54#issuecomment-1987886799","issue_url":"https://api.github.com/repos/unjs/db0/issues/54","id":1987886799,"node_id":"IC_kwDOJhYG6M52fL7P","user":{"login":"amandesai01","id":39585600,"node_id":"MDQ6VXNlcjM5NTg1NjAw","avatar_url":"https://avatars.githubusercontent.com/u/39585600?v=4","gravatar_id":"","url":"https://api.github.com/users/amandesai01","html_url":"https://github.com/amandesai01","followers_url":"https://api.github.com/users/amandesai01/followers","following_url":"https://api.github.com/users/amandesai01/following{/other_user}","gists_url":"https://api.github.com/users/amandesai01/gists{/gist_id}","starred_url":"https://api.github.com/users/amandesai01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amandesai01/subscriptions","organizations_url":"https://api.github.com/users/amandesai01/orgs","repos_url":"https://api.github.com/users/amandesai01/repos","events_url":"https://api.github.com/users/amandesai01/events{/privacy}","received_events_url":"https://api.github.com/users/amandesai01/received_events","type":"User","site_admin":false},"created_at":"2024-03-11T08:43:29Z","updated_at":"2024-03-11T08:43:29Z","author_association":"NONE","body":"@pi0 any updates on this?","reactions":{"url":"https://api.github.com/repos/unjs/db0/issues/comments/1987886799/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null}},"public":true,"created_at":"2024-03-11T08:43:30Z","org":{"id":80154025,"login":"unjs","gravatar_id":"","url":"https://api.github.com/orgs/unjs","avatar_url":"https://avatars.githubusercontent.com/u/80154025?"}},{"id":"36337404899","type":"WatchEvent","actor":{"id":39585600,"login":"amandesai01","display_login":"amandesai01","gravatar_id":"","url":"https://api.github.com/users/amandesai01","avatar_url":"https://avatars.githubusercontent.com/u/39585600?"},"repo":{"id":711301476,"name":"stefanobartoletti/nuxt-social-share","url":"https://api.github.com/repos/stefanobartoletti/nuxt-social-share"},"payload":{"action":"started"},"public":true,"created_at":"2024-03-07T13:28:35Z"},{"id":"36292152959","type":"WatchEvent","actor":{"id":39585600,"login":"amandesai01","display_login":"amandesai01","gravatar_id":"","url":"https://api.github.com/users/amandesai01","avatar_url":"https://avatars.githubusercontent.com/u/39585600?"},"repo":{"id":361044034,"name":"slidevjs/slidev","url":"https://api.github.com/repos/slidevjs/slidev"},"payload":{"action":"started"},"public":true,"created_at":"2024-03-06T09:59:09Z","org":{"id":83095831,"login":"slidevjs","gravatar_id":"","url":"https://api.github.com/orgs/slidevjs","avatar_url":"https://avatars.githubusercontent.com/u/83095831?"}},{"id":"36291915582","type":"WatchEvent","actor":{"id":39585600,"login":"amandesai01","display_login":"amandesai01","gravatar_id":"","url":"https://api.github.com/users/amandesai01","avatar_url":"https://avatars.githubusercontent.com/u/39585600?"},"repo":{"id":760187472,"name":"suhaotian/xior","url":"https://api.github.com/repos/suhaotian/xior"},"payload":{"action":"started"},"public":true,"created_at":"2024-03-06T09:52:03Z"},{"id":"36216930024","type":"WatchEvent","actor":{"id":39585600,"login":"amandesai01","display_login":"amandesai01","gravatar_id":"","url":"https://api.github.com/users/amandesai01","avatar_url":"https://avatars.githubusercontent.com/u/39585600?"},"repo":{"id":185107499,"name":"sampsyo/bril","url":"https://api.github.com/repos/sampsyo/bril"},"payload":{"action":"started"},"public":true,"created_at":"2024-03-04T10:30:49Z"},{"id":"36153031456","type":"IssueCommentEvent","actor":{"id":39585600,"login":"amandesai01","display_login":"amandesai01","gravatar_id":"","url":"https://api.github.com/users/amandesai01","avatar_url":"https://avatars.githubusercontent.com/u/39585600?"},"repo":{"id":638977768,"name":"unjs/db0","url":"https://api.github.com/repos/unjs/db0"},"payload":{"action":"created","issue":{"url":"https://api.github.com/repos/unjs/db0/issues/58","repository_url":"https://api.github.com/repos/unjs/db0","labels_url":"https://api.github.com/repos/unjs/db0/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/unjs/db0/issues/58/comments","events_url":"https://api.github.com/repos/unjs/db0/issues/58/events","html_url":"https://github.com/unjs/db0/issues/58","id":2162614534,"node_id":"I_kwDOJhYG6M6A5uEG","number":58,"title":"PostgreSQL + drizzle-orm","user":{"login":"kingyue737","id":40021217,"node_id":"MDQ6VXNlcjQwMDIxMjE3","avatar_url":"https://avatars.githubusercontent.com/u/40021217?v=4","gravatar_id":"","url":"https://api.github.com/users/kingyue737","html_url":"https://github.com/kingyue737","followers_url":"https://api.github.com/users/kingyue737/followers","following_url":"https://api.github.com/users/kingyue737/following{/other_user}","gists_url":"https://api.github.com/users/kingyue737/gists{/gist_id}","starred_url":"https://api.github.com/users/kingyue737/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kingyue737/subscriptions","organizations_url":"https://api.github.com/users/kingyue737/orgs","repos_url":"https://api.github.com/users/kingyue737/repos","events_url":"https://api.github.com/users/kingyue737/events{/privacy}","received_events_url":"https://api.github.com/users/kingyue737/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2024-03-01T05:03:04Z","updated_at":"2024-03-01T07:59:00Z","closed_at":null,"author_association":"NONE","active_lock_reason":null,"body":"### Describe the feature\r\n\r\nIt seems that only sqlite is supported when using drizzle integrator from db0.\r\nhttps://github.com/unjs/db0/blob/fde26b536dcaa0f40af8646d66b62266f4a57f2f/src/integrations/drizzle/index.ts#L2\r\n\r\nIs there a plan to support other databases?\r\n\r\nI also have some questions. Since the discussion tab is not enabled, I post them here by the way.\r\n\r\nWhat's the recommended way to integrate drizzle in nuxt server routes? Like following?\r\n```ts\r\n// server/utils/db.ts\r\nimport { drizzle } from 'db0/integrations/drizzle/index'\r\n\r\nexport function useDb(name?: string) {\r\n return drizzle(useDatabase(name))\r\n}\r\n```\r\n\r\nand then call `useDb` in every event handler? \r\n\r\nI'm already using drizzle and pg in my nuxt project. What extra benefits does db0 bring? Moving config from a utils module to nuxt/nitro config? Seamless switching from one database to another as now we have a uniform config interface?\r\n\r\nThanks in advance\r\n\r\n### Additional information\r\n\r\n- [ ] Would you be willing to help implement this feature?","reactions":{"url":"https://api.github.com/repos/unjs/db0/issues/58/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/unjs/db0/issues/58/timeline","performed_via_github_app":null,"state_reason":null},"comment":{"url":"https://api.github.com/repos/unjs/db0/issues/comments/1972698166","html_url":"https://github.com/unjs/db0/issues/58#issuecomment-1972698166","issue_url":"https://api.github.com/repos/unjs/db0/issues/58","id":1972698166,"node_id":"IC_kwDOJhYG6M51lPw2","user":{"login":"amandesai01","id":39585600,"node_id":"MDQ6VXNlcjM5NTg1NjAw","avatar_url":"https://avatars.githubusercontent.com/u/39585600?v=4","gravatar_id":"","url":"https://api.github.com/users/amandesai01","html_url":"https://github.com/amandesai01","followers_url":"https://api.github.com/users/amandesai01/followers","following_url":"https://api.github.com/users/amandesai01/following{/other_user}","gists_url":"https://api.github.com/users/amandesai01/gists{/gist_id}","starred_url":"https://api.github.com/users/amandesai01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amandesai01/subscriptions","organizations_url":"https://api.github.com/users/amandesai01/orgs","repos_url":"https://api.github.com/users/amandesai01/repos","events_url":"https://api.github.com/users/amandesai01/events{/privacy}","received_events_url":"https://api.github.com/users/amandesai01/received_events","type":"User","site_admin":false},"created_at":"2024-03-01T07:58:59Z","updated_at":"2024-03-01T07:58:59Z","author_association":"NONE","body":"For usage with Postgres, it is already supported. It may seem like it works only with SQLite, but I believe only dialects or something were used. I just wrote a passing test case for postgres to verify myself and it works like a charm.\r\n\r\nhttps://github.com/unjs/db0/pull/55/commits/b59e7dbf4e43ad2c09e9a9b6a55fbb5eb62dd1b1","reactions":{"url":"https://api.github.com/repos/unjs/db0/issues/comments/1972698166/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null}},"public":true,"created_at":"2024-03-01T07:59:00Z","org":{"id":80154025,"login":"unjs","gravatar_id":"","url":"https://api.github.com/orgs/unjs","avatar_url":"https://avatars.githubusercontent.com/u/80154025?"}},{"id":"36152975500","type":"PushEvent","actor":{"id":39585600,"login":"amandesai01","display_login":"amandesai01","gravatar_id":"","url":"https://api.github.com/users/amandesai01","avatar_url":"https://avatars.githubusercontent.com/u/39585600?"},"repo":{"id":765119672,"name":"amandesai01/db0","url":"https://api.github.com/repos/amandesai01/db0"},"payload":{"repository_id":765119672,"push_id":17339532646,"size":1,"distinct_size":1,"ref":"refs/heads/main","head":"b59e7dbf4e43ad2c09e9a9b6a55fbb5eb62dd1b1","before":"f715e8f3e7ac162add712f7ccad510027e117558","commits":[{"sha":"b59e7dbf4e43ad2c09e9a9b6a55fbb5eb62dd1b1","author":{"email":"amandesai01@gmail.com","name":"amandesai01"},"message":"test(integrations): drizzle integration against multiple connectors","distinct":true,"url":"https://api.github.com/repos/amandesai01/db0/commits/b59e7dbf4e43ad2c09e9a9b6a55fbb5eb62dd1b1"}]},"public":true,"created_at":"2024-03-01T07:56:35Z"},{"id":"36120924837","type":"IssueCommentEvent","actor":{"id":39585600,"login":"amandesai01","display_login":"amandesai01","gravatar_id":"","url":"https://api.github.com/users/amandesai01","avatar_url":"https://avatars.githubusercontent.com/u/39585600?"},"repo":{"id":638977768,"name":"unjs/db0","url":"https://api.github.com/repos/unjs/db0"},"payload":{"action":"created","issue":{"url":"https://api.github.com/repos/unjs/db0/issues/55","repository_url":"https://api.github.com/repos/unjs/db0","labels_url":"https://api.github.com/repos/unjs/db0/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/unjs/db0/issues/55/comments","events_url":"https://api.github.com/repos/unjs/db0/issues/55/events","html_url":"https://github.com/unjs/db0/pull/55","id":2160906484,"node_id":"PR_kwDOJhYG6M5oRnfn","number":55,"title":"test(integrations): drizzle integration test","user":{"login":"amandesai01","id":39585600,"node_id":"MDQ6VXNlcjM5NTg1NjAw","avatar_url":"https://avatars.githubusercontent.com/u/39585600?v=4","gravatar_id":"","url":"https://api.github.com/users/amandesai01","html_url":"https://github.com/amandesai01","followers_url":"https://api.github.com/users/amandesai01/followers","following_url":"https://api.github.com/users/amandesai01/following{/other_user}","gists_url":"https://api.github.com/users/amandesai01/gists{/gist_id}","starred_url":"https://api.github.com/users/amandesai01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amandesai01/subscriptions","organizations_url":"https://api.github.com/users/amandesai01/orgs","repos_url":"https://api.github.com/users/amandesai01/repos","events_url":"https://api.github.com/users/amandesai01/events{/privacy}","received_events_url":"https://api.github.com/users/amandesai01/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2024-02-29T10:18:51Z","updated_at":"2024-02-29T10:33:26Z","closed_at":null,"author_association":"NONE","active_lock_reason":null,"draft":false,"pull_request":{"url":"https://api.github.com/repos/unjs/db0/pulls/55","html_url":"https://github.com/unjs/db0/pull/55","diff_url":"https://github.com/unjs/db0/pull/55.diff","patch_url":"https://github.com/unjs/db0/pull/55.patch","merged_at":null},"body":"\r\n\r\n### π Linked issue\r\n\r\n#54 \r\n\r\n### β Type of change\r\n\r\n\r\n\r\n- [ ] π Documentation (updates to the documentation, readme, or JSdoc annotations)\r\n- [ ] π Bug fix (a non-breaking change that fixes an issue)\r\n- [x] π Enhancement (improving an existing functionality like performance)\r\n- [ ] β¨ New feature (a non-breaking change that adds functionality)\r\n- [ ] π§Ή Chore (updates to the build process or auxiliary tools and libraries)\r\n- [ ] β οΈ Breaking change (fix or feature that would cause existing functionality to change)\r\n\r\n### π Description\r\n\r\nInitial test for drizzle connector as discussed.\r\n\r\n### π Checklist\r\n\r\n\r\n\r\n\r\n\r\n- [x] I have linked an issue or discussion.\r\n- [ ] I have updated the documentation accordingly.\r\n","reactions":{"url":"https://api.github.com/repos/unjs/db0/issues/55/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/unjs/db0/issues/55/timeline","performed_via_github_app":null,"state_reason":null},"comment":{"url":"https://api.github.com/repos/unjs/db0/issues/comments/1970848070","html_url":"https://github.com/unjs/db0/pull/55#issuecomment-1970848070","issue_url":"https://api.github.com/repos/unjs/db0/issues/55","id":1970848070,"node_id":"IC_kwDOJhYG6M51eMFG","user":{"login":"amandesai01","id":39585600,"node_id":"MDQ6VXNlcjM5NTg1NjAw","avatar_url":"https://avatars.githubusercontent.com/u/39585600?v=4","gravatar_id":"","url":"https://api.github.com/users/amandesai01","html_url":"https://github.com/amandesai01","followers_url":"https://api.github.com/users/amandesai01/followers","following_url":"https://api.github.com/users/amandesai01/following{/other_user}","gists_url":"https://api.github.com/users/amandesai01/gists{/gist_id}","starred_url":"https://api.github.com/users/amandesai01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amandesai01/subscriptions","organizations_url":"https://api.github.com/users/amandesai01/orgs","repos_url":"https://api.github.com/users/amandesai01/repos","events_url":"https://api.github.com/users/amandesai01/events{/privacy}","received_events_url":"https://api.github.com/users/amandesai01/received_events","type":"User","site_admin":false},"created_at":"2024-02-29T10:33:24Z","updated_at":"2024-02-29T10:33:24Z","author_association":"NONE","body":"Should we test each integration against multiple connectors?\r\nWe can create a structure something like this:\r\n```\r\ntest /\r\n- integrations /\r\n- drizzle /\r\n- - sqlite\r\n- - postgres (and so on...)\r\n\r\n```","reactions":{"url":"https://api.github.com/repos/unjs/db0/issues/comments/1970848070/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null}},"public":true,"created_at":"2024-02-29T10:33:27Z","org":{"id":80154025,"login":"unjs","gravatar_id":"","url":"https://api.github.com/orgs/unjs","avatar_url":"https://avatars.githubusercontent.com/u/80154025?"}},{"id":"36120487922","type":"IssueCommentEvent","actor":{"id":39585600,"login":"amandesai01","display_login":"amandesai01","gravatar_id":"","url":"https://api.github.com/users/amandesai01","avatar_url":"https://avatars.githubusercontent.com/u/39585600?"},"repo":{"id":638977768,"name":"unjs/db0","url":"https://api.github.com/repos/unjs/db0"},"payload":{"action":"created","issue":{"url":"https://api.github.com/repos/unjs/db0/issues/54","repository_url":"https://api.github.com/repos/unjs/db0","labels_url":"https://api.github.com/repos/unjs/db0/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/unjs/db0/issues/54/comments","events_url":"https://api.github.com/repos/unjs/db0/issues/54/events","html_url":"https://github.com/unjs/db0/issues/54","id":2158697812,"node_id":"I_kwDOJhYG6M6Aqx1U","number":54,"title":"Tests for integrations","user":{"login":"amandesai01","id":39585600,"node_id":"MDQ6VXNlcjM5NTg1NjAw","avatar_url":"https://avatars.githubusercontent.com/u/39585600?v=4","gravatar_id":"","url":"https://api.github.com/users/amandesai01","html_url":"https://github.com/amandesai01","followers_url":"https://api.github.com/users/amandesai01/followers","following_url":"https://api.github.com/users/amandesai01/following{/other_user}","gists_url":"https://api.github.com/users/amandesai01/gists{/gist_id}","starred_url":"https://api.github.com/users/amandesai01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amandesai01/subscriptions","organizations_url":"https://api.github.com/users/amandesai01/orgs","repos_url":"https://api.github.com/users/amandesai01/repos","events_url":"https://api.github.com/users/amandesai01/events{/privacy}","received_events_url":"https://api.github.com/users/amandesai01/received_events","type":"User","site_admin":false},"labels":[{"id":5521490530,"node_id":"LA_kwDOJhYG6M8AAAABSRtCYg","url":"https://api.github.com/repos/unjs/db0/labels/test","name":"test","color":"AA6322","default":false,"description":""}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2024-02-28T11:04:43Z","updated_at":"2024-02-29T10:20:11Z","closed_at":null,"author_association":"NONE","active_lock_reason":null,"body":"While making more and more integrations, tests would become necessary to seamlessly validate new integrations. Is anyone working on it or should I attempt to create a basic test suite similar to connectors?","reactions":{"url":"https://api.github.com/repos/unjs/db0/issues/54/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/unjs/db0/issues/54/timeline","performed_via_github_app":null,"state_reason":null},"comment":{"url":"https://api.github.com/repos/unjs/db0/issues/comments/1970826997","html_url":"https://github.com/unjs/db0/issues/54#issuecomment-1970826997","issue_url":"https://api.github.com/repos/unjs/db0/issues/54","id":1970826997,"node_id":"IC_kwDOJhYG6M51eG71","user":{"login":"amandesai01","id":39585600,"node_id":"MDQ6VXNlcjM5NTg1NjAw","avatar_url":"https://avatars.githubusercontent.com/u/39585600?v=4","gravatar_id":"","url":"https://api.github.com/users/amandesai01","html_url":"https://github.com/amandesai01","followers_url":"https://api.github.com/users/amandesai01/followers","following_url":"https://api.github.com/users/amandesai01/following{/other_user}","gists_url":"https://api.github.com/users/amandesai01/gists{/gist_id}","starred_url":"https://api.github.com/users/amandesai01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amandesai01/subscriptions","organizations_url":"https://api.github.com/users/amandesai01/orgs","repos_url":"https://api.github.com/users/amandesai01/repos","events_url":"https://api.github.com/users/amandesai01/events{/privacy}","received_events_url":"https://api.github.com/users/amandesai01/received_events","type":"User","site_admin":false},"created_at":"2024-02-29T10:20:08Z","updated_at":"2024-02-29T10:20:08Z","author_association":"NONE","body":"@pi0 I have created a basic PR as discussed. Let me know what else is needed.","reactions":{"url":"https://api.github.com/repos/unjs/db0/issues/comments/1970826997/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null}},"public":true,"created_at":"2024-02-29T10:20:11Z","org":{"id":80154025,"login":"unjs","gravatar_id":"","url":"https://api.github.com/orgs/unjs","avatar_url":"https://avatars.githubusercontent.com/u/80154025?"}},{"id":"36120444990","type":"PullRequestEvent","actor":{"id":39585600,"login":"amandesai01","display_login":"amandesai01","gravatar_id":"","url":"https://api.github.com/users/amandesai01","avatar_url":"https://avatars.githubusercontent.com/u/39585600?"},"repo":{"id":638977768,"name":"unjs/db0","url":"https://api.github.com/repos/unjs/db0"},"payload":{"action":"opened","number":55,"pull_request":{"url":"https://api.github.com/repos/unjs/db0/pulls/55","id":1749448679,"node_id":"PR_kwDOJhYG6M5oRnfn","html_url":"https://github.com/unjs/db0/pull/55","diff_url":"https://github.com/unjs/db0/pull/55.diff","patch_url":"https://github.com/unjs/db0/pull/55.patch","issue_url":"https://api.github.com/repos/unjs/db0/issues/55","number":55,"state":"open","locked":false,"title":"test(integrations): drizzle integration test","user":{"login":"amandesai01","id":39585600,"node_id":"MDQ6VXNlcjM5NTg1NjAw","avatar_url":"https://avatars.githubusercontent.com/u/39585600?v=4","gravatar_id":"","url":"https://api.github.com/users/amandesai01","html_url":"https://github.com/amandesai01","followers_url":"https://api.github.com/users/amandesai01/followers","following_url":"https://api.github.com/users/amandesai01/following{/other_user}","gists_url":"https://api.github.com/users/amandesai01/gists{/gist_id}","starred_url":"https://api.github.com/users/amandesai01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amandesai01/subscriptions","organizations_url":"https://api.github.com/users/amandesai01/orgs","repos_url":"https://api.github.com/users/amandesai01/repos","events_url":"https://api.github.com/users/amandesai01/events{/privacy}","received_events_url":"https://api.github.com/users/amandesai01/received_events","type":"User","site_admin":false},"body":"\r\n\r\n### π Linked issue\r\n\r\n#54 \r\n\r\n### β Type of change\r\n\r\n\r\n\r\n- [ ] π Documentation (updates to the documentation, readme, or JSdoc annotations)\r\n- [ ] π Bug fix (a non-breaking change that fixes an issue)\r\n- [x] π Enhancement (improving an existing functionality like performance)\r\n- [ ] β¨ New feature (a non-breaking change that adds functionality)\r\n- [ ] π§Ή Chore (updates to the build process or auxiliary tools and libraries)\r\n- [ ] β οΈ Breaking change (fix or feature that would cause existing functionality to change)\r\n\r\n### π Description\r\n\r\nInitial test for drizzle connector as discussed.\r\n\r\n### π Checklist\r\n\r\n\r\n\r\n\r\n\r\n- [x] I have linked an issue or discussion.\r\n- [ ] I have updated the documentation accordingly.\r\n","created_at":"2024-02-29T10:18:51Z","updated_at":"2024-02-29T10:18:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"draft":true,"commits_url":"https://api.github.com/repos/unjs/db0/pulls/55/commits","review_comments_url":"https://api.github.com/repos/unjs/db0/pulls/55/comments","review_comment_url":"https://api.github.com/repos/unjs/db0/pulls/comments{/number}","comments_url":"https://api.github.com/repos/unjs/db0/issues/55/comments","statuses_url":"https://api.github.com/repos/unjs/db0/statuses/f715e8f3e7ac162add712f7ccad510027e117558","head":{"label":"amandesai01:main","ref":"main","sha":"f715e8f3e7ac162add712f7ccad510027e117558","user":{"login":"amandesai01","id":39585600,"node_id":"MDQ6VXNlcjM5NTg1NjAw","avatar_url":"https://avatars.githubusercontent.com/u/39585600?v=4","gravatar_id":"","url":"https://api.github.com/users/amandesai01","html_url":"https://github.com/amandesai01","followers_url":"https://api.github.com/users/amandesai01/followers","following_url":"https://api.github.com/users/amandesai01/following{/other_user}","gists_url":"https://api.github.com/users/amandesai01/gists{/gist_id}","starred_url":"https://api.github.com/users/amandesai01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amandesai01/subscriptions","organizations_url":"https://api.github.com/users/amandesai01/orgs","repos_url":"https://api.github.com/users/amandesai01/repos","events_url":"https://api.github.com/users/amandesai01/events{/privacy}","received_events_url":"https://api.github.com/users/amandesai01/received_events","type":"User","site_admin":false},"repo":{"id":765119672,"node_id":"R_kgDOLZrMuA","name":"db0","full_name":"amandesai01/db0","private":false,"owner":{"login":"amandesai01","id":39585600,"node_id":"MDQ6VXNlcjM5NTg1NjAw","avatar_url":"https://avatars.githubusercontent.com/u/39585600?v=4","gravatar_id":"","url":"https://api.github.com/users/amandesai01","html_url":"https://github.com/amandesai01","followers_url":"https://api.github.com/users/amandesai01/followers","following_url":"https://api.github.com/users/amandesai01/following{/other_user}","gists_url":"https://api.github.com/users/amandesai01/gists{/gist_id}","starred_url":"https://api.github.com/users/amandesai01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amandesai01/subscriptions","organizations_url":"https://api.github.com/users/amandesai01/orgs","repos_url":"https://api.github.com/users/amandesai01/repos","events_url":"https://api.github.com/users/amandesai01/events{/privacy}","received_events_url":"https://api.github.com/users/amandesai01/received_events","type":"User","site_admin":false},"html_url":"https://github.com/amandesai01/db0","description":"π Lightweight SQL Connector","fork":true,"url":"https://api.github.com/repos/amandesai01/db0","forks_url":"https://api.github.com/repos/amandesai01/db0/forks","keys_url":"https://api.github.com/repos/amandesai01/db0/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amandesai01/db0/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amandesai01/db0/teams","hooks_url":"https://api.github.com/repos/amandesai01/db0/hooks","issue_events_url":"https://api.github.com/repos/amandesai01/db0/issues/events{/number}","events_url":"https://api.github.com/repos/amandesai01/db0/events","assignees_url":"https://api.github.com/repos/amandesai01/db0/assignees{/user}","branches_url":"https://api.github.com/repos/amandesai01/db0/branches{/branch}","tags_url":"https://api.github.com/repos/amandesai01/db0/tags","blobs_url":"https://api.github.com/repos/amandesai01/db0/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amandesai01/db0/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amandesai01/db0/git/refs{/sha}","trees_url":"https://api.github.com/repos/amandesai01/db0/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amandesai01/db0/statuses/{sha}","languages_url":"https://api.github.com/repos/amandesai01/db0/languages","stargazers_url":"https://api.github.com/repos/amandesai01/db0/stargazers","contributors_url":"https://api.github.com/repos/amandesai01/db0/contributors","subscribers_url":"https://api.github.com/repos/amandesai01/db0/subscribers","subscription_url":"https://api.github.com/repos/amandesai01/db0/subscription","commits_url":"https://api.github.com/repos/amandesai01/db0/commits{/sha}","git_commits_url":"https://api.github.com/repos/amandesai01/db0/git/commits{/sha}","comments_url":"https://api.github.com/repos/amandesai01/db0/comments{/number}","issue_comment_url":"https://api.github.com/repos/amandesai01/db0/issues/comments{/number}","contents_url":"https://api.github.com/repos/amandesai01/db0/contents/{+path}","compare_url":"https://api.github.com/repos/amandesai01/db0/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amandesai01/db0/merges","archive_url":"https://api.github.com/repos/amandesai01/db0/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amandesai01/db0/downloads","issues_url":"https://api.github.com/repos/amandesai01/db0/issues{/number}","pulls_url":"https://api.github.com/repos/amandesai01/db0/pulls{/number}","milestones_url":"https://api.github.com/repos/amandesai01/db0/milestones{/number}","notifications_url":"https://api.github.com/repos/amandesai01/db0/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amandesai01/db0/labels{/name}","releases_url":"https://api.github.com/repos/amandesai01/db0/releases{/id}","deployments_url":"https://api.github.com/repos/amandesai01/db0/deployments","created_at":"2024-02-29T10:15:53Z","updated_at":"2024-02-29T10:16:57Z","pushed_at":"2024-02-29T10:16:51Z","git_url":"git://github.com/amandesai01/db0.git","ssh_url":"git@github.com:amandesai01/db0.git","clone_url":"https://github.com/amandesai01/db0.git","svn_url":"https://github.com/amandesai01/db0","homepage":"https://db0.unjs.io","size":808,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"has_discussions":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"allow_forking":true,"is_template":false,"web_commit_signoff_required":false,"topics":[],"visibility":"public","forks":0,"open_issues":0,"watchers":0,"default_branch":"main"}},"base":{"label":"unjs:main","ref":"main","sha":"57606651fb77d2052f58e0861b0faa0c1a1b3467","user":{"login":"unjs","id":80154025,"node_id":"MDEyOk9yZ2FuaXphdGlvbjgwMTU0MDI1","avatar_url":"https://avatars.githubusercontent.com/u/80154025?v=4","gravatar_id":"","url":"https://api.github.com/users/unjs","html_url":"https://github.com/unjs","followers_url":"https://api.github.com/users/unjs/followers","following_url":"https://api.github.com/users/unjs/following{/other_user}","gists_url":"https://api.github.com/users/unjs/gists{/gist_id}","starred_url":"https://api.github.com/users/unjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unjs/subscriptions","organizations_url":"https://api.github.com/users/unjs/orgs","repos_url":"https://api.github.com/users/unjs/repos","events_url":"https://api.github.com/users/unjs/events{/privacy}","received_events_url":"https://api.github.com/users/unjs/received_events","type":"Organization","site_admin":false},"repo":{"id":638977768,"node_id":"R_kgDOJhYG6A","name":"db0","full_name":"unjs/db0","private":false,"owner":{"login":"unjs","id":80154025,"node_id":"MDEyOk9yZ2FuaXphdGlvbjgwMTU0MDI1","avatar_url":"https://avatars.githubusercontent.com/u/80154025?v=4","gravatar_id":"","url":"https://api.github.com/users/unjs","html_url":"https://github.com/unjs","followers_url":"https://api.github.com/users/unjs/followers","following_url":"https://api.github.com/users/unjs/following{/other_user}","gists_url":"https://api.github.com/users/unjs/gists{/gist_id}","starred_url":"https://api.github.com/users/unjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unjs/subscriptions","organizations_url":"https://api.github.com/users/unjs/orgs","repos_url":"https://api.github.com/users/unjs/repos","events_url":"https://api.github.com/users/unjs/events{/privacy}","received_events_url":"https://api.github.com/users/unjs/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/unjs/db0","description":"π Lightweight SQL Connector","fork":false,"url":"https://api.github.com/repos/unjs/db0","forks_url":"https://api.github.com/repos/unjs/db0/forks","keys_url":"https://api.github.com/repos/unjs/db0/keys{/key_id}","collaborators_url":"https://api.github.com/repos/unjs/db0/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/unjs/db0/teams","hooks_url":"https://api.github.com/repos/unjs/db0/hooks","issue_events_url":"https://api.github.com/repos/unjs/db0/issues/events{/number}","events_url":"https://api.github.com/repos/unjs/db0/events","assignees_url":"https://api.github.com/repos/unjs/db0/assignees{/user}","branches_url":"https://api.github.com/repos/unjs/db0/branches{/branch}","tags_url":"https://api.github.com/repos/unjs/db0/tags","blobs_url":"https://api.github.com/repos/unjs/db0/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/unjs/db0/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/unjs/db0/git/refs{/sha}","trees_url":"https://api.github.com/repos/unjs/db0/git/trees{/sha}","statuses_url":"https://api.github.com/repos/unjs/db0/statuses/{sha}","languages_url":"https://api.github.com/repos/unjs/db0/languages","stargazers_url":"https://api.github.com/repos/unjs/db0/stargazers","contributors_url":"https://api.github.com/repos/unjs/db0/contributors","subscribers_url":"https://api.github.com/repos/unjs/db0/subscribers","subscription_url":"https://api.github.com/repos/unjs/db0/subscription","commits_url":"https://api.github.com/repos/unjs/db0/commits{/sha}","git_commits_url":"https://api.github.com/repos/unjs/db0/git/commits{/sha}","comments_url":"https://api.github.com/repos/unjs/db0/comments{/number}","issue_comment_url":"https://api.github.com/repos/unjs/db0/issues/comments{/number}","contents_url":"https://api.github.com/repos/unjs/db0/contents/{+path}","compare_url":"https://api.github.com/repos/unjs/db0/compare/{base}...{head}","merges_url":"https://api.github.com/repos/unjs/db0/merges","archive_url":"https://api.github.com/repos/unjs/db0/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/unjs/db0/downloads","issues_url":"https://api.github.com/repos/unjs/db0/issues{/number}","pulls_url":"https://api.github.com/repos/unjs/db0/pulls{/number}","milestones_url":"https://api.github.com/repos/unjs/db0/milestones{/number}","notifications_url":"https://api.github.com/repos/unjs/db0/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/unjs/db0/labels{/name}","releases_url":"https://api.github.com/repos/unjs/db0/releases{/id}","deployments_url":"https://api.github.com/repos/unjs/db0/deployments","created_at":"2023-05-10T13:55:22Z","updated_at":"2024-02-29T09:45:21Z","pushed_at":"2024-02-29T10:18:52Z","git_url":"git://github.com/unjs/db0.git","ssh_url":"git@github.com:unjs/db0.git","clone_url":"https://github.com/unjs/db0.git","svn_url":"https://github.com/unjs/db0","homepage":"https://db0.unjs.io","size":808,"stargazers_count":75,"watchers_count":75,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"has_discussions":false,"forks_count":3,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":9,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"allow_forking":true,"is_template":false,"web_commit_signoff_required":false,"topics":[],"visibility":"public","forks":3,"open_issues":9,"watchers":75,"default_branch":"main"}},"_links":{"self":{"href":"https://api.github.com/repos/unjs/db0/pulls/55"},"html":{"href":"https://github.com/unjs/db0/pull/55"},"issue":{"href":"https://api.github.com/repos/unjs/db0/issues/55"},"comments":{"href":"https://api.github.com/repos/unjs/db0/issues/55/comments"},"review_comments":{"href":"https://api.github.com/repos/unjs/db0/pulls/55/comments"},"review_comment":{"href":"https://api.github.com/repos/unjs/db0/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/unjs/db0/pulls/55/commits"},"statuses":{"href":"https://api.github.com/repos/unjs/db0/statuses/f715e8f3e7ac162add712f7ccad510027e117558"}},"author_association":"NONE","auto_merge":null,"active_lock_reason":null,"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":46,"deletions":1,"changed_files":2}},"public":true,"created_at":"2024-02-29T10:18:54Z","org":{"id":80154025,"login":"unjs","gravatar_id":"","url":"https://api.github.com/orgs/unjs","avatar_url":"https://avatars.githubusercontent.com/u/80154025?"}},{"id":"36120380245","type":"PushEvent","actor":{"id":39585600,"login":"amandesai01","display_login":"amandesai01","gravatar_id":"","url":"https://api.github.com/users/amandesai01","avatar_url":"https://avatars.githubusercontent.com/u/39585600?"},"repo":{"id":765119672,"name":"amandesai01/db0","url":"https://api.github.com/repos/amandesai01/db0"},"payload":{"repository_id":765119672,"push_id":17323664290,"size":1,"distinct_size":1,"ref":"refs/heads/main","head":"f715e8f3e7ac162add712f7ccad510027e117558","before":"57606651fb77d2052f58e0861b0faa0c1a1b3467","commits":[{"sha":"f715e8f3e7ac162add712f7ccad510027e117558","author":{"email":"amandesai01@gmail.com","name":"amandesai01"},"message":"test(integrations): drizzle integration test","distinct":true,"url":"https://api.github.com/repos/amandesai01/db0/commits/f715e8f3e7ac162add712f7ccad510027e117558"}]},"public":true,"created_at":"2024-02-29T10:16:54Z"},{"id":"36120349210","type":"ForkEvent","actor":{"id":39585600,"login":"amandesai01","display_login":"amandesai01","gravatar_id":"","url":"https://api.github.com/users/amandesai01","avatar_url":"https://avatars.githubusercontent.com/u/39585600?"},"repo":{"id":638977768,"name":"unjs/db0","url":"https://api.github.com/repos/unjs/db0"},"payload":{"forkee":{"id":765119672,"node_id":"R_kgDOLZrMuA","name":"db0","full_name":"amandesai01/db0","private":false,"owner":{"login":"amandesai01","id":39585600,"node_id":"MDQ6VXNlcjM5NTg1NjAw","avatar_url":"https://avatars.githubusercontent.com/u/39585600?v=4","gravatar_id":"","url":"https://api.github.com/users/amandesai01","html_url":"https://github.com/amandesai01","followers_url":"https://api.github.com/users/amandesai01/followers","following_url":"https://api.github.com/users/amandesai01/following{/other_user}","gists_url":"https://api.github.com/users/amandesai01/gists{/gist_id}","starred_url":"https://api.github.com/users/amandesai01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amandesai01/subscriptions","organizations_url":"https://api.github.com/users/amandesai01/orgs","repos_url":"https://api.github.com/users/amandesai01/repos","events_url":"https://api.github.com/users/amandesai01/events{/privacy}","received_events_url":"https://api.github.com/users/amandesai01/received_events","type":"User","site_admin":false},"html_url":"https://github.com/amandesai01/db0","description":"π Lightweight SQL Connector","fork":true,"url":"https://api.github.com/repos/amandesai01/db0","forks_url":"https://api.github.com/repos/amandesai01/db0/forks","keys_url":"https://api.github.com/repos/amandesai01/db0/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amandesai01/db0/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amandesai01/db0/teams","hooks_url":"https://api.github.com/repos/amandesai01/db0/hooks","issue_events_url":"https://api.github.com/repos/amandesai01/db0/issues/events{/number}","events_url":"https://api.github.com/repos/amandesai01/db0/events","assignees_url":"https://api.github.com/repos/amandesai01/db0/assignees{/user}","branches_url":"https://api.github.com/repos/amandesai01/db0/branches{/branch}","tags_url":"https://api.github.com/repos/amandesai01/db0/tags","blobs_url":"https://api.github.com/repos/amandesai01/db0/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amandesai01/db0/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amandesai01/db0/git/refs{/sha}","trees_url":"https://api.github.com/repos/amandesai01/db0/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amandesai01/db0/statuses/{sha}","languages_url":"https://api.github.com/repos/amandesai01/db0/languages","stargazers_url":"https://api.github.com/repos/amandesai01/db0/stargazers","contributors_url":"https://api.github.com/repos/amandesai01/db0/contributors","subscribers_url":"https://api.github.com/repos/amandesai01/db0/subscribers","subscription_url":"https://api.github.com/repos/amandesai01/db0/subscription","commits_url":"https://api.github.com/repos/amandesai01/db0/commits{/sha}","git_commits_url":"https://api.github.com/repos/amandesai01/db0/git/commits{/sha}","comments_url":"https://api.github.com/repos/amandesai01/db0/comments{/number}","issue_comment_url":"https://api.github.com/repos/amandesai01/db0/issues/comments{/number}","contents_url":"https://api.github.com/repos/amandesai01/db0/contents/{+path}","compare_url":"https://api.github.com/repos/amandesai01/db0/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amandesai01/db0/merges","archive_url":"https://api.github.com/repos/amandesai01/db0/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amandesai01/db0/downloads","issues_url":"https://api.github.com/repos/amandesai01/db0/issues{/number}","pulls_url":"https://api.github.com/repos/amandesai01/db0/pulls{/number}","milestones_url":"https://api.github.com/repos/amandesai01/db0/milestones{/number}","notifications_url":"https://api.github.com/repos/amandesai01/db0/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amandesai01/db0/labels{/name}","releases_url":"https://api.github.com/repos/amandesai01/db0/releases{/id}","deployments_url":"https://api.github.com/repos/amandesai01/db0/deployments","created_at":"2024-02-29T10:15:53Z","updated_at":"2024-02-29T10:15:53Z","pushed_at":"2024-02-27T20:52:43Z","git_url":"git://github.com/amandesai01/db0.git","ssh_url":"git@github.com:amandesai01/db0.git","clone_url":"https://github.com/amandesai01/db0.git","svn_url":"https://github.com/amandesai01/db0","homepage":"https://db0.unjs.io","size":808,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"has_discussions":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":null,"allow_forking":true,"is_template":false,"web_commit_signoff_required":false,"topics":[],"visibility":"public","forks":0,"open_issues":0,"watchers":0,"default_branch":"main","public":true}},"public":true,"created_at":"2024-02-29T10:15:54Z","org":{"id":80154025,"login":"unjs","gravatar_id":"","url":"https://api.github.com/orgs/unjs","avatar_url":"https://avatars.githubusercontent.com/u/80154025?"}},{"id":"36084871122","type":"IssueCommentEvent","actor":{"id":39585600,"login":"amandesai01","display_login":"amandesai01","gravatar_id":"","url":"https://api.github.com/users/amandesai01","avatar_url":"https://avatars.githubusercontent.com/u/39585600?"},"repo":{"id":638977768,"name":"unjs/db0","url":"https://api.github.com/repos/unjs/db0"},"payload":{"action":"created","issue":{"url":"https://api.github.com/repos/unjs/db0/issues/54","repository_url":"https://api.github.com/repos/unjs/db0","labels_url":"https://api.github.com/repos/unjs/db0/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/unjs/db0/issues/54/comments","events_url":"https://api.github.com/repos/unjs/db0/issues/54/events","html_url":"https://github.com/unjs/db0/issues/54","id":2158697812,"node_id":"I_kwDOJhYG6M6Aqx1U","number":54,"title":"Tests for integrations","user":{"login":"amandesai01","id":39585600,"node_id":"MDQ6VXNlcjM5NTg1NjAw","avatar_url":"https://avatars.githubusercontent.com/u/39585600?v=4","gravatar_id":"","url":"https://api.github.com/users/amandesai01","html_url":"https://github.com/amandesai01","followers_url":"https://api.github.com/users/amandesai01/followers","following_url":"https://api.github.com/users/amandesai01/following{/other_user}","gists_url":"https://api.github.com/users/amandesai01/gists{/gist_id}","starred_url":"https://api.github.com/users/amandesai01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amandesai01/subscriptions","organizations_url":"https://api.github.com/users/amandesai01/orgs","repos_url":"https://api.github.com/users/amandesai01/repos","events_url":"https://api.github.com/users/amandesai01/events{/privacy}","received_events_url":"https://api.github.com/users/amandesai01/received_events","type":"User","site_admin":false},"labels":[{"id":5521490530,"node_id":"LA_kwDOJhYG6M8AAAABSRtCYg","url":"https://api.github.com/repos/unjs/db0/labels/test","name":"test","color":"AA6322","default":false,"description":""}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2024-02-28T11:04:43Z","updated_at":"2024-02-28T11:32:03Z","closed_at":null,"author_association":"NONE","active_lock_reason":null,"body":"While making more and more integrations, tests would become necessary to seamlessly validate new integrations. Is anyone working on it or should I attempt to create a basic test suite similar to connectors?","reactions":{"url":"https://api.github.com/repos/unjs/db0/issues/54/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/unjs/db0/issues/54/timeline","performed_via_github_app":null,"state_reason":null},"comment":{"url":"https://api.github.com/repos/unjs/db0/issues/comments/1968789341","html_url":"https://github.com/unjs/db0/issues/54#issuecomment-1968789341","issue_url":"https://api.github.com/repos/unjs/db0/issues/54","id":1968789341,"node_id":"IC_kwDOJhYG6M51WVdd","user":{"login":"amandesai01","id":39585600,"node_id":"MDQ6VXNlcjM5NTg1NjAw","avatar_url":"https://avatars.githubusercontent.com/u/39585600?v=4","gravatar_id":"","url":"https://api.github.com/users/amandesai01","html_url":"https://github.com/amandesai01","followers_url":"https://api.github.com/users/amandesai01/followers","following_url":"https://api.github.com/users/amandesai01/following{/other_user}","gists_url":"https://api.github.com/users/amandesai01/gists{/gist_id}","starred_url":"https://api.github.com/users/amandesai01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amandesai01/subscriptions","organizations_url":"https://api.github.com/users/amandesai01/orgs","repos_url":"https://api.github.com/users/amandesai01/repos","events_url":"https://api.github.com/users/amandesai01/events{/privacy}","received_events_url":"https://api.github.com/users/amandesai01/received_events","type":"User","site_admin":false},"created_at":"2024-02-28T11:32:02Z","updated_at":"2024-02-28T11:32:02Z","author_association":"NONE","body":"sure, I create some basic changes and create a draft PR in some time","reactions":{"url":"https://api.github.com/repos/unjs/db0/issues/comments/1968789341/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null}},"public":true,"created_at":"2024-02-28T11:32:04Z","org":{"id":80154025,"login":"unjs","gravatar_id":"","url":"https://api.github.com/orgs/unjs","avatar_url":"https://avatars.githubusercontent.com/u/80154025?"}},{"id":"36083997504","type":"IssuesEvent","actor":{"id":39585600,"login":"amandesai01","display_login":"amandesai01","gravatar_id":"","url":"https://api.github.com/users/amandesai01","avatar_url":"https://avatars.githubusercontent.com/u/39585600?"},"repo":{"id":638977768,"name":"unjs/db0","url":"https://api.github.com/repos/unjs/db0"},"payload":{"action":"opened","issue":{"url":"https://api.github.com/repos/unjs/db0/issues/54","repository_url":"https://api.github.com/repos/unjs/db0","labels_url":"https://api.github.com/repos/unjs/db0/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/unjs/db0/issues/54/comments","events_url":"https://api.github.com/repos/unjs/db0/issues/54/events","html_url":"https://github.com/unjs/db0/issues/54","id":2158697812,"node_id":"I_kwDOJhYG6M6Aqx1U","number":54,"title":"Tests for integrations","user":{"login":"amandesai01","id":39585600,"node_id":"MDQ6VXNlcjM5NTg1NjAw","avatar_url":"https://avatars.githubusercontent.com/u/39585600?v=4","gravatar_id":"","url":"https://api.github.com/users/amandesai01","html_url":"https://github.com/amandesai01","followers_url":"https://api.github.com/users/amandesai01/followers","following_url":"https://api.github.com/users/amandesai01/following{/other_user}","gists_url":"https://api.github.com/users/amandesai01/gists{/gist_id}","starred_url":"https://api.github.com/users/amandesai01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amandesai01/subscriptions","organizations_url":"https://api.github.com/users/amandesai01/orgs","repos_url":"https://api.github.com/users/amandesai01/repos","events_url":"https://api.github.com/users/amandesai01/events{/privacy}","received_events_url":"https://api.github.com/users/amandesai01/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2024-02-28T11:04:43Z","updated_at":"2024-02-28T11:04:43Z","closed_at":null,"author_association":"NONE","active_lock_reason":null,"body":"While making more and more integrations, tests would become necessary to seamlessly validate new integrations. Is anyone working on it or should I attempt to create a basic test suite similar to connectors?","reactions":{"url":"https://api.github.com/repos/unjs/db0/issues/54/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/unjs/db0/issues/54/timeline","performed_via_github_app":null,"state_reason":null}},"public":true,"created_at":"2024-02-28T11:04:44Z","org":{"id":80154025,"login":"unjs","gravatar_id":"","url":"https://api.github.com/orgs/unjs","avatar_url":"https://avatars.githubusercontent.com/u/80154025?"}},{"id":"36083733834","type":"PushEvent","actor":{"id":39585600,"login":"amandesai01","display_login":"amandesai01","gravatar_id":"","url":"https://api.github.com/users/amandesai01","avatar_url":"https://avatars.githubusercontent.com/u/39585600?"},"repo":{"id":754006056,"name":"amandesai01/nuxt","url":"https://api.github.com/repos/amandesai01/nuxt"},"payload":{"repository_id":754006056,"push_id":17305897191,"size":80,"distinct_size":80,"ref":"refs/heads/main","head":"fa79b86d4ab286c3c43735b5d589006e95d9182f","before":"36767e6b523990072824344f83707de8d5f1c8f7","commits":[{"sha":"25f1787922c726c6e166a4952ddb286cd013d624","author":{"email":"daniel@roe.dev","name":"Daniel Roe"},"message":"fix(nuxt): allow prefetching urls with query string (#25658)","distinct":true,"url":"https://api.github.com/repos/amandesai01/nuxt/commits/25f1787922c726c6e166a4952ddb286cd013d624"},{"sha":"f28a4685076b3f3a25e7cb7045fe4ead1c9fb3c0","author":{"email":"29139614+renovate[bot]@users.noreply.github.com","name":"renovate[bot]"},"message":"chore(deps): update all non-major dependencies (main) (#25670)\n\nCo-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>","distinct":true,"url":"https://api.github.com/repos/amandesai01/nuxt/commits/f28a4685076b3f3a25e7cb7045fe4ead1c9fb3c0"},{"sha":"e317349688b18909649b805bbb9394f1b3dd80d8","author":{"email":"80538114+byStrange@users.noreply.github.com","name":"Stephen Strange"},"message":"docs: add quotes to clarify what site title is in example (#25669)","distinct":true,"url":"https://api.github.com/repos/amandesai01/nuxt/commits/e317349688b18909649b805bbb9394f1b3dd80d8"},{"sha":"4f3391fc0aaa2a2f09eb8ef272eface6bb7dfefc","author":{"email":"daniel@roe.dev","name":"Daniel Roe"},"message":"fix(nuxt): remove undefined keys in route object (#25667)","distinct":true,"url":"https://api.github.com/repos/amandesai01/nuxt/commits/4f3391fc0aaa2a2f09eb8ef272eface6bb7dfefc"},{"sha":"ae83df8c43a085f19e8c463c05be7eca321a0726","author":{"email":"39585600+amandesai01@users.noreply.github.com","name":"Aman Desai"},"message":"fix(vite): treat `.pcss` extension as a CSS extension (#25673)","distinct":true,"url":"https://api.github.com/repos/amandesai01/nuxt/commits/ae83df8c43a085f19e8c463c05be7eca321a0726"},{"sha":"3c271413f85b1dcc8bf41714512627ccebbb6c75","author":{"email":"anthonyfu117@hotmail.com","name":"Anthony Fu"},"message":"docs: enable twoslash for some code snippets (#25679)","distinct":true,"url":"https://api.github.com/repos/amandesai01/nuxt/commits/3c271413f85b1dcc8bf41714512627ccebbb6c75"},{"sha":"fd671a27eaeefa10bb74885fbaa6e5866370b996","author":{"email":"daniel@roe.dev","name":"Daniel Roe"},"message":"fix(nuxt): don't check for layout/page with `` (#25714)","distinct":true,"url":"https://api.github.com/repos/amandesai01/nuxt/commits/fd671a27eaeefa10bb74885fbaa6e5866370b996"},{"sha":"0a8a5916aabc8360393f47d335d0b9fd6c22a41a","author":{"email":"gaojinsong2010@gmail.com","name":"GJSSSS"},"message":"docs: add prepend option docs for `addComponentsDir` (#25683)","distinct":true,"url":"https://api.github.com/repos/amandesai01/nuxt/commits/0a8a5916aabc8360393f47d335d0b9fd6c22a41a"},{"sha":"a2fbd453c6c19cbdfa06b66859847fd70af52984","author":{"email":"denis.lugowski@gmail.com","name":"Denis L"},"message":"docs: extend auto-scanned layer directories (#25720)","distinct":true,"url":"https://api.github.com/repos/amandesai01/nuxt/commits/a2fbd453c6c19cbdfa06b66859847fd70af52984"},{"sha":"eb1593ceba69986edcc30fdbd8b6a73168056f81","author":{"email":"29139614+renovate[bot]@users.noreply.github.com","name":"renovate[bot]"},"message":"chore(deps): update all non-major dependencies (main) (#25682)\n\nCo-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>\r\nCo-authored-by: Daniel Roe ","distinct":true,"url":"https://api.github.com/repos/amandesai01/nuxt/commits/eb1593ceba69986edcc30fdbd8b6a73168056f81"},{"sha":"2dea0d3c8009820bd0ee5c421b0384ca39ce52de","author":{"email":"61267686+shuvo-me@users.noreply.github.com","name":"Naim Ahmed Shuvo"},"message":"docs: improve wording in seo docs (#25692)","distinct":true,"url":"https://api.github.com/repos/amandesai01/nuxt/commits/2dea0d3c8009820bd0ee5c421b0384ca39ce52de"},{"sha":"18063b251ce3ed6b334b2b8951c328005841c299","author":{"email":"29139614+renovate[bot]@users.noreply.github.com","name":"renovate[bot]"},"message":"chore(deps): update dependency @vitejs/plugin-vue to v5.0.4 (main) (#25726)\n\nCo-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>","distinct":true,"url":"https://api.github.com/repos/amandesai01/nuxt/commits/18063b251ce3ed6b334b2b8951c328005841c299"},{"sha":"75f05e95f277556592e5b98e506153154bbbe547","author":{"email":"jpsc@users.noreply.github.com","name":"JoΓ£o Carmona"},"message":"docs: add how to debug nuxt with node inspector (#25731)","distinct":true,"url":"https://api.github.com/repos/amandesai01/nuxt/commits/75f05e95f277556592e5b98e506153154bbbe547"},{"sha":"3ac8b18cb6145e49c30d42a5f327c0ed33862f3f","author":{"email":"daniel@roe.dev","name":"Daniel Roe"},"message":"fix(vite): strip query strings for style chunk filenames (#25764)","distinct":true,"url":"https://api.github.com/repos/amandesai01/nuxt/commits/3ac8b18cb6145e49c30d42a5f327c0ed33862f3f"},{"sha":"795050e68ced9cd368ccace4b7cd7d56b9ae18b7","author":{"email":"daniel@roe.dev","name":"Daniel Roe"},"message":"fix(nuxt): inline entry styles before component styles (#25749)","distinct":true,"url":"https://api.github.com/repos/amandesai01/nuxt/commits/795050e68ced9cd368ccace4b7cd7d56b9ae18b7"},{"sha":"f0a7ccd588ffe1987e2f8932f141b9c888efe545","author":{"email":"daniel@roe.dev","name":"Daniel Roe"},"message":"fix(vite): optimise layer dependencies with vite (#25752)","distinct":true,"url":"https://api.github.com/repos/amandesai01/nuxt/commits/f0a7ccd588ffe1987e2f8932f141b9c888efe545"},{"sha":"29b338f8aacde341c65f27cc393398d9c45589a6","author":{"email":"daniel@roe.dev","name":"Daniel Roe"},"message":"fix(nuxt): don't add extra `baseURL` on server `useRequestURL` (#25765)","distinct":true,"url":"https://api.github.com/repos/amandesai01/nuxt/commits/29b338f8aacde341c65f27cc393398d9c45589a6"},{"sha":"37d24eed7dce72b3f7e4a983de1ab38ddaa72739","author":{"email":"daniel@roe.dev","name":"Daniel Roe"},"message":"fix(schema): use `rootDir`, not `process.cwd`, for `modulesDir` (#25766)","distinct":true,"url":"https://api.github.com/repos/amandesai01/nuxt/commits/37d24eed7dce72b3f7e4a983de1ab38ddaa72739"},{"sha":"a1c1fda006ad8417cbc564007cbde36cead43d68","author":{"email":"daniel@roe.dev","name":"Daniel Roe"},"message":"fix(nuxt): only warn for `useId` if attrs were not rendered (#25770)","distinct":true,"url":"https://api.github.com/repos/amandesai01/nuxt/commits/a1c1fda006ad8417cbc564007cbde36cead43d68"},{"sha":"b40e9dc3c72e97f6a58021320244ead5310991ea","author":{"email":"mehdi.shahabbasian@gmail.com","name":"Mahdi Shah Abbasian"},"message":"docs: