Merge pull request #2907 from github/dependabot/npm_and_yarn/npm-41871dd9e3

build(deps): bump the npm group across 1 directory with 2 updates
This commit is contained in:
Henry Mercer 2025-05-27 13:49:38 +01:00 committed by GitHub
commit 97fbf51190
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
223 changed files with 2513 additions and 1766 deletions

474
node_modules/.package-lock.json generated vendored
View file

@ -1151,165 +1151,165 @@
} }
}, },
"node_modules/@octokit/app": { "node_modules/@octokit/app": {
"version": "15.1.6", "version": "16.0.1",
"resolved": "https://registry.npmjs.org/@octokit/app/-/app-15.1.6.tgz", "resolved": "https://registry.npmjs.org/@octokit/app/-/app-16.0.1.tgz",
"integrity": "sha512-WELCamoCJo9SN0lf3SWZccf68CF0sBNPQuLYmZ/n87p5qvBJDe9aBtr5dHkh7T9nxWZ608pizwsUbypSzZAiUw==", "integrity": "sha512-kgTeTsWmpUX+s3Fs4EK4w1K+jWCDB6ClxLSWUWTyhlw7+L3jHtuXDR4QtABu2GsmCMdk67xRhruiXotS3ay3Yw==",
"dependencies": { "dependencies": {
"@octokit/auth-app": "^7.2.1", "@octokit/auth-app": "^8.0.1",
"@octokit/auth-unauthenticated": "^6.1.3", "@octokit/auth-unauthenticated": "^7.0.1",
"@octokit/core": "^6.1.5", "@octokit/core": "^7.0.2",
"@octokit/oauth-app": "^7.1.6", "@octokit/oauth-app": "^8.0.1",
"@octokit/plugin-paginate-rest": "^12.0.0", "@octokit/plugin-paginate-rest": "^13.0.0",
"@octokit/types": "^14.0.0", "@octokit/types": "^14.0.0",
"@octokit/webhooks": "^13.6.1" "@octokit/webhooks": "^14.0.0"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
} }
}, },
"node_modules/@octokit/app/node_modules/@octokit/auth-token": { "node_modules/@octokit/app/node_modules/@octokit/auth-token": {
"version": "5.1.2", "version": "6.0.0",
"resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-5.1.2.tgz", "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-6.0.0.tgz",
"integrity": "sha512-JcQDsBdg49Yky2w2ld20IHAlwr8d/d8N6NiOXbtuoPCqzbsiJgF633mVUw3x4mo0H5ypataQIX7SFu3yy44Mpw==", "integrity": "sha512-P4YJBPdPSpWTQ1NU4XYdvHvXJJDxM6YwpS0FZHRgP7YFkdVxsWcpWGy/NVqlAA7PcPCnMacXlRm1y2PFZRWL/w==",
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
} }
}, },
"node_modules/@octokit/app/node_modules/@octokit/core": { "node_modules/@octokit/app/node_modules/@octokit/core": {
"version": "6.1.5", "version": "7.0.2",
"resolved": "https://registry.npmjs.org/@octokit/core/-/core-6.1.5.tgz", "resolved": "https://registry.npmjs.org/@octokit/core/-/core-7.0.2.tgz",
"integrity": "sha512-vvmsN0r7rguA+FySiCsbaTTobSftpIDIpPW81trAmsv9TGxg3YCujAxRYp/Uy8xmDgYCzzgulG62H7KYUFmeIg==", "integrity": "sha512-ODsoD39Lq6vR6aBgvjTnA3nZGliknKboc9Gtxr7E4WDNqY24MxANKcuDQSF0jzapvGb3KWOEDrKfve4HoWGK+g==",
"dependencies": { "dependencies": {
"@octokit/auth-token": "^5.0.0", "@octokit/auth-token": "^6.0.0",
"@octokit/graphql": "^8.2.2", "@octokit/graphql": "^9.0.1",
"@octokit/request": "^9.2.3", "@octokit/request": "^10.0.2",
"@octokit/request-error": "^6.1.8", "@octokit/request-error": "^7.0.0",
"@octokit/types": "^14.0.0", "@octokit/types": "^14.0.0",
"before-after-hook": "^3.0.2", "before-after-hook": "^4.0.0",
"universal-user-agent": "^7.0.0" "universal-user-agent": "^7.0.0"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
} }
}, },
"node_modules/@octokit/app/node_modules/@octokit/graphql": { "node_modules/@octokit/app/node_modules/@octokit/graphql": {
"version": "8.2.2", "version": "9.0.1",
"resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-8.2.2.tgz", "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-9.0.1.tgz",
"integrity": "sha512-Yi8hcoqsrXGdt0yObxbebHXFOiUA+2v3n53epuOg1QUgOB6c4XzvisBNVXJSl8RYA5KrDuSL2yq9Qmqe5N0ryA==", "integrity": "sha512-j1nQNU1ZxNFx2ZtKmL4sMrs4egy5h65OMDmSbVyuCzjOcwsHq6EaYjOTGXPQxgfiN8dJ4CriYHk6zF050WEULg==",
"dependencies": { "dependencies": {
"@octokit/request": "^9.2.3", "@octokit/request": "^10.0.2",
"@octokit/types": "^14.0.0", "@octokit/types": "^14.0.0",
"universal-user-agent": "^7.0.0" "universal-user-agent": "^7.0.0"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
} }
}, },
"node_modules/@octokit/app/node_modules/@octokit/plugin-paginate-rest": { "node_modules/@octokit/app/node_modules/@octokit/plugin-paginate-rest": {
"version": "12.0.0", "version": "13.0.1",
"resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-12.0.0.tgz", "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-13.0.1.tgz",
"integrity": "sha512-MPd6WK1VtZ52lFrgZ0R2FlaoiWllzgqFHaSZxvp72NmoDeZ0m8GeJdg4oB6ctqMTYyrnDYp592Xma21mrgiyDA==", "integrity": "sha512-m1KvHlueScy4mQJWvFDCxFBTIdXS0K1SgFGLmqHyX90mZdCIv6gWBbKRhatxRjhGlONuTK/hztYdaqrTXcFZdQ==",
"dependencies": { "dependencies": {
"@octokit/types": "^14.0.0" "@octokit/types": "^14.1.0"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
}, },
"peerDependencies": { "peerDependencies": {
"@octokit/core": ">=6" "@octokit/core": ">=6"
} }
}, },
"node_modules/@octokit/app/node_modules/before-after-hook": { "node_modules/@octokit/app/node_modules/before-after-hook": {
"version": "3.0.2", "version": "4.0.0",
"resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-3.0.2.tgz", "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-4.0.0.tgz",
"integrity": "sha512-Nik3Sc0ncrMK4UUdXQmAnRtzmNQTAAXmXIopizwZ1W1t8QmfJj+zL4OA2I7XPTPW5z5TDqv4hRo/JzouDJnX3A==" "integrity": "sha512-q6tR3RPqIB1pMiTRMFcZwuG5T8vwp+vUvEG0vuI6B+Rikh5BfPp2fQ82c925FOs+b0lcFQ8CFrL+KbilfZFhOQ=="
}, },
"node_modules/@octokit/app/node_modules/universal-user-agent": { "node_modules/@octokit/app/node_modules/universal-user-agent": {
"version": "7.0.2", "version": "7.0.3",
"resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.2.tgz", "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.3.tgz",
"integrity": "sha512-0JCqzSKnStlRRQfCdowvqy3cy0Dvtlb8xecj/H8JFZuCze4rwjPZQOgvFvn0Ws/usCHQFGpyr+pB9adaGwXn4Q==" "integrity": "sha512-TmnEAEAsBJVZM/AADELsK76llnwcf9vMKuPz8JflO1frO8Lchitr0fNaN9d+Ap0BjKtqWqd/J17qeDnXh8CL2A=="
}, },
"node_modules/@octokit/auth-app": { "node_modules/@octokit/auth-app": {
"version": "7.2.1", "version": "8.0.1",
"resolved": "https://registry.npmjs.org/@octokit/auth-app/-/auth-app-7.2.1.tgz", "resolved": "https://registry.npmjs.org/@octokit/auth-app/-/auth-app-8.0.1.tgz",
"integrity": "sha512-4jaopCVOtWN0V8qCx/1s2pkRqC6tcvIQM3kFB99eIpsP53GfsoIKO08D94b83n/V3iGihHmxWR2lXzE0NicUGg==", "integrity": "sha512-P2J5pB3pjiGwtJX4WqJVYCtNkcZ+j5T2Wm14aJAEIC3WJOrv12jvBley3G1U/XI8q9o1A7QMG54LiFED2BiFlg==",
"dependencies": { "dependencies": {
"@octokit/auth-oauth-app": "^8.1.4", "@octokit/auth-oauth-app": "^9.0.1",
"@octokit/auth-oauth-user": "^5.1.4", "@octokit/auth-oauth-user": "^6.0.0",
"@octokit/request": "^9.2.3", "@octokit/request": "^10.0.2",
"@octokit/request-error": "^6.1.8", "@octokit/request-error": "^7.0.0",
"@octokit/types": "^14.0.0", "@octokit/types": "^14.0.0",
"toad-cache": "^3.7.0", "toad-cache": "^3.7.0",
"universal-github-app-jwt": "^2.2.0", "universal-github-app-jwt": "^2.2.0",
"universal-user-agent": "^7.0.0" "universal-user-agent": "^7.0.0"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
} }
}, },
"node_modules/@octokit/auth-app/node_modules/universal-user-agent": { "node_modules/@octokit/auth-app/node_modules/universal-user-agent": {
"version": "7.0.2", "version": "7.0.3",
"resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.2.tgz", "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.3.tgz",
"integrity": "sha512-0JCqzSKnStlRRQfCdowvqy3cy0Dvtlb8xecj/H8JFZuCze4rwjPZQOgvFvn0Ws/usCHQFGpyr+pB9adaGwXn4Q==" "integrity": "sha512-TmnEAEAsBJVZM/AADELsK76llnwcf9vMKuPz8JflO1frO8Lchitr0fNaN9d+Ap0BjKtqWqd/J17qeDnXh8CL2A=="
}, },
"node_modules/@octokit/auth-oauth-app": { "node_modules/@octokit/auth-oauth-app": {
"version": "8.1.4", "version": "9.0.1",
"resolved": "https://registry.npmjs.org/@octokit/auth-oauth-app/-/auth-oauth-app-8.1.4.tgz", "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-app/-/auth-oauth-app-9.0.1.tgz",
"integrity": "sha512-71iBa5SflSXcclk/OL3lJzdt4iFs56OJdpBGEBl1wULp7C58uiswZLV6TdRaiAzHP1LT8ezpbHlKuxADb+4NkQ==", "integrity": "sha512-TthWzYxuHKLAbmxdFZwFlmwVyvynpyPmjwc+2/cI3cvbT7mHtsAW9b1LvQaNnAuWL+pFnqtxdmrU8QpF633i1g==",
"dependencies": { "dependencies": {
"@octokit/auth-oauth-device": "^7.1.5", "@octokit/auth-oauth-device": "^8.0.1",
"@octokit/auth-oauth-user": "^5.1.4", "@octokit/auth-oauth-user": "^6.0.0",
"@octokit/request": "^9.2.3", "@octokit/request": "^10.0.2",
"@octokit/types": "^14.0.0", "@octokit/types": "^14.0.0",
"universal-user-agent": "^7.0.0" "universal-user-agent": "^7.0.0"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
} }
}, },
"node_modules/@octokit/auth-oauth-app/node_modules/universal-user-agent": { "node_modules/@octokit/auth-oauth-app/node_modules/universal-user-agent": {
"version": "7.0.2", "version": "7.0.3",
"resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.2.tgz", "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.3.tgz",
"integrity": "sha512-0JCqzSKnStlRRQfCdowvqy3cy0Dvtlb8xecj/H8JFZuCze4rwjPZQOgvFvn0Ws/usCHQFGpyr+pB9adaGwXn4Q==" "integrity": "sha512-TmnEAEAsBJVZM/AADELsK76llnwcf9vMKuPz8JflO1frO8Lchitr0fNaN9d+Ap0BjKtqWqd/J17qeDnXh8CL2A=="
}, },
"node_modules/@octokit/auth-oauth-device": { "node_modules/@octokit/auth-oauth-device": {
"version": "7.1.5", "version": "8.0.1",
"resolved": "https://registry.npmjs.org/@octokit/auth-oauth-device/-/auth-oauth-device-7.1.5.tgz", "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-device/-/auth-oauth-device-8.0.1.tgz",
"integrity": "sha512-lR00+k7+N6xeECj0JuXeULQ2TSBB/zjTAmNF2+vyGPDEFx1dgk1hTDmL13MjbSmzusuAmuJD8Pu39rjp9jH6yw==", "integrity": "sha512-TOqId/+am5yk9zor0RGibmlqn4V0h8vzjxlw/wYr3qzkQxl8aBPur384D1EyHtqvfz0syeXji4OUvKkHvxk/Gw==",
"dependencies": { "dependencies": {
"@octokit/oauth-methods": "^5.1.5", "@octokit/oauth-methods": "^6.0.0",
"@octokit/request": "^9.2.3", "@octokit/request": "^10.0.2",
"@octokit/types": "^14.0.0", "@octokit/types": "^14.0.0",
"universal-user-agent": "^7.0.0" "universal-user-agent": "^7.0.0"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
} }
}, },
"node_modules/@octokit/auth-oauth-device/node_modules/universal-user-agent": { "node_modules/@octokit/auth-oauth-device/node_modules/universal-user-agent": {
"version": "7.0.2", "version": "7.0.3",
"resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.2.tgz", "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.3.tgz",
"integrity": "sha512-0JCqzSKnStlRRQfCdowvqy3cy0Dvtlb8xecj/H8JFZuCze4rwjPZQOgvFvn0Ws/usCHQFGpyr+pB9adaGwXn4Q==" "integrity": "sha512-TmnEAEAsBJVZM/AADELsK76llnwcf9vMKuPz8JflO1frO8Lchitr0fNaN9d+Ap0BjKtqWqd/J17qeDnXh8CL2A=="
}, },
"node_modules/@octokit/auth-oauth-user": { "node_modules/@octokit/auth-oauth-user": {
"version": "5.1.4", "version": "6.0.0",
"resolved": "https://registry.npmjs.org/@octokit/auth-oauth-user/-/auth-oauth-user-5.1.4.tgz", "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-user/-/auth-oauth-user-6.0.0.tgz",
"integrity": "sha512-4tJRofMHm6ZCd3O2PVgboBbQ/lNtacREeaihet0+wCATZmvPK+jjg2K6NjBfY69An3yzQdmkcMeiaOOoxOPr7Q==", "integrity": "sha512-GV9IW134PHsLhtUad21WIeP9mlJ+QNpFd6V9vuPWmaiN25HEJeEQUcS4y5oRuqCm9iWDLtfIs+9K8uczBXKr6A==",
"dependencies": { "dependencies": {
"@octokit/auth-oauth-device": "^7.1.5", "@octokit/auth-oauth-device": "^8.0.1",
"@octokit/oauth-methods": "^5.1.5", "@octokit/oauth-methods": "^6.0.0",
"@octokit/request": "^9.2.3", "@octokit/request": "^10.0.2",
"@octokit/types": "^14.0.0", "@octokit/types": "^14.0.0",
"universal-user-agent": "^7.0.0" "universal-user-agent": "^7.0.0"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
} }
}, },
"node_modules/@octokit/auth-oauth-user/node_modules/universal-user-agent": { "node_modules/@octokit/auth-oauth-user/node_modules/universal-user-agent": {
"version": "7.0.2", "version": "7.0.3",
"resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.2.tgz", "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.3.tgz",
"integrity": "sha512-0JCqzSKnStlRRQfCdowvqy3cy0Dvtlb8xecj/H8JFZuCze4rwjPZQOgvFvn0Ws/usCHQFGpyr+pB9adaGwXn4Q==" "integrity": "sha512-TmnEAEAsBJVZM/AADELsK76llnwcf9vMKuPz8JflO1frO8Lchitr0fNaN9d+Ap0BjKtqWqd/J17qeDnXh8CL2A=="
}, },
"node_modules/@octokit/auth-token": { "node_modules/@octokit/auth-token": {
"version": "4.0.0", "version": "4.0.0",
@ -1320,15 +1320,15 @@
} }
}, },
"node_modules/@octokit/auth-unauthenticated": { "node_modules/@octokit/auth-unauthenticated": {
"version": "6.1.3", "version": "7.0.1",
"resolved": "https://registry.npmjs.org/@octokit/auth-unauthenticated/-/auth-unauthenticated-6.1.3.tgz", "resolved": "https://registry.npmjs.org/@octokit/auth-unauthenticated/-/auth-unauthenticated-7.0.1.tgz",
"integrity": "sha512-d5gWJla3WdSl1yjbfMpET+hUSFCE15qM0KVSB0H1shyuJihf/RL1KqWoZMIaonHvlNojkL9XtLFp8QeLe+1iwA==", "integrity": "sha512-qVq1vdjLLZdE8kH2vDycNNjuJRCD1q2oet1nA/GXWaYlpDxlR7rdVhX/K/oszXslXiQIiqrQf+rdhDlA99JdTQ==",
"dependencies": { "dependencies": {
"@octokit/request-error": "^6.1.8", "@octokit/request-error": "^7.0.0",
"@octokit/types": "^14.0.0" "@octokit/types": "^14.0.0"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
} }
}, },
"node_modules/@octokit/core": { "node_modules/@octokit/core": {
@ -1401,21 +1401,21 @@
} }
}, },
"node_modules/@octokit/endpoint": { "node_modules/@octokit/endpoint": {
"version": "10.1.4", "version": "11.0.0",
"resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-10.1.4.tgz", "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-11.0.0.tgz",
"integrity": "sha512-OlYOlZIsfEVZm5HCSR8aSg02T2lbUWOsCQoPKfTXJwDzcHQBrVBGdGXb89dv2Kw2ToZaRtudp8O3ZIYoaOjKlA==", "integrity": "sha512-hoYicJZaqISMAI3JfaDr1qMNi48OctWuOih1m80bkYow/ayPw6Jj52tqWJ6GEoFTk1gBqfanSoI1iY99Z5+ekQ==",
"dependencies": { "dependencies": {
"@octokit/types": "^14.0.0", "@octokit/types": "^14.0.0",
"universal-user-agent": "^7.0.2" "universal-user-agent": "^7.0.2"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
} }
}, },
"node_modules/@octokit/endpoint/node_modules/universal-user-agent": { "node_modules/@octokit/endpoint/node_modules/universal-user-agent": {
"version": "7.0.2", "version": "7.0.3",
"resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.2.tgz", "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.3.tgz",
"integrity": "sha512-0JCqzSKnStlRRQfCdowvqy3cy0Dvtlb8xecj/H8JFZuCze4rwjPZQOgvFvn0Ws/usCHQFGpyr+pB9adaGwXn4Q==" "integrity": "sha512-TmnEAEAsBJVZM/AADELsK76llnwcf9vMKuPz8JflO1frO8Lchitr0fNaN9d+Ap0BjKtqWqd/J17qeDnXh8CL2A=="
}, },
"node_modules/@octokit/graphql": { "node_modules/@octokit/graphql": {
"version": "7.1.1", "version": "7.1.1",
@ -1483,102 +1483,102 @@
} }
}, },
"node_modules/@octokit/oauth-app": { "node_modules/@octokit/oauth-app": {
"version": "7.1.6", "version": "8.0.1",
"resolved": "https://registry.npmjs.org/@octokit/oauth-app/-/oauth-app-7.1.6.tgz", "resolved": "https://registry.npmjs.org/@octokit/oauth-app/-/oauth-app-8.0.1.tgz",
"integrity": "sha512-OMcMzY2WFARg80oJNFwWbY51TBUfLH4JGTy119cqiDawSFXSIBujxmpXiKbGWQlvfn0CxE6f7/+c6+Kr5hI2YA==", "integrity": "sha512-QnhMYEQpnYbEPn9cae+wXL2LuPMFglmfeuDJXXsyxIXdoORwkLK8y0cHhd/5du9MbO/zdG/BXixzB7EEwU63eQ==",
"dependencies": { "dependencies": {
"@octokit/auth-oauth-app": "^8.1.3", "@octokit/auth-oauth-app": "^9.0.1",
"@octokit/auth-oauth-user": "^5.1.3", "@octokit/auth-oauth-user": "^6.0.0",
"@octokit/auth-unauthenticated": "^6.1.2", "@octokit/auth-unauthenticated": "^7.0.1",
"@octokit/core": "^6.1.4", "@octokit/core": "^7.0.2",
"@octokit/oauth-authorization-url": "^7.1.1", "@octokit/oauth-authorization-url": "^8.0.0",
"@octokit/oauth-methods": "^5.1.4", "@octokit/oauth-methods": "^6.0.0",
"@types/aws-lambda": "^8.10.83", "@types/aws-lambda": "^8.10.83",
"universal-user-agent": "^7.0.0" "universal-user-agent": "^7.0.0"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
} }
}, },
"node_modules/@octokit/oauth-app/node_modules/@octokit/auth-token": { "node_modules/@octokit/oauth-app/node_modules/@octokit/auth-token": {
"version": "5.1.2", "version": "6.0.0",
"resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-5.1.2.tgz", "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-6.0.0.tgz",
"integrity": "sha512-JcQDsBdg49Yky2w2ld20IHAlwr8d/d8N6NiOXbtuoPCqzbsiJgF633mVUw3x4mo0H5ypataQIX7SFu3yy44Mpw==", "integrity": "sha512-P4YJBPdPSpWTQ1NU4XYdvHvXJJDxM6YwpS0FZHRgP7YFkdVxsWcpWGy/NVqlAA7PcPCnMacXlRm1y2PFZRWL/w==",
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
} }
}, },
"node_modules/@octokit/oauth-app/node_modules/@octokit/core": { "node_modules/@octokit/oauth-app/node_modules/@octokit/core": {
"version": "6.1.5", "version": "7.0.2",
"resolved": "https://registry.npmjs.org/@octokit/core/-/core-6.1.5.tgz", "resolved": "https://registry.npmjs.org/@octokit/core/-/core-7.0.2.tgz",
"integrity": "sha512-vvmsN0r7rguA+FySiCsbaTTobSftpIDIpPW81trAmsv9TGxg3YCujAxRYp/Uy8xmDgYCzzgulG62H7KYUFmeIg==", "integrity": "sha512-ODsoD39Lq6vR6aBgvjTnA3nZGliknKboc9Gtxr7E4WDNqY24MxANKcuDQSF0jzapvGb3KWOEDrKfve4HoWGK+g==",
"dependencies": { "dependencies": {
"@octokit/auth-token": "^5.0.0", "@octokit/auth-token": "^6.0.0",
"@octokit/graphql": "^8.2.2", "@octokit/graphql": "^9.0.1",
"@octokit/request": "^9.2.3", "@octokit/request": "^10.0.2",
"@octokit/request-error": "^6.1.8", "@octokit/request-error": "^7.0.0",
"@octokit/types": "^14.0.0", "@octokit/types": "^14.0.0",
"before-after-hook": "^3.0.2", "before-after-hook": "^4.0.0",
"universal-user-agent": "^7.0.0" "universal-user-agent": "^7.0.0"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
} }
}, },
"node_modules/@octokit/oauth-app/node_modules/@octokit/graphql": { "node_modules/@octokit/oauth-app/node_modules/@octokit/graphql": {
"version": "8.2.2", "version": "9.0.1",
"resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-8.2.2.tgz", "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-9.0.1.tgz",
"integrity": "sha512-Yi8hcoqsrXGdt0yObxbebHXFOiUA+2v3n53epuOg1QUgOB6c4XzvisBNVXJSl8RYA5KrDuSL2yq9Qmqe5N0ryA==", "integrity": "sha512-j1nQNU1ZxNFx2ZtKmL4sMrs4egy5h65OMDmSbVyuCzjOcwsHq6EaYjOTGXPQxgfiN8dJ4CriYHk6zF050WEULg==",
"dependencies": { "dependencies": {
"@octokit/request": "^9.2.3", "@octokit/request": "^10.0.2",
"@octokit/types": "^14.0.0", "@octokit/types": "^14.0.0",
"universal-user-agent": "^7.0.0" "universal-user-agent": "^7.0.0"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
} }
}, },
"node_modules/@octokit/oauth-app/node_modules/before-after-hook": { "node_modules/@octokit/oauth-app/node_modules/before-after-hook": {
"version": "3.0.2", "version": "4.0.0",
"resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-3.0.2.tgz", "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-4.0.0.tgz",
"integrity": "sha512-Nik3Sc0ncrMK4UUdXQmAnRtzmNQTAAXmXIopizwZ1W1t8QmfJj+zL4OA2I7XPTPW5z5TDqv4hRo/JzouDJnX3A==" "integrity": "sha512-q6tR3RPqIB1pMiTRMFcZwuG5T8vwp+vUvEG0vuI6B+Rikh5BfPp2fQ82c925FOs+b0lcFQ8CFrL+KbilfZFhOQ=="
}, },
"node_modules/@octokit/oauth-app/node_modules/universal-user-agent": { "node_modules/@octokit/oauth-app/node_modules/universal-user-agent": {
"version": "7.0.2", "version": "7.0.3",
"resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.2.tgz", "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.3.tgz",
"integrity": "sha512-0JCqzSKnStlRRQfCdowvqy3cy0Dvtlb8xecj/H8JFZuCze4rwjPZQOgvFvn0Ws/usCHQFGpyr+pB9adaGwXn4Q==" "integrity": "sha512-TmnEAEAsBJVZM/AADELsK76llnwcf9vMKuPz8JflO1frO8Lchitr0fNaN9d+Ap0BjKtqWqd/J17qeDnXh8CL2A=="
}, },
"node_modules/@octokit/oauth-authorization-url": { "node_modules/@octokit/oauth-authorization-url": {
"version": "7.1.1", "version": "8.0.0",
"resolved": "https://registry.npmjs.org/@octokit/oauth-authorization-url/-/oauth-authorization-url-7.1.1.tgz", "resolved": "https://registry.npmjs.org/@octokit/oauth-authorization-url/-/oauth-authorization-url-8.0.0.tgz",
"integrity": "sha512-ooXV8GBSabSWyhLUowlMIVd9l1s2nsOGQdlP2SQ4LnkEsGXzeCvbSbCPdZThXhEFzleGPwbapT0Sb+YhXRyjCA==", "integrity": "sha512-7QoLPRh/ssEA/HuHBHdVdSgF8xNLz/Bc5m9fZkArJE5bb6NmVkDm3anKxXPmN1zh6b5WKZPRr3697xKT/yM3qQ==",
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
} }
}, },
"node_modules/@octokit/oauth-methods": { "node_modules/@octokit/oauth-methods": {
"version": "5.1.5", "version": "6.0.0",
"resolved": "https://registry.npmjs.org/@octokit/oauth-methods/-/oauth-methods-5.1.5.tgz", "resolved": "https://registry.npmjs.org/@octokit/oauth-methods/-/oauth-methods-6.0.0.tgz",
"integrity": "sha512-Ev7K8bkYrYLhoOSZGVAGsLEscZQyq7XQONCBBAl2JdMg7IT3PQn/y8P0KjloPoYpI5UylqYrLeUcScaYWXwDvw==", "integrity": "sha512-Q8nFIagNLIZgM2odAraelMcDssapc+lF+y3OlcIPxyAU+knefO8KmozGqfnma1xegRDP4z5M73ABsamn72bOcA==",
"dependencies": { "dependencies": {
"@octokit/oauth-authorization-url": "^7.0.0", "@octokit/oauth-authorization-url": "^8.0.0",
"@octokit/request": "^9.2.3", "@octokit/request": "^10.0.2",
"@octokit/request-error": "^6.1.8", "@octokit/request-error": "^7.0.0",
"@octokit/types": "^14.0.0" "@octokit/types": "^14.0.0"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
} }
}, },
"node_modules/@octokit/openapi-types": { "node_modules/@octokit/openapi-types": {
"version": "25.0.0", "version": "25.1.0",
"resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-25.0.0.tgz", "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-25.1.0.tgz",
"integrity": "sha512-FZvktFu7HfOIJf2BScLKIEYjDsw6RKc7rBJCdvCTfKsVnx2GEB/Nbzjr29DUdb7vQhlzS/j8qDzdditP0OC6aw==" "integrity": "sha512-idsIggNXUKkk0+BExUn1dQ92sfysJrje03Q0bv0e+KPLrvyqZF8MnBpFz8UNfYDwB3Ie7Z0TByjWfzxt7vseaA=="
}, },
"node_modules/@octokit/openapi-webhooks-types": { "node_modules/@octokit/openapi-webhooks-types": {
"version": "10.4.0", "version": "11.0.0",
"resolved": "https://registry.npmjs.org/@octokit/openapi-webhooks-types/-/openapi-webhooks-types-10.4.0.tgz", "resolved": "https://registry.npmjs.org/@octokit/openapi-webhooks-types/-/openapi-webhooks-types-11.0.0.tgz",
"integrity": "sha512-HMiF7FUiVBYfp8pPijMTkWuPELQB6XkPftrnSuK1C1YXaaq2+0ganiQkorEQfXTmhtwlgHJwXT6P8miVhIyjQA==" "integrity": "sha512-ZBzCFj98v3SuRM7oBas6BHZMJRadlnDoeFfvm1olVxZnYeU6Vh97FhPxyS5aLh5pN51GYv2I51l/hVUAVkGBlA=="
}, },
"node_modules/@octokit/plugin-paginate-rest": { "node_modules/@octokit/plugin-paginate-rest": {
"version": "2.21.3", "version": "2.21.3",
@ -1681,63 +1681,63 @@
} }
}, },
"node_modules/@octokit/request": { "node_modules/@octokit/request": {
"version": "9.2.3", "version": "10.0.2",
"resolved": "https://registry.npmjs.org/@octokit/request/-/request-9.2.3.tgz", "resolved": "https://registry.npmjs.org/@octokit/request/-/request-10.0.2.tgz",
"integrity": "sha512-Ma+pZU8PXLOEYzsWf0cn/gY+ME57Wq8f49WTXA8FMHp2Ps9djKw//xYJ1je8Hm0pR2lU9FUGeJRWOtxq6olt4w==", "integrity": "sha512-iYj4SJG/2bbhh+iIpFmG5u49DtJ4lipQ+aPakjL9OKpsGY93wM8w06gvFbEQxcMsZcCvk5th5KkIm2m8o14aWA==",
"dependencies": { "dependencies": {
"@octokit/endpoint": "^10.1.4", "@octokit/endpoint": "^11.0.0",
"@octokit/request-error": "^6.1.8", "@octokit/request-error": "^7.0.0",
"@octokit/types": "^14.0.0", "@octokit/types": "^14.0.0",
"fast-content-type-parse": "^2.0.0", "fast-content-type-parse": "^3.0.0",
"universal-user-agent": "^7.0.2" "universal-user-agent": "^7.0.2"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
} }
}, },
"node_modules/@octokit/request-error": { "node_modules/@octokit/request-error": {
"version": "6.1.8", "version": "7.0.0",
"resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-6.1.8.tgz", "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-7.0.0.tgz",
"integrity": "sha512-WEi/R0Jmq+IJKydWlKDmryPcmdYSVjL3ekaiEL1L9eo1sUnqMJ+grqmC9cjk7CA7+b2/T397tO5d8YLOH3qYpQ==", "integrity": "sha512-KRA7VTGdVyJlh0cP5Tf94hTiYVVqmt2f3I6mnimmaVz4UG3gQV/k4mDJlJv3X67iX6rmN7gSHCF8ssqeMnmhZg==",
"dependencies": { "dependencies": {
"@octokit/types": "^14.0.0" "@octokit/types": "^14.0.0"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
} }
}, },
"node_modules/@octokit/request/node_modules/universal-user-agent": { "node_modules/@octokit/request/node_modules/universal-user-agent": {
"version": "7.0.2", "version": "7.0.3",
"resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.2.tgz", "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.3.tgz",
"integrity": "sha512-0JCqzSKnStlRRQfCdowvqy3cy0Dvtlb8xecj/H8JFZuCze4rwjPZQOgvFvn0Ws/usCHQFGpyr+pB9adaGwXn4Q==" "integrity": "sha512-TmnEAEAsBJVZM/AADELsK76llnwcf9vMKuPz8JflO1frO8Lchitr0fNaN9d+Ap0BjKtqWqd/J17qeDnXh8CL2A=="
}, },
"node_modules/@octokit/types": { "node_modules/@octokit/types": {
"version": "14.0.0", "version": "14.1.0",
"resolved": "https://registry.npmjs.org/@octokit/types/-/types-14.0.0.tgz", "resolved": "https://registry.npmjs.org/@octokit/types/-/types-14.1.0.tgz",
"integrity": "sha512-VVmZP0lEhbo2O1pdq63gZFiGCKkm8PPp8AUOijlwPO6hojEVjspA0MWKP7E4hbvGxzFKNqKr6p0IYtOH/Wf/zA==", "integrity": "sha512-1y6DgTy8Jomcpu33N+p5w58l6xyt55Ar2I91RPiIA0xCJBXyUAhXCcmZaDWSANiha7R9a6qJJ2CRomGPZ6f46g==",
"dependencies": { "dependencies": {
"@octokit/openapi-types": "^25.0.0" "@octokit/openapi-types": "^25.1.0"
} }
}, },
"node_modules/@octokit/webhooks": { "node_modules/@octokit/webhooks": {
"version": "13.8.0", "version": "14.0.0",
"resolved": "https://registry.npmjs.org/@octokit/webhooks/-/webhooks-13.8.0.tgz", "resolved": "https://registry.npmjs.org/@octokit/webhooks/-/webhooks-14.0.0.tgz",
"integrity": "sha512-3PCWyFBNbW2+Ox36VAkSqlPoIb96NZiPcICRYySHZrDTM2NuNxvrjPeaQDj2egqILs9EZFObRTHVMe4XxXJV7w==", "integrity": "sha512-IZV4vg/s1pqIpCs86a0tp5FQ/O94DUaqksMdNrXFSaE037TXsB+fIhr8OVig09oEx3WazVgE6B2U+u7/Fvdlsw==",
"dependencies": { "dependencies": {
"@octokit/openapi-webhooks-types": "10.4.0", "@octokit/openapi-webhooks-types": "11.0.0",
"@octokit/request-error": "^6.1.7", "@octokit/request-error": "^7.0.0",
"@octokit/webhooks-methods": "^5.1.1" "@octokit/webhooks-methods": "^6.0.0"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
} }
}, },
"node_modules/@octokit/webhooks-methods": { "node_modules/@octokit/webhooks-methods": {
"version": "5.1.1", "version": "6.0.0",
"resolved": "https://registry.npmjs.org/@octokit/webhooks-methods/-/webhooks-methods-5.1.1.tgz", "resolved": "https://registry.npmjs.org/@octokit/webhooks-methods/-/webhooks-methods-6.0.0.tgz",
"integrity": "sha512-NGlEHZDseJTCj8TMMFehzwa9g7On4KJMPVHDSrHxCQumL6uSQR8wIkP/qesv52fXqV1BPf4pTxwtS31ldAt9Xg==", "integrity": "sha512-MFlzzoDJVw/GcbfzVC1RLR36QqkTLUf79vLVO3D+xn7r0QgxnFoLZgtrzxiQErAjFUOdH6fas2KeQJ1yr/qaXQ==",
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
} }
}, },
"node_modules/@open-draft/deferred-promise": { "node_modules/@open-draft/deferred-promise": {
@ -4994,9 +4994,9 @@
} }
}, },
"node_modules/fast-content-type-parse": { "node_modules/fast-content-type-parse": {
"version": "2.0.1", "version": "3.0.0",
"resolved": "https://registry.npmjs.org/fast-content-type-parse/-/fast-content-type-parse-2.0.1.tgz", "resolved": "https://registry.npmjs.org/fast-content-type-parse/-/fast-content-type-parse-3.0.0.tgz",
"integrity": "sha512-nGqtvLrj5w0naR6tDPfB4cUmYCqouzyQiz6C5y/LtcDllJdrcc6WaWW6iXyIIOErTa/XRybj28aasdn4LkVk6Q==", "integrity": "sha512-ZvLdcY8P+N8mGQJahJV5G4U88CSvT1rP8ApL6uETe88MBXrBHAkZlSEySdUlyztF7ccb+Znos3TFqaepHxdhBg==",
"funding": [ "funding": [
{ {
"type": "github", "type": "github",
@ -6753,143 +6753,143 @@
} }
}, },
"node_modules/octokit": { "node_modules/octokit": {
"version": "4.1.3", "version": "5.0.2",
"resolved": "https://registry.npmjs.org/octokit/-/octokit-4.1.3.tgz", "resolved": "https://registry.npmjs.org/octokit/-/octokit-5.0.2.tgz",
"integrity": "sha512-PP+EL8h4xPCE9NBo6jXq6I2/EiTXsn1cg9F0IZehHBv/qhuQpyGMFElEB17miWKciuT6vRHiFFiG9+FoXOmg6A==", "integrity": "sha512-WCO9Oip2F+qsrIcNMfLwm1+dL2g70oO++pkmiluisJDMXXwdO4susVaVg1iQZgZNiDtA1qcLXs5662Mdj/vqdw==",
"dependencies": { "dependencies": {
"@octokit/app": "^15.1.6", "@octokit/app": "^16.0.1",
"@octokit/core": "^6.1.5", "@octokit/core": "^7.0.2",
"@octokit/oauth-app": "^7.1.6", "@octokit/oauth-app": "^8.0.1",
"@octokit/plugin-paginate-graphql": "^5.2.4", "@octokit/plugin-paginate-graphql": "^6.0.0",
"@octokit/plugin-paginate-rest": "^12.0.0", "@octokit/plugin-paginate-rest": "^13.0.0",
"@octokit/plugin-rest-endpoint-methods": "^14.0.0", "@octokit/plugin-rest-endpoint-methods": "^15.0.0",
"@octokit/plugin-retry": "^7.2.1", "@octokit/plugin-retry": "^8.0.1",
"@octokit/plugin-throttling": "^10.0.0", "@octokit/plugin-throttling": "^11.0.1",
"@octokit/request-error": "^6.1.8", "@octokit/request-error": "^7.0.0",
"@octokit/types": "^14.0.0" "@octokit/types": "^14.0.0",
"@octokit/webhooks": "^14.0.0"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
} }
}, },
"node_modules/octokit/node_modules/@octokit/auth-token": { "node_modules/octokit/node_modules/@octokit/auth-token": {
"version": "5.1.2", "version": "6.0.0",
"resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-5.1.2.tgz", "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-6.0.0.tgz",
"integrity": "sha512-JcQDsBdg49Yky2w2ld20IHAlwr8d/d8N6NiOXbtuoPCqzbsiJgF633mVUw3x4mo0H5ypataQIX7SFu3yy44Mpw==", "integrity": "sha512-P4YJBPdPSpWTQ1NU4XYdvHvXJJDxM6YwpS0FZHRgP7YFkdVxsWcpWGy/NVqlAA7PcPCnMacXlRm1y2PFZRWL/w==",
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
} }
}, },
"node_modules/octokit/node_modules/@octokit/core": { "node_modules/octokit/node_modules/@octokit/core": {
"version": "6.1.5", "version": "7.0.2",
"resolved": "https://registry.npmjs.org/@octokit/core/-/core-6.1.5.tgz", "resolved": "https://registry.npmjs.org/@octokit/core/-/core-7.0.2.tgz",
"integrity": "sha512-vvmsN0r7rguA+FySiCsbaTTobSftpIDIpPW81trAmsv9TGxg3YCujAxRYp/Uy8xmDgYCzzgulG62H7KYUFmeIg==", "integrity": "sha512-ODsoD39Lq6vR6aBgvjTnA3nZGliknKboc9Gtxr7E4WDNqY24MxANKcuDQSF0jzapvGb3KWOEDrKfve4HoWGK+g==",
"dependencies": { "dependencies": {
"@octokit/auth-token": "^5.0.0", "@octokit/auth-token": "^6.0.0",
"@octokit/graphql": "^8.2.2", "@octokit/graphql": "^9.0.1",
"@octokit/request": "^9.2.3", "@octokit/request": "^10.0.2",
"@octokit/request-error": "^6.1.8", "@octokit/request-error": "^7.0.0",
"@octokit/types": "^14.0.0", "@octokit/types": "^14.0.0",
"before-after-hook": "^3.0.2", "before-after-hook": "^4.0.0",
"universal-user-agent": "^7.0.0" "universal-user-agent": "^7.0.0"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
} }
}, },
"node_modules/octokit/node_modules/@octokit/graphql": { "node_modules/octokit/node_modules/@octokit/graphql": {
"version": "8.2.2", "version": "9.0.1",
"resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-8.2.2.tgz", "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-9.0.1.tgz",
"integrity": "sha512-Yi8hcoqsrXGdt0yObxbebHXFOiUA+2v3n53epuOg1QUgOB6c4XzvisBNVXJSl8RYA5KrDuSL2yq9Qmqe5N0ryA==", "integrity": "sha512-j1nQNU1ZxNFx2ZtKmL4sMrs4egy5h65OMDmSbVyuCzjOcwsHq6EaYjOTGXPQxgfiN8dJ4CriYHk6zF050WEULg==",
"dependencies": { "dependencies": {
"@octokit/request": "^9.2.3", "@octokit/request": "^10.0.2",
"@octokit/types": "^14.0.0", "@octokit/types": "^14.0.0",
"universal-user-agent": "^7.0.0" "universal-user-agent": "^7.0.0"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
} }
}, },
"node_modules/octokit/node_modules/@octokit/plugin-paginate-graphql": { "node_modules/octokit/node_modules/@octokit/plugin-paginate-graphql": {
"version": "5.2.4", "version": "6.0.0",
"resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-graphql/-/plugin-paginate-graphql-5.2.4.tgz", "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-graphql/-/plugin-paginate-graphql-6.0.0.tgz",
"integrity": "sha512-pLZES1jWaOynXKHOqdnwZ5ULeVR6tVVCMm+AUbp0htdcyXDU95WbkYdU4R2ej1wKj5Tu94Mee2Ne0PjPO9cCyA==", "integrity": "sha512-crfpnIoFiBtRkvPqOyLOsw12XsveYuY2ieP6uYDosoUegBJpSVxGwut9sxUgFFcll3VTOTqpUf8yGd8x1OmAkQ==",
"license": "MIT",
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
}, },
"peerDependencies": { "peerDependencies": {
"@octokit/core": ">=6" "@octokit/core": ">=6"
} }
}, },
"node_modules/octokit/node_modules/@octokit/plugin-paginate-rest": { "node_modules/octokit/node_modules/@octokit/plugin-paginate-rest": {
"version": "12.0.0", "version": "13.0.1",
"resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-12.0.0.tgz", "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-13.0.1.tgz",
"integrity": "sha512-MPd6WK1VtZ52lFrgZ0R2FlaoiWllzgqFHaSZxvp72NmoDeZ0m8GeJdg4oB6ctqMTYyrnDYp592Xma21mrgiyDA==", "integrity": "sha512-m1KvHlueScy4mQJWvFDCxFBTIdXS0K1SgFGLmqHyX90mZdCIv6gWBbKRhatxRjhGlONuTK/hztYdaqrTXcFZdQ==",
"dependencies": { "dependencies": {
"@octokit/types": "^14.0.0" "@octokit/types": "^14.1.0"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
}, },
"peerDependencies": { "peerDependencies": {
"@octokit/core": ">=6" "@octokit/core": ">=6"
} }
}, },
"node_modules/octokit/node_modules/@octokit/plugin-rest-endpoint-methods": { "node_modules/octokit/node_modules/@octokit/plugin-rest-endpoint-methods": {
"version": "14.0.0", "version": "15.0.0",
"resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-14.0.0.tgz", "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-15.0.0.tgz",
"integrity": "sha512-iQt6ovem4b7zZYZQtdv+PwgbL5VPq37th1m2x2TdkgimIDJpsi2A6Q/OI/23i/hR6z5mL0EgisNR4dcbmckSZQ==", "integrity": "sha512-db6UdWvpX7O6tNsdkPk1BttVwTeVdA4n8RDFeXOyjBCPjE2YPufIAlzWh8CyeH8hl/3dSuQXDa+qLmsBlkTY+Q==",
"dependencies": { "dependencies": {
"@octokit/types": "^14.0.0" "@octokit/types": "^14.0.0"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
}, },
"peerDependencies": { "peerDependencies": {
"@octokit/core": ">=6" "@octokit/core": ">=6"
} }
}, },
"node_modules/octokit/node_modules/@octokit/plugin-retry": { "node_modules/octokit/node_modules/@octokit/plugin-retry": {
"version": "7.2.1", "version": "8.0.1",
"resolved": "https://registry.npmjs.org/@octokit/plugin-retry/-/plugin-retry-7.2.1.tgz", "resolved": "https://registry.npmjs.org/@octokit/plugin-retry/-/plugin-retry-8.0.1.tgz",
"integrity": "sha512-wUc3gv0D6vNHpGxSaR3FlqJpTXGWgqmk607N9L3LvPL4QjaxDgX/1nY2mGpT37Khn+nlIXdljczkRnNdTTV3/A==", "integrity": "sha512-KUoYR77BjF5O3zcwDQHRRZsUvJwepobeqiSSdCJ8lWt27FZExzb0GgVxrhhfuyF6z2B2zpO0hN5pteni1sqWiw==",
"dependencies": { "dependencies": {
"@octokit/request-error": "^6.1.8", "@octokit/request-error": "^7.0.0",
"@octokit/types": "^14.0.0", "@octokit/types": "^14.0.0",
"bottleneck": "^2.15.3" "bottleneck": "^2.15.3"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
}, },
"peerDependencies": { "peerDependencies": {
"@octokit/core": ">=6" "@octokit/core": ">=7"
} }
}, },
"node_modules/octokit/node_modules/@octokit/plugin-throttling": { "node_modules/octokit/node_modules/@octokit/plugin-throttling": {
"version": "10.0.0", "version": "11.0.1",
"resolved": "https://registry.npmjs.org/@octokit/plugin-throttling/-/plugin-throttling-10.0.0.tgz", "resolved": "https://registry.npmjs.org/@octokit/plugin-throttling/-/plugin-throttling-11.0.1.tgz",
"integrity": "sha512-Kuq5/qs0DVYTHZuBAzCZStCzo2nKvVRo/TDNhCcpC2TKiOGz/DisXMCvjt3/b5kr6SCI1Y8eeeJTHBxxpFvZEg==", "integrity": "sha512-S+EVhy52D/272L7up58dr3FNSMXWuNZolkL4zMJBNIfIxyZuUcczsQAU4b5w6dewJXnKYVgSHSV5wxitMSW1kw==",
"dependencies": { "dependencies": {
"@octokit/types": "^14.0.0", "@octokit/types": "^14.0.0",
"bottleneck": "^2.15.3" "bottleneck": "^2.15.3"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
}, },
"peerDependencies": { "peerDependencies": {
"@octokit/core": "^6.1.3" "@octokit/core": "^7.0.0"
} }
}, },
"node_modules/octokit/node_modules/before-after-hook": { "node_modules/octokit/node_modules/before-after-hook": {
"version": "3.0.2", "version": "4.0.0",
"resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-3.0.2.tgz", "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-4.0.0.tgz",
"integrity": "sha512-Nik3Sc0ncrMK4UUdXQmAnRtzmNQTAAXmXIopizwZ1W1t8QmfJj+zL4OA2I7XPTPW5z5TDqv4hRo/JzouDJnX3A==" "integrity": "sha512-q6tR3RPqIB1pMiTRMFcZwuG5T8vwp+vUvEG0vuI6B+Rikh5BfPp2fQ82c925FOs+b0lcFQ8CFrL+KbilfZFhOQ=="
}, },
"node_modules/octokit/node_modules/universal-user-agent": { "node_modules/octokit/node_modules/universal-user-agent": {
"version": "7.0.2", "version": "7.0.3",
"resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.2.tgz", "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.3.tgz",
"integrity": "sha512-0JCqzSKnStlRRQfCdowvqy3cy0Dvtlb8xecj/H8JFZuCze4rwjPZQOgvFvn0Ws/usCHQFGpyr+pB9adaGwXn4Q==" "integrity": "sha512-TmnEAEAsBJVZM/AADELsK76llnwcf9vMKuPz8JflO1frO8Lchitr0fNaN9d+Ap0BjKtqWqd/J17qeDnXh8CL2A=="
}, },
"node_modules/once": { "node_modules/once": {
"version": "1.4.0", "version": "1.4.0",

View file

@ -4,7 +4,7 @@ import { createAppAuth as createAppAuth3 } from "@octokit/auth-app";
import { OAuthApp } from "@octokit/oauth-app"; import { OAuthApp } from "@octokit/oauth-app";
// pkg/dist-src/version.js // pkg/dist-src/version.js
var VERSION = "15.1.6"; var VERSION = "16.0.1";
// pkg/dist-src/webhooks.js // pkg/dist-src/webhooks.js
import { createAppAuth } from "@octokit/auth-app"; import { createAppAuth } from "@octokit/auth-app";

File diff suppressed because one or more lines are too long

View file

@ -1,4 +1,4 @@
const VERSION = "15.1.6"; const VERSION = "16.0.1";
export { export {
VERSION VERSION
}; };

View file

@ -11,14 +11,7 @@ export declare function eachRepositoryIterator(app: App, query?: EachRepositoryQ
node_id: string; node_id: string;
name: string; name: string;
full_name: string; full_name: string;
license: { license: import("@octokit/openapi-types").components["schemas"]["nullable-license-simple"];
key: string;
name: string;
url: string | null;
spdx_id: string | null;
node_id: string;
html_url?: string;
} | null;
forks: number; forks: number;
permissions?: { permissions?: {
admin: boolean; admin: boolean;
@ -27,30 +20,7 @@ export declare function eachRepositoryIterator(app: App, query?: EachRepositoryQ
push: boolean; push: boolean;
maintain?: boolean; maintain?: boolean;
}; };
owner: { owner: import("@octokit/openapi-types").components["schemas"]["simple-user"];
name?: string | null;
email?: string | null;
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string | null;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
starred_at?: string;
user_view_type?: string;
};
private: boolean; private: boolean;
html_url: string; html_url: string;
description: string | null; description: string | null;

View file

@ -1 +1 @@
export declare const VERSION = "15.1.6"; export declare const VERSION = "16.0.1";

View file

@ -4,7 +4,7 @@ import { createAppAuth as createAppAuth3 } from "@octokit/auth-app";
import { OAuthApp } from "@octokit/oauth-app"; import { OAuthApp } from "@octokit/oauth-app";
// pkg/dist-src/version.js // pkg/dist-src/version.js
var VERSION = "15.1.6"; var VERSION = "16.0.1";
// pkg/dist-src/webhooks.js // pkg/dist-src/webhooks.js
import { createAppAuth } from "@octokit/auth-app"; import { createAppAuth } from "@octokit/auth-app";

File diff suppressed because one or more lines are too long

View file

@ -5,7 +5,7 @@
"provenance": true "provenance": true
}, },
"type": "module", "type": "module",
"version": "5.1.2", "version": "6.0.0",
"description": "GitHub API token authentication for browsers and Node.js", "description": "GitHub API token authentication for browsers and Node.js",
"repository": "github:octokit/auth-token.js", "repository": "github:octokit/auth-token.js",
"keywords": [ "keywords": [
@ -19,18 +19,17 @@
"devDependencies": { "devDependencies": {
"@octokit/request": "^9.0.0", "@octokit/request": "^9.0.0",
"@octokit/tsconfig": "^4.0.0", "@octokit/tsconfig": "^4.0.0",
"@octokit/types": "^13.0.0", "@octokit/types": "^14.0.0",
"@vitest/coverage-v8": "^3.0.0", "@vitest/coverage-v8": "^3.0.0",
"esbuild": "^0.24.0", "esbuild": "^0.25.0",
"fetch-mock": "^11.0.0", "fetch-mock": "^12.0.0",
"glob": "^11.0.0", "glob": "^11.0.0",
"prettier": "3.4.2", "prettier": "3.5.3",
"semantic-release": "^24.0.0",
"typescript": "^5.3.0", "typescript": "^5.3.0",
"vitest": "^3.0.0" "vitest": "^3.0.0"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
}, },
"files": [ "files": [
"dist-*/**", "dist-*/**",

View file

@ -1,4 +1,4 @@
const VERSION = "6.1.5"; const VERSION = "7.0.2";
export { export {
VERSION VERSION
}; };

View file

@ -5,7 +5,7 @@ import type { Constructor, Hooks, OctokitOptions, OctokitPlugin, ReturnTypeOf, U
export type { OctokitOptions } from "./types.js"; export type { OctokitOptions } from "./types.js";
export declare class Octokit { export declare class Octokit {
static VERSION: string; static VERSION: string;
static defaults<S extends Constructor<any>>(this: S, defaults: OctokitOptions | Function): S; static defaults<S extends Constructor<any>>(this: S, defaults: OctokitOptions | Function): typeof this;
static plugins: OctokitPlugin[]; static plugins: OctokitPlugin[];
/** /**
* Attach a plugin (or many) to your Octokit instance. * Attach a plugin (or many) to your Octokit instance.
@ -15,7 +15,7 @@ export declare class Octokit {
*/ */
static plugin<S extends Constructor<any> & { static plugin<S extends Constructor<any> & {
plugins: any[]; plugins: any[];
}, T extends OctokitPlugin[]>(this: S, ...newPlugins: T): S & Constructor<UnionToIntersection<ReturnTypeOf<T>>>; }, T extends OctokitPlugin[]>(this: S, ...newPlugins: T): typeof this & Constructor<UnionToIntersection<ReturnTypeOf<T>>>;
constructor(options?: OctokitOptions); constructor(options?: OctokitOptions);
request: typeof request; request: typeof request;
graphql: typeof graphql; graphql: typeof graphql;

View file

@ -1 +1 @@
export declare const VERSION = "6.1.5"; export declare const VERSION = "7.0.2";

View file

@ -1,6 +1,6 @@
{ {
"name": "@octokit/core", "name": "@octokit/core",
"version": "6.1.5", "version": "7.0.2",
"publishConfig": { "publishConfig": {
"access": "public", "access": "public",
"provenance": true "provenance": true
@ -18,18 +18,18 @@
"author": "Gregor Martynus (https://github.com/gr2m)", "author": "Gregor Martynus (https://github.com/gr2m)",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@octokit/auth-token": "^5.0.0", "@octokit/auth-token": "^6.0.0",
"@octokit/graphql": "^8.2.2", "@octokit/graphql": "^9.0.1",
"@octokit/request": "^9.2.3", "@octokit/request": "^10.0.2",
"@octokit/request-error": "^6.1.8", "@octokit/request-error": "^7.0.0",
"@octokit/types": "^14.0.0", "@octokit/types": "^14.0.0",
"before-after-hook": "^3.0.2", "before-after-hook": "^4.0.0",
"universal-user-agent": "^7.0.0" "universal-user-agent": "^7.0.0"
}, },
"devDependencies": { "devDependencies": {
"@octokit/auth-action": "^5.0.0", "@octokit/auth-action": "^6.0.1",
"@octokit/auth-app": "^7.0.0", "@octokit/auth-app": "^8.0.0",
"@octokit/auth-oauth-app": "^8.0.0", "@octokit/auth-oauth-app": "^9.0.0",
"@octokit/tsconfig": "^4.0.0", "@octokit/tsconfig": "^4.0.0",
"@sinonjs/fake-timers": "^14.0.0", "@sinonjs/fake-timers": "^14.0.0",
"@types/lolex": "^5.1.0", "@types/lolex": "^5.1.0",
@ -38,17 +38,15 @@
"@vitest/coverage-v8": "^3.0.5", "@vitest/coverage-v8": "^3.0.5",
"esbuild": "^0.25.0", "esbuild": "^0.25.0",
"fetch-mock": "^12.0.0", "fetch-mock": "^12.0.0",
"glob": "^11.0.0",
"prettier": "3.5.3", "prettier": "3.5.3",
"proxy": "^2.0.0", "proxy": "^2.0.0",
"semantic-release": "^24.0.0",
"semantic-release-plugin-update-version-in-files": "^2.0.0", "semantic-release-plugin-update-version-in-files": "^2.0.0",
"typescript": "^5.0.0", "typescript": "^5.0.0",
"undici": "^6.0.0", "undici": "^7.0.0",
"vitest": "^3.0.5" "vitest": "^3.0.5"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
}, },
"files": [ "files": [
"dist-*/**", "dist-*/**",

View file

@ -1,4 +1,4 @@
const VERSION = "8.2.2"; const VERSION = "9.0.1";
export { export {
VERSION VERSION
}; };

View file

@ -1 +1 @@
export declare const VERSION = "8.2.2"; export declare const VERSION = "9.0.1";

View file

@ -1,6 +1,6 @@
{ {
"name": "@octokit/graphql", "name": "@octokit/graphql",
"version": "8.2.2", "version": "9.0.1",
"publishConfig": { "publishConfig": {
"access": "public", "access": "public",
"provenance": true "provenance": true
@ -17,7 +17,7 @@
"author": "Gregor Martynus (https://github.com/gr2m)", "author": "Gregor Martynus (https://github.com/gr2m)",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@octokit/request": "^9.2.3", "@octokit/request": "^10.0.2",
"@octokit/types": "^14.0.0", "@octokit/types": "^14.0.0",
"universal-user-agent": "^7.0.0" "universal-user-agent": "^7.0.0"
}, },
@ -34,7 +34,7 @@
"vitest": "^3.0.0" "vitest": "^3.0.0"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
}, },
"files": [ "files": [
"dist-*/**", "dist-*/**",

View file

@ -1,4 +1,4 @@
const VERSION = "12.0.0"; const VERSION = "13.0.1";
export { export {
VERSION VERSION
}; };

View file

@ -1 +1 @@
export declare const VERSION = "12.0.0"; export declare const VERSION = "13.0.1";

View file

@ -5,7 +5,7 @@
"provenance": true "provenance": true
}, },
"type": "module", "type": "module",
"version": "12.0.0", "version": "13.0.1",
"description": "Octokit plugin to paginate REST API endpoint responses", "description": "Octokit plugin to paginate REST API endpoint responses",
"repository": "github:octokit/plugin-paginate-rest.js", "repository": "github:octokit/plugin-paginate-rest.js",
"keywords": [ "keywords": [
@ -16,29 +16,29 @@
], ],
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@octokit/types": "^14.0.0" "@octokit/types": "^14.1.0"
}, },
"peerDependencies": { "peerDependencies": {
"@octokit/core": ">=6" "@octokit/core": ">=6"
}, },
"devDependencies": { "devDependencies": {
"@octokit/core": "^6.1.5", "@octokit/core": "^7.0.0",
"@octokit/plugin-rest-endpoint-methods": "^14.0.0", "@octokit/plugin-rest-endpoint-methods": "^16.0.0",
"@octokit/tsconfig": "^4.0.0", "@octokit/tsconfig": "^4.0.0",
"@types/node": "^22.0.0", "@types/node": "^22.0.0",
"@vitest/coverage-v8": "^3.0.0", "@vitest/coverage-v8": "^3.0.0",
"esbuild": "^0.25.0", "esbuild": "^0.25.0",
"fetch-mock": "^12.0.0", "fetch-mock": "^12.0.0",
"github-openapi-graphql-query": "^4.0.0", "github-openapi-graphql-query": "^5.0.0",
"glob": "^11.0.0", "glob": "^11.0.0",
"npm-run-all2": "^7.0.0", "npm-run-all2": "^8.0.0",
"prettier": "3.5.3", "prettier": "3.5.3",
"semantic-release-plugin-update-version-in-files": "^2.0.0", "semantic-release-plugin-update-version-in-files": "^2.0.0",
"typescript": "^5.0.0", "typescript": "^5.0.0",
"vitest": "^3.0.0" "vitest": "^3.0.0"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
}, },
"files": [ "files": [
"dist-*/**", "dist-*/**",

View file

@ -1,7 +1,7 @@
{ {
"name": "before-after-hook", "name": "before-after-hook",
"type": "module", "type": "module",
"version": "3.0.2", "version": "4.0.0",
"description": "asynchronous before/error/after hooks for internal functionality", "description": "asynchronous before/error/after hooks for internal functionality",
"exports": "./index.js", "exports": "./index.js",
"types": "./index.d.ts", "types": "./index.d.ts",
@ -12,12 +12,12 @@
], ],
"scripts": { "scripts": {
"test": "npm run test:code && npm run test:tsc && npm run test:tsd && npm run lint", "test": "npm run test:code && npm run test:tsc && npm run test:tsd && npm run lint",
"test:code": "c8 --100 ava test/*.test.js", "test:code": "c8 --100 --clean node --test",
"test:deno": "deno test --no-check",
"test:tsc": "tsc --allowJs --noEmit --esModuleInterop --skipLibCheck --lib es2020 index.js", "test:tsc": "tsc --allowJs --noEmit --esModuleInterop --skipLibCheck --lib es2020 index.js",
"test:tsd": "tsd", "test:tsd": "tsd",
"lint": "prettier --check \"*.{js,json,ts,md}\" \".github/**/*.yml\"", "lint": "prettier --check \"*.{js,json,ts,md}\" \"test//*.{js,json,ts,md}\" \".github/**/*.yml\"",
"lint:fix": "prettier --write \"*.{js,json,ts,md}\" \".github/**/*.yml\"", "lint:fix": "prettier --write \"*.{js,json,ts,md}\" \"test//*.{js,json,ts,md}\" \".github/**/*.yml\"",
"coverage": "c8 report --reporter html",
"postcoverage": "open-cli coverage/index.html" "postcoverage": "open-cli coverage/index.html"
}, },
"repository": "github:gr2m/before-after-hook", "repository": "github:gr2m/before-after-hook",
@ -29,10 +29,9 @@
"author": "Gregor Martynus", "author": "Gregor Martynus",
"license": "Apache-2.0", "license": "Apache-2.0",
"devDependencies": { "devDependencies": {
"ava": "^4.3.3", "@types/node": "^22.15.17",
"c8": "^7.12.0", "c8": "^10.1.3",
"prettier": "^2.0.0", "prettier": "^2.0.0",
"sinon": "^14.0.1",
"tsd": "^0.24.1", "tsd": "^0.24.1",
"typescript": "^4.8.4" "typescript": "^4.8.4"
}, },

View file

@ -1,5 +1,5 @@
name: Release name: Release
"on": on:
push: push:
branches: branches:
- master - master
@ -8,6 +8,11 @@ name: Release
- "*.x" - "*.x"
jobs: jobs:
release: release:
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
name: release name: release
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:

View file

@ -7,9 +7,30 @@ on:
types: types:
- opened - opened
- synchronize - synchronize
- reopened
jobs: jobs:
test_matrix: test-deno:
runs-on: ubuntu-latest
needs: test-node
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v2
with:
deno-version: v2.x # Run with latest stable Deno.
- run: deno install
- run: deno test
test-bun:
runs-on: ubuntu-latest
needs: test-node
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun install
- run: bun test
test-node:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
@ -17,20 +38,27 @@ jobs:
- 12 - 12
- 14 - 14
- 16 - 16
- 18
- 20
- 22
- 24
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node_version }} - name: Use Node.js ${{ matrix.node_version }}
uses: uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: ${{ matrix.node_version }} node-version: ${{ matrix.node_version }}
cache: npm cache: npm
- run: npm ci - run: npm ci
- run: npm run test:code - run: npm run test:node
test: test-types:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: test_matrix needs:
- test-node
- test-deno
- test-bun
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- run: npm ci - run: npm ci

View file

@ -1,5 +1,5 @@
name: Update Prettier name: Update Prettier
"on": on:
push: push:
branches: branches:
- renovate/prettier-* - renovate/prettier-*

View file

@ -0,0 +1,5 @@
## Security contact information
To report a security vulnerability, please use the
[Tidelift security contact](https://tidelift.com/security).
Tidelift will coordinate the fix and disclosure.

View file

@ -0,0 +1,40 @@
import { getUserAgent } from "./index.js";
if (getUserAgent instanceof Function === false) {
throw new Error("getUserAgent is not a function");
}
if (typeof getUserAgent() !== "string") {
throw new Error("getUserAgent does not return a string");
}
if ("Deno" in globalThis) {
if (/Deno\//.test(getUserAgent()) === false) {
throw new Error(
"getUserAgent does not return the correct user agent for Deno"
);
}
} else if ("Bun" in globalThis) {
if (/Bun\//.test(getUserAgent()) === false) {
throw new Error(
"getUserAgent does not return the correct user agent for Bun"
);
}
} else {
if (/Node\.js\//.test(getUserAgent()) === false) {
throw new Error(
"getUserAgent does not return the correct user agent for Node.js"
);
}
}
delete globalThis.navigator;
delete globalThis.process;
if (getUserAgent() !== "<environment undetectable>") {
throw new Error(
"getUserAgent does not return the correct user agent for undetectable environment"
);
}
console.info("getUserAgent test passed");

View file

@ -1,6 +1,6 @@
{ {
"name": "universal-user-agent", "name": "universal-user-agent",
"version": "7.0.2", "version": "7.0.3",
"type": "module", "type": "module",
"description": "Get a user agent string across all JavaScript Runtime Environments", "description": "Get a user agent string across all JavaScript Runtime Environments",
"exports": "./index.js", "exports": "./index.js",
@ -12,12 +12,17 @@
"scripts": { "scripts": {
"lint": "prettier --check '*.{js,json,md}'", "lint": "prettier --check '*.{js,json,md}'",
"lint:fix": "prettier --write '*.{js,json,md}'", "lint:fix": "prettier --write '*.{js,json,md}'",
"test": "npm run test:code && npm run test:types", "test": "npm run test:node && npm run test:types",
"test:code": "node test.js", "test:bun": "bun test",
"test:node": "node index.test.js",
"test:deno": "deno test",
"test:types": "tsd" "test:types": "tsd"
}, },
"devDependencies": { "devDependencies": {
"prettier": "^2.0.0", "prettier": "^2.0.0",
"tsd": "^0.17.0" "tsd": "^0.17.0"
},
"publishConfig": {
"provenance": true
} }
} }

View file

@ -1,8 +0,0 @@
import assert from "node:assert";
import { getUserAgent } from "./index.js";
assert(getUserAgent instanceof Function, "getUserAgent is a function");
assert.equal(typeof getUserAgent(), "string", "getUserAgent returns a string");
console.log("ok");

View file

@ -5,20 +5,20 @@
"provenance": true "provenance": true
}, },
"type": "module", "type": "module",
"version": "15.1.6", "version": "16.0.1",
"description": "GitHub Apps toolset for Node.js", "description": "GitHub Apps toolset for Node.js",
"main": "./dist-node/index.js", "main": "./dist-node/index.js",
"repository": "github:octokit/app.js", "repository": "github:octokit/app.js",
"author": "Gregor Martynus (https://github.com/gr2m)", "author": "Gregor Martynus (https://github.com/gr2m)",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@octokit/auth-app": "^7.2.1", "@octokit/auth-app": "^8.0.1",
"@octokit/auth-unauthenticated": "^6.1.3", "@octokit/auth-unauthenticated": "^7.0.1",
"@octokit/core": "^6.1.5", "@octokit/core": "^7.0.2",
"@octokit/oauth-app": "^7.1.6", "@octokit/oauth-app": "^8.0.1",
"@octokit/plugin-paginate-rest": "^12.0.0", "@octokit/plugin-paginate-rest": "^13.0.0",
"@octokit/types": "^14.0.0", "@octokit/types": "^14.0.0",
"@octokit/webhooks": "^13.6.1" "@octokit/webhooks": "^14.0.0"
}, },
"devDependencies": { "devDependencies": {
"@octokit/tsconfig": "^4.0.0", "@octokit/tsconfig": "^4.0.0",
@ -35,7 +35,7 @@
"vitest": "^3.0.0" "vitest": "^3.0.0"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
}, },
"files": [ "files": [
"dist-*/**", "dist-*/**",

View file

@ -421,7 +421,7 @@ async function sendRequestWithRetries(state, request, options, createdAt, retrie
} }
// pkg/dist-src/version.js // pkg/dist-src/version.js
var VERSION = "7.2.1"; var VERSION = "8.0.1";
// pkg/dist-src/index.js // pkg/dist-src/index.js
import { createOAuthUserAuth } from "@octokit/auth-oauth-user"; import { createOAuthUserAuth } from "@octokit/auth-oauth-user";

File diff suppressed because one or more lines are too long

View file

@ -1,4 +1,4 @@
const VERSION = "7.2.1"; const VERSION = "8.0.1";
export { export {
VERSION VERSION
}; };

View file

@ -1 +1 @@
export declare const VERSION = "7.2.1"; export declare const VERSION = "8.0.1";

View file

@ -1,5 +1,5 @@
name: Release name: Release
"on": on:
push: push:
branches: branches:
- master - master
@ -8,6 +8,11 @@ name: Release
- "*.x" - "*.x"
jobs: jobs:
release: release:
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
name: release name: release
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:

View file

@ -7,9 +7,30 @@ on:
types: types:
- opened - opened
- synchronize - synchronize
- reopened
jobs: jobs:
test_matrix: test-deno:
runs-on: ubuntu-latest
needs: test-node
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v2
with:
deno-version: v2.x # Run with latest stable Deno.
- run: deno install
- run: deno test
test-bun:
runs-on: ubuntu-latest
needs: test-node
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun install
- run: bun test
test-node:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
@ -17,20 +38,27 @@ jobs:
- 12 - 12
- 14 - 14
- 16 - 16
- 18
- 20
- 22
- 24
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node_version }} - name: Use Node.js ${{ matrix.node_version }}
uses: uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: ${{ matrix.node_version }} node-version: ${{ matrix.node_version }}
cache: npm cache: npm
- run: npm ci - run: npm ci
- run: npm run test:code - run: npm run test:node
test: test-types:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: test_matrix needs:
- test-node
- test-deno
- test-bun
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- run: npm ci - run: npm ci

View file

@ -1,5 +1,5 @@
name: Update Prettier name: Update Prettier
"on": on:
push: push:
branches: branches:
- renovate/prettier-* - renovate/prettier-*

View file

@ -0,0 +1,5 @@
## Security contact information
To report a security vulnerability, please use the
[Tidelift security contact](https://tidelift.com/security).
Tidelift will coordinate the fix and disclosure.

View file

@ -0,0 +1,40 @@
import { getUserAgent } from "./index.js";
if (getUserAgent instanceof Function === false) {
throw new Error("getUserAgent is not a function");
}
if (typeof getUserAgent() !== "string") {
throw new Error("getUserAgent does not return a string");
}
if ("Deno" in globalThis) {
if (/Deno\//.test(getUserAgent()) === false) {
throw new Error(
"getUserAgent does not return the correct user agent for Deno"
);
}
} else if ("Bun" in globalThis) {
if (/Bun\//.test(getUserAgent()) === false) {
throw new Error(
"getUserAgent does not return the correct user agent for Bun"
);
}
} else {
if (/Node\.js\//.test(getUserAgent()) === false) {
throw new Error(
"getUserAgent does not return the correct user agent for Node.js"
);
}
}
delete globalThis.navigator;
delete globalThis.process;
if (getUserAgent() !== "<environment undetectable>") {
throw new Error(
"getUserAgent does not return the correct user agent for undetectable environment"
);
}
console.info("getUserAgent test passed");

View file

@ -1,6 +1,6 @@
{ {
"name": "universal-user-agent", "name": "universal-user-agent",
"version": "7.0.2", "version": "7.0.3",
"type": "module", "type": "module",
"description": "Get a user agent string across all JavaScript Runtime Environments", "description": "Get a user agent string across all JavaScript Runtime Environments",
"exports": "./index.js", "exports": "./index.js",
@ -12,12 +12,17 @@
"scripts": { "scripts": {
"lint": "prettier --check '*.{js,json,md}'", "lint": "prettier --check '*.{js,json,md}'",
"lint:fix": "prettier --write '*.{js,json,md}'", "lint:fix": "prettier --write '*.{js,json,md}'",
"test": "npm run test:code && npm run test:types", "test": "npm run test:node && npm run test:types",
"test:code": "node test.js", "test:bun": "bun test",
"test:node": "node index.test.js",
"test:deno": "deno test",
"test:types": "tsd" "test:types": "tsd"
}, },
"devDependencies": { "devDependencies": {
"prettier": "^2.0.0", "prettier": "^2.0.0",
"tsd": "^0.17.0" "tsd": "^0.17.0"
},
"publishConfig": {
"provenance": true
} }
} }

View file

@ -1,8 +0,0 @@
import assert from "node:assert";
import { getUserAgent } from "./index.js";
assert(getUserAgent instanceof Function, "getUserAgent is a function");
assert.equal(typeof getUserAgent(), "string", "getUserAgent returns a string");
console.log("ok");

View file

@ -5,7 +5,7 @@
"provenance": true "provenance": true
}, },
"type": "module", "type": "module",
"version": "7.2.1", "version": "8.0.1",
"description": "GitHub App authentication for JavaScript", "description": "GitHub App authentication for JavaScript",
"repository": "github:octokit/auth-app.js", "repository": "github:octokit/auth-app.js",
"keywords": [ "keywords": [
@ -17,10 +17,10 @@
"author": "Gregor Martynus (https://github.com/gr2m)", "author": "Gregor Martynus (https://github.com/gr2m)",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@octokit/auth-oauth-app": "^8.1.4", "@octokit/auth-oauth-app": "^9.0.1",
"@octokit/auth-oauth-user": "^5.1.4", "@octokit/auth-oauth-user": "^6.0.0",
"@octokit/request": "^9.2.3", "@octokit/request": "^10.0.2",
"@octokit/request-error": "^6.1.8", "@octokit/request-error": "^7.0.0",
"@octokit/types": "^14.0.0", "@octokit/types": "^14.0.0",
"toad-cache": "^3.7.0", "toad-cache": "^3.7.0",
"universal-github-app-jwt": "^2.2.0", "universal-github-app-jwt": "^2.2.0",
@ -33,14 +33,14 @@
"@vitest/ui": "^3.0.0", "@vitest/ui": "^3.0.0",
"esbuild": "^0.25.0", "esbuild": "^0.25.0",
"fetch-mock": "^11.0.0", "fetch-mock": "^11.0.0",
"glob": "^11.0.0",
"prettier": "3.5.3", "prettier": "3.5.3",
"semantic-release-plugin-update-version-in-files": "^2.0.0", "semantic-release-plugin-update-version-in-files": "^2.0.0",
"tinyglobby": "^0.2.13",
"typescript": "^5.0.0", "typescript": "^5.0.0",
"vitest": "^3.0.0" "vitest": "^3.0.0"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
}, },
"files": [ "files": [
"dist-*/**", "dist-*/**",

View file

@ -1,4 +1,4 @@
const VERSION = "8.1.4"; const VERSION = "9.0.1";
export { export {
VERSION VERSION
}; };

View file

@ -1 +1 @@
export declare const VERSION = "8.1.4"; export declare const VERSION = "9.0.1";

View file

@ -1,5 +1,5 @@
name: Release name: Release
"on": on:
push: push:
branches: branches:
- master - master
@ -8,6 +8,11 @@ name: Release
- "*.x" - "*.x"
jobs: jobs:
release: release:
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
name: release name: release
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:

View file

@ -7,9 +7,30 @@ on:
types: types:
- opened - opened
- synchronize - synchronize
- reopened
jobs: jobs:
test_matrix: test-deno:
runs-on: ubuntu-latest
needs: test-node
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v2
with:
deno-version: v2.x # Run with latest stable Deno.
- run: deno install
- run: deno test
test-bun:
runs-on: ubuntu-latest
needs: test-node
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun install
- run: bun test
test-node:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
@ -17,20 +38,27 @@ jobs:
- 12 - 12
- 14 - 14
- 16 - 16
- 18
- 20
- 22
- 24
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node_version }} - name: Use Node.js ${{ matrix.node_version }}
uses: uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: ${{ matrix.node_version }} node-version: ${{ matrix.node_version }}
cache: npm cache: npm
- run: npm ci - run: npm ci
- run: npm run test:code - run: npm run test:node
test: test-types:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: test_matrix needs:
- test-node
- test-deno
- test-bun
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- run: npm ci - run: npm ci

View file

@ -1,5 +1,5 @@
name: Update Prettier name: Update Prettier
"on": on:
push: push:
branches: branches:
- renovate/prettier-* - renovate/prettier-*

View file

@ -0,0 +1,5 @@
## Security contact information
To report a security vulnerability, please use the
[Tidelift security contact](https://tidelift.com/security).
Tidelift will coordinate the fix and disclosure.

View file

@ -0,0 +1,40 @@
import { getUserAgent } from "./index.js";
if (getUserAgent instanceof Function === false) {
throw new Error("getUserAgent is not a function");
}
if (typeof getUserAgent() !== "string") {
throw new Error("getUserAgent does not return a string");
}
if ("Deno" in globalThis) {
if (/Deno\//.test(getUserAgent()) === false) {
throw new Error(
"getUserAgent does not return the correct user agent for Deno"
);
}
} else if ("Bun" in globalThis) {
if (/Bun\//.test(getUserAgent()) === false) {
throw new Error(
"getUserAgent does not return the correct user agent for Bun"
);
}
} else {
if (/Node\.js\//.test(getUserAgent()) === false) {
throw new Error(
"getUserAgent does not return the correct user agent for Node.js"
);
}
}
delete globalThis.navigator;
delete globalThis.process;
if (getUserAgent() !== "<environment undetectable>") {
throw new Error(
"getUserAgent does not return the correct user agent for undetectable environment"
);
}
console.info("getUserAgent test passed");

View file

@ -1,6 +1,6 @@
{ {
"name": "universal-user-agent", "name": "universal-user-agent",
"version": "7.0.2", "version": "7.0.3",
"type": "module", "type": "module",
"description": "Get a user agent string across all JavaScript Runtime Environments", "description": "Get a user agent string across all JavaScript Runtime Environments",
"exports": "./index.js", "exports": "./index.js",
@ -12,12 +12,17 @@
"scripts": { "scripts": {
"lint": "prettier --check '*.{js,json,md}'", "lint": "prettier --check '*.{js,json,md}'",
"lint:fix": "prettier --write '*.{js,json,md}'", "lint:fix": "prettier --write '*.{js,json,md}'",
"test": "npm run test:code && npm run test:types", "test": "npm run test:node && npm run test:types",
"test:code": "node test.js", "test:bun": "bun test",
"test:node": "node index.test.js",
"test:deno": "deno test",
"test:types": "tsd" "test:types": "tsd"
}, },
"devDependencies": { "devDependencies": {
"prettier": "^2.0.0", "prettier": "^2.0.0",
"tsd": "^0.17.0" "tsd": "^0.17.0"
},
"publishConfig": {
"provenance": true
} }
} }

View file

@ -1,8 +0,0 @@
import assert from "node:assert";
import { getUserAgent } from "./index.js";
assert(getUserAgent instanceof Function, "getUserAgent is a function");
assert.equal(typeof getUserAgent(), "string", "getUserAgent returns a string");
console.log("ok");

View file

@ -5,7 +5,7 @@
"provenance": true "provenance": true
}, },
"type": "module", "type": "module",
"version": "8.1.4", "version": "9.0.1",
"description": "GitHub OAuth App authentication for JavaScript", "description": "GitHub OAuth App authentication for JavaScript",
"repository": "github:octokit/auth-oauth-app.js", "repository": "github:octokit/auth-oauth-app.js",
"keywords": [ "keywords": [
@ -18,27 +18,27 @@
"author": "Gregor Martynus (https://github.com/gr2m)", "author": "Gregor Martynus (https://github.com/gr2m)",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@octokit/auth-oauth-device": "^7.1.5", "@octokit/auth-oauth-device": "^8.0.1",
"@octokit/auth-oauth-user": "^5.1.4", "@octokit/auth-oauth-user": "^6.0.0",
"@octokit/request": "^9.2.3", "@octokit/request": "^10.0.2",
"@octokit/types": "^14.0.0", "@octokit/types": "^14.0.0",
"universal-user-agent": "^7.0.0" "universal-user-agent": "^7.0.0"
}, },
"devDependencies": { "devDependencies": {
"@octokit/core": "^6.1.5", "@octokit/core": "^7.0.2",
"@octokit/tsconfig": "^4.0.0", "@octokit/tsconfig": "^4.0.0",
"@types/node": "^22.13.1", "@types/node": "^22.13.1",
"@vitest/coverage-v8": "^3.0.5", "@vitest/coverage-v8": "^3.0.5",
"esbuild": "^0.25.0", "esbuild": "^0.25.0",
"fetch-mock": "^12.0.0", "fetch-mock": "^12.0.0",
"glob": "^11.0.0",
"prettier": "3.5.3", "prettier": "3.5.3",
"semantic-release-plugin-update-version-in-files": "^2.0.0", "semantic-release-plugin-update-version-in-files": "^2.0.0",
"tinyglobby": "^0.2.13",
"typescript": "^5.3.0", "typescript": "^5.3.0",
"vitest": "^3.0.5" "vitest": "^3.0.5"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
}, },
"files": [ "files": [
"dist-*/**", "dist-*/**",

View file

@ -1,4 +1,4 @@
const VERSION = "7.1.5"; const VERSION = "8.0.1";
export { export {
VERSION VERSION
}; };

View file

@ -1 +1 @@
export declare const VERSION = "7.1.5"; export declare const VERSION = "8.0.1";

View file

@ -1,5 +1,5 @@
name: Release name: Release
"on": on:
push: push:
branches: branches:
- master - master
@ -8,6 +8,11 @@ name: Release
- "*.x" - "*.x"
jobs: jobs:
release: release:
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
name: release name: release
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:

View file

@ -7,9 +7,30 @@ on:
types: types:
- opened - opened
- synchronize - synchronize
- reopened
jobs: jobs:
test_matrix: test-deno:
runs-on: ubuntu-latest
needs: test-node
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v2
with:
deno-version: v2.x # Run with latest stable Deno.
- run: deno install
- run: deno test
test-bun:
runs-on: ubuntu-latest
needs: test-node
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun install
- run: bun test
test-node:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
@ -17,20 +38,27 @@ jobs:
- 12 - 12
- 14 - 14
- 16 - 16
- 18
- 20
- 22
- 24
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node_version }} - name: Use Node.js ${{ matrix.node_version }}
uses: uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: ${{ matrix.node_version }} node-version: ${{ matrix.node_version }}
cache: npm cache: npm
- run: npm ci - run: npm ci
- run: npm run test:code - run: npm run test:node
test: test-types:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: test_matrix needs:
- test-node
- test-deno
- test-bun
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- run: npm ci - run: npm ci

View file

@ -1,5 +1,5 @@
name: Update Prettier name: Update Prettier
"on": on:
push: push:
branches: branches:
- renovate/prettier-* - renovate/prettier-*

View file

@ -0,0 +1,5 @@
## Security contact information
To report a security vulnerability, please use the
[Tidelift security contact](https://tidelift.com/security).
Tidelift will coordinate the fix and disclosure.

View file

@ -0,0 +1,40 @@
import { getUserAgent } from "./index.js";
if (getUserAgent instanceof Function === false) {
throw new Error("getUserAgent is not a function");
}
if (typeof getUserAgent() !== "string") {
throw new Error("getUserAgent does not return a string");
}
if ("Deno" in globalThis) {
if (/Deno\//.test(getUserAgent()) === false) {
throw new Error(
"getUserAgent does not return the correct user agent for Deno"
);
}
} else if ("Bun" in globalThis) {
if (/Bun\//.test(getUserAgent()) === false) {
throw new Error(
"getUserAgent does not return the correct user agent for Bun"
);
}
} else {
if (/Node\.js\//.test(getUserAgent()) === false) {
throw new Error(
"getUserAgent does not return the correct user agent for Node.js"
);
}
}
delete globalThis.navigator;
delete globalThis.process;
if (getUserAgent() !== "<environment undetectable>") {
throw new Error(
"getUserAgent does not return the correct user agent for undetectable environment"
);
}
console.info("getUserAgent test passed");

View file

@ -1,6 +1,6 @@
{ {
"name": "universal-user-agent", "name": "universal-user-agent",
"version": "7.0.2", "version": "7.0.3",
"type": "module", "type": "module",
"description": "Get a user agent string across all JavaScript Runtime Environments", "description": "Get a user agent string across all JavaScript Runtime Environments",
"exports": "./index.js", "exports": "./index.js",
@ -12,12 +12,17 @@
"scripts": { "scripts": {
"lint": "prettier --check '*.{js,json,md}'", "lint": "prettier --check '*.{js,json,md}'",
"lint:fix": "prettier --write '*.{js,json,md}'", "lint:fix": "prettier --write '*.{js,json,md}'",
"test": "npm run test:code && npm run test:types", "test": "npm run test:node && npm run test:types",
"test:code": "node test.js", "test:bun": "bun test",
"test:node": "node index.test.js",
"test:deno": "deno test",
"test:types": "tsd" "test:types": "tsd"
}, },
"devDependencies": { "devDependencies": {
"prettier": "^2.0.0", "prettier": "^2.0.0",
"tsd": "^0.17.0" "tsd": "^0.17.0"
},
"publishConfig": {
"provenance": true
} }
} }

View file

@ -1,8 +0,0 @@
import assert from "node:assert";
import { getUserAgent } from "./index.js";
assert(getUserAgent instanceof Function, "getUserAgent is a function");
assert.equal(typeof getUserAgent(), "string", "getUserAgent returns a string");
console.log("ok");

View file

@ -1,6 +1,6 @@
{ {
"name": "@octokit/auth-oauth-device", "name": "@octokit/auth-oauth-device",
"version": "7.1.5", "version": "8.0.1",
"description": "GitHub OAuth Device authentication strategy for JavaScript", "description": "GitHub OAuth Device authentication strategy for JavaScript",
"type": "module", "type": "module",
"repository": "github:octokit/auth-oauth-device.js", "repository": "github:octokit/auth-oauth-device.js",
@ -13,8 +13,8 @@
"author": "Gregor Martynus (https://dev.to/gr2m)", "author": "Gregor Martynus (https://dev.to/gr2m)",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@octokit/oauth-methods": "^5.1.5", "@octokit/oauth-methods": "^6.0.0",
"@octokit/request": "^9.2.3", "@octokit/request": "^10.0.2",
"@octokit/types": "^14.0.0", "@octokit/types": "^14.0.0",
"universal-user-agent": "^7.0.0" "universal-user-agent": "^7.0.0"
}, },
@ -35,7 +35,7 @@
"provenance": true "provenance": true
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
}, },
"files": [ "files": [
"dist-*/**", "dist-*/**",

View file

@ -1,4 +1,4 @@
const VERSION = "5.1.4"; const VERSION = "6.0.0";
export { export {
VERSION VERSION
}; };

View file

@ -1 +1 @@
export declare const VERSION = "5.1.4"; export declare const VERSION = "6.0.0";

View file

@ -1,5 +1,5 @@
name: Release name: Release
"on": on:
push: push:
branches: branches:
- master - master
@ -8,6 +8,11 @@ name: Release
- "*.x" - "*.x"
jobs: jobs:
release: release:
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
name: release name: release
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:

View file

@ -7,9 +7,30 @@ on:
types: types:
- opened - opened
- synchronize - synchronize
- reopened
jobs: jobs:
test_matrix: test-deno:
runs-on: ubuntu-latest
needs: test-node
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v2
with:
deno-version: v2.x # Run with latest stable Deno.
- run: deno install
- run: deno test
test-bun:
runs-on: ubuntu-latest
needs: test-node
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun install
- run: bun test
test-node:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
@ -17,20 +38,27 @@ jobs:
- 12 - 12
- 14 - 14
- 16 - 16
- 18
- 20
- 22
- 24
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node_version }} - name: Use Node.js ${{ matrix.node_version }}
uses: uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: ${{ matrix.node_version }} node-version: ${{ matrix.node_version }}
cache: npm cache: npm
- run: npm ci - run: npm ci
- run: npm run test:code - run: npm run test:node
test: test-types:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: test_matrix needs:
- test-node
- test-deno
- test-bun
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- run: npm ci - run: npm ci

View file

@ -1,5 +1,5 @@
name: Update Prettier name: Update Prettier
"on": on:
push: push:
branches: branches:
- renovate/prettier-* - renovate/prettier-*

View file

@ -0,0 +1,5 @@
## Security contact information
To report a security vulnerability, please use the
[Tidelift security contact](https://tidelift.com/security).
Tidelift will coordinate the fix and disclosure.

View file

@ -0,0 +1,40 @@
import { getUserAgent } from "./index.js";
if (getUserAgent instanceof Function === false) {
throw new Error("getUserAgent is not a function");
}
if (typeof getUserAgent() !== "string") {
throw new Error("getUserAgent does not return a string");
}
if ("Deno" in globalThis) {
if (/Deno\//.test(getUserAgent()) === false) {
throw new Error(
"getUserAgent does not return the correct user agent for Deno"
);
}
} else if ("Bun" in globalThis) {
if (/Bun\//.test(getUserAgent()) === false) {
throw new Error(
"getUserAgent does not return the correct user agent for Bun"
);
}
} else {
if (/Node\.js\//.test(getUserAgent()) === false) {
throw new Error(
"getUserAgent does not return the correct user agent for Node.js"
);
}
}
delete globalThis.navigator;
delete globalThis.process;
if (getUserAgent() !== "<environment undetectable>") {
throw new Error(
"getUserAgent does not return the correct user agent for undetectable environment"
);
}
console.info("getUserAgent test passed");

View file

@ -1,6 +1,6 @@
{ {
"name": "universal-user-agent", "name": "universal-user-agent",
"version": "7.0.2", "version": "7.0.3",
"type": "module", "type": "module",
"description": "Get a user agent string across all JavaScript Runtime Environments", "description": "Get a user agent string across all JavaScript Runtime Environments",
"exports": "./index.js", "exports": "./index.js",
@ -12,12 +12,17 @@
"scripts": { "scripts": {
"lint": "prettier --check '*.{js,json,md}'", "lint": "prettier --check '*.{js,json,md}'",
"lint:fix": "prettier --write '*.{js,json,md}'", "lint:fix": "prettier --write '*.{js,json,md}'",
"test": "npm run test:code && npm run test:types", "test": "npm run test:node && npm run test:types",
"test:code": "node test.js", "test:bun": "bun test",
"test:node": "node index.test.js",
"test:deno": "deno test",
"test:types": "tsd" "test:types": "tsd"
}, },
"devDependencies": { "devDependencies": {
"prettier": "^2.0.0", "prettier": "^2.0.0",
"tsd": "^0.17.0" "tsd": "^0.17.0"
},
"publishConfig": {
"provenance": true
} }
} }

View file

@ -1,8 +0,0 @@
import assert from "node:assert";
import { getUserAgent } from "./index.js";
assert(getUserAgent instanceof Function, "getUserAgent is a function");
assert.equal(typeof getUserAgent(), "string", "getUserAgent returns a string");
console.log("ok");

View file

@ -5,7 +5,7 @@
"provenance": true "provenance": true
}, },
"type": "module", "type": "module",
"version": "5.1.4", "version": "6.0.0",
"description": "Octokit authentication strategy for OAuth clients", "description": "Octokit authentication strategy for OAuth clients",
"repository": "https://github.com/octokit/auth-oauth-user.js", "repository": "https://github.com/octokit/auth-oauth-user.js",
"keywords": [ "keywords": [
@ -17,14 +17,14 @@
"author": "Gregor Martynus (https://dev.to/gr2m)", "author": "Gregor Martynus (https://dev.to/gr2m)",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@octokit/auth-oauth-device": "^7.1.5", "@octokit/auth-oauth-device": "^8.0.1",
"@octokit/oauth-methods": "^5.1.5", "@octokit/oauth-methods": "^6.0.0",
"@octokit/request": "^9.2.3", "@octokit/request": "^10.0.2",
"@octokit/types": "^14.0.0", "@octokit/types": "^14.0.0",
"universal-user-agent": "^7.0.0" "universal-user-agent": "^7.0.0"
}, },
"devDependencies": { "devDependencies": {
"@octokit/core": "^6.1.5", "@octokit/core": "^7.0.1",
"@octokit/tsconfig": "^4.0.0", "@octokit/tsconfig": "^4.0.0",
"@types/node": "^22.0.0", "@types/node": "^22.0.0",
"@vitest/coverage-v8": "^3.0.0", "@vitest/coverage-v8": "^3.0.0",
@ -32,13 +32,13 @@
"fetch-mock": "^11.0.0", "fetch-mock": "^11.0.0",
"glob": "^11.0.0", "glob": "^11.0.0",
"mockdate": "^3.0.4", "mockdate": "^3.0.4",
"prettier": "3.5.2", "prettier": "3.5.3",
"semantic-release-plugin-update-version-in-files": "^2.0.0", "semantic-release-plugin-update-version-in-files": "^2.0.0",
"typescript": "^5.0.0", "typescript": "^5.0.0",
"vitest": "^3.0.0" "vitest": "^3.0.0"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
}, },
"files": [ "files": [
"dist-*/**", "dist-*/**",

View file

@ -5,7 +5,7 @@
"provenance": true "provenance": true
}, },
"type": "module", "type": "module",
"version": "6.1.3", "version": "7.0.1",
"description": "GitHub API token authentication for browsers and Node.js", "description": "GitHub API token authentication for browsers and Node.js",
"repository": "github:octokit/auth-unauthenticated.js", "repository": "github:octokit/auth-unauthenticated.js",
"keywords": [ "keywords": [
@ -17,24 +17,24 @@
"author": "Gregor Martynus (https://github.com/gr2m)", "author": "Gregor Martynus (https://github.com/gr2m)",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@octokit/request-error": "^6.1.8", "@octokit/request-error": "^7.0.0",
"@octokit/types": "^14.0.0" "@octokit/types": "^14.0.0"
}, },
"devDependencies": { "devDependencies": {
"@octokit/core": "^6.1.5", "@octokit/core": "^7.0.2",
"@octokit/request": "^9.2.3", "@octokit/request": "^10.0.2",
"@octokit/tsconfig": "^4.0.0", "@octokit/tsconfig": "^4.0.0",
"@types/node": "^22.13.1", "@types/node": "^22.13.1",
"@vitest/coverage-v8": "^3.0.0", "@vitest/coverage-v8": "^3.0.0",
"esbuild": "^0.25.0", "esbuild": "^0.25.0",
"fetch-mock": "^12.0.0", "fetch-mock": "^12.0.0",
"glob": "^11.0.0",
"prettier": "3.5.3", "prettier": "3.5.3",
"tinyglobby": "^0.2.13",
"typescript": "^5.0.0", "typescript": "^5.0.0",
"vitest": "^3.0.0" "vitest": "^3.0.0"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
}, },
"files": [ "files": [
"dist-*/**", "dist-*/**",

View file

@ -1,4 +1,4 @@
const VERSION = "10.1.4"; const VERSION = "11.0.0";
export { export {
VERSION VERSION
}; };

View file

@ -1 +1 @@
export declare const VERSION = "10.1.4"; export declare const VERSION = "11.0.0";

View file

@ -1,5 +1,5 @@
name: Release name: Release
"on": on:
push: push:
branches: branches:
- master - master
@ -8,6 +8,11 @@ name: Release
- "*.x" - "*.x"
jobs: jobs:
release: release:
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
name: release name: release
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:

View file

@ -7,9 +7,30 @@ on:
types: types:
- opened - opened
- synchronize - synchronize
- reopened
jobs: jobs:
test_matrix: test-deno:
runs-on: ubuntu-latest
needs: test-node
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v2
with:
deno-version: v2.x # Run with latest stable Deno.
- run: deno install
- run: deno test
test-bun:
runs-on: ubuntu-latest
needs: test-node
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun install
- run: bun test
test-node:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
@ -17,20 +38,27 @@ jobs:
- 12 - 12
- 14 - 14
- 16 - 16
- 18
- 20
- 22
- 24
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node_version }} - name: Use Node.js ${{ matrix.node_version }}
uses: uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: ${{ matrix.node_version }} node-version: ${{ matrix.node_version }}
cache: npm cache: npm
- run: npm ci - run: npm ci
- run: npm run test:code - run: npm run test:node
test: test-types:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: test_matrix needs:
- test-node
- test-deno
- test-bun
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- run: npm ci - run: npm ci

View file

@ -1,5 +1,5 @@
name: Update Prettier name: Update Prettier
"on": on:
push: push:
branches: branches:
- renovate/prettier-* - renovate/prettier-*

View file

@ -0,0 +1,5 @@
## Security contact information
To report a security vulnerability, please use the
[Tidelift security contact](https://tidelift.com/security).
Tidelift will coordinate the fix and disclosure.

View file

@ -0,0 +1,40 @@
import { getUserAgent } from "./index.js";
if (getUserAgent instanceof Function === false) {
throw new Error("getUserAgent is not a function");
}
if (typeof getUserAgent() !== "string") {
throw new Error("getUserAgent does not return a string");
}
if ("Deno" in globalThis) {
if (/Deno\//.test(getUserAgent()) === false) {
throw new Error(
"getUserAgent does not return the correct user agent for Deno"
);
}
} else if ("Bun" in globalThis) {
if (/Bun\//.test(getUserAgent()) === false) {
throw new Error(
"getUserAgent does not return the correct user agent for Bun"
);
}
} else {
if (/Node\.js\//.test(getUserAgent()) === false) {
throw new Error(
"getUserAgent does not return the correct user agent for Node.js"
);
}
}
delete globalThis.navigator;
delete globalThis.process;
if (getUserAgent() !== "<environment undetectable>") {
throw new Error(
"getUserAgent does not return the correct user agent for undetectable environment"
);
}
console.info("getUserAgent test passed");

View file

@ -1,6 +1,6 @@
{ {
"name": "universal-user-agent", "name": "universal-user-agent",
"version": "7.0.2", "version": "7.0.3",
"type": "module", "type": "module",
"description": "Get a user agent string across all JavaScript Runtime Environments", "description": "Get a user agent string across all JavaScript Runtime Environments",
"exports": "./index.js", "exports": "./index.js",
@ -12,12 +12,17 @@
"scripts": { "scripts": {
"lint": "prettier --check '*.{js,json,md}'", "lint": "prettier --check '*.{js,json,md}'",
"lint:fix": "prettier --write '*.{js,json,md}'", "lint:fix": "prettier --write '*.{js,json,md}'",
"test": "npm run test:code && npm run test:types", "test": "npm run test:node && npm run test:types",
"test:code": "node test.js", "test:bun": "bun test",
"test:node": "node index.test.js",
"test:deno": "deno test",
"test:types": "tsd" "test:types": "tsd"
}, },
"devDependencies": { "devDependencies": {
"prettier": "^2.0.0", "prettier": "^2.0.0",
"tsd": "^0.17.0" "tsd": "^0.17.0"
},
"publishConfig": {
"provenance": true
} }
} }

View file

@ -1,8 +0,0 @@
import assert from "node:assert";
import { getUserAgent } from "./index.js";
assert(getUserAgent instanceof Function, "getUserAgent is a function");
assert.equal(typeof getUserAgent(), "string", "getUserAgent returns a string");
console.log("ok");

View file

@ -1,6 +1,6 @@
{ {
"name": "@octokit/endpoint", "name": "@octokit/endpoint",
"version": "10.1.4", "version": "11.0.0",
"type": "module", "type": "module",
"publishConfig": { "publishConfig": {
"access": "public", "access": "public",
@ -33,7 +33,7 @@
"universal-user-agent": "^7.0.2" "universal-user-agent": "^7.0.2"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
}, },
"files": [ "files": [
"dist-*/**", "dist-*/**",

View file

@ -2,7 +2,7 @@
import { createOAuthAppAuth } from "@octokit/auth-oauth-app"; import { createOAuthAppAuth } from "@octokit/auth-oauth-app";
// pkg/dist-src/version.js // pkg/dist-src/version.js
var VERSION = "7.1.6"; var VERSION = "8.0.1";
// pkg/dist-src/add-event-handler.js // pkg/dist-src/add-event-handler.js
function addEventHandler(state, eventName, eventHandler) { function addEventHandler(state, eventName, eventHandler) {

File diff suppressed because one or more lines are too long

View file

@ -1,4 +1,4 @@
const VERSION = "7.1.6"; const VERSION = "8.0.1";
export { export {
VERSION VERSION
}; };

View file

@ -1 +1 @@
export declare const VERSION = "7.1.6"; export declare const VERSION = "8.0.1";

View file

@ -5,7 +5,7 @@
"provenance": true "provenance": true
}, },
"type": "module", "type": "module",
"version": "5.1.2", "version": "6.0.0",
"description": "GitHub API token authentication for browsers and Node.js", "description": "GitHub API token authentication for browsers and Node.js",
"repository": "github:octokit/auth-token.js", "repository": "github:octokit/auth-token.js",
"keywords": [ "keywords": [
@ -19,18 +19,17 @@
"devDependencies": { "devDependencies": {
"@octokit/request": "^9.0.0", "@octokit/request": "^9.0.0",
"@octokit/tsconfig": "^4.0.0", "@octokit/tsconfig": "^4.0.0",
"@octokit/types": "^13.0.0", "@octokit/types": "^14.0.0",
"@vitest/coverage-v8": "^3.0.0", "@vitest/coverage-v8": "^3.0.0",
"esbuild": "^0.24.0", "esbuild": "^0.25.0",
"fetch-mock": "^11.0.0", "fetch-mock": "^12.0.0",
"glob": "^11.0.0", "glob": "^11.0.0",
"prettier": "3.4.2", "prettier": "3.5.3",
"semantic-release": "^24.0.0",
"typescript": "^5.3.0", "typescript": "^5.3.0",
"vitest": "^3.0.0" "vitest": "^3.0.0"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
}, },
"files": [ "files": [
"dist-*/**", "dist-*/**",

View file

@ -1,4 +1,4 @@
const VERSION = "6.1.5"; const VERSION = "7.0.2";
export { export {
VERSION VERSION
}; };

View file

@ -5,7 +5,7 @@ import type { Constructor, Hooks, OctokitOptions, OctokitPlugin, ReturnTypeOf, U
export type { OctokitOptions } from "./types.js"; export type { OctokitOptions } from "./types.js";
export declare class Octokit { export declare class Octokit {
static VERSION: string; static VERSION: string;
static defaults<S extends Constructor<any>>(this: S, defaults: OctokitOptions | Function): S; static defaults<S extends Constructor<any>>(this: S, defaults: OctokitOptions | Function): typeof this;
static plugins: OctokitPlugin[]; static plugins: OctokitPlugin[];
/** /**
* Attach a plugin (or many) to your Octokit instance. * Attach a plugin (or many) to your Octokit instance.
@ -15,7 +15,7 @@ export declare class Octokit {
*/ */
static plugin<S extends Constructor<any> & { static plugin<S extends Constructor<any> & {
plugins: any[]; plugins: any[];
}, T extends OctokitPlugin[]>(this: S, ...newPlugins: T): S & Constructor<UnionToIntersection<ReturnTypeOf<T>>>; }, T extends OctokitPlugin[]>(this: S, ...newPlugins: T): typeof this & Constructor<UnionToIntersection<ReturnTypeOf<T>>>;
constructor(options?: OctokitOptions); constructor(options?: OctokitOptions);
request: typeof request; request: typeof request;
graphql: typeof graphql; graphql: typeof graphql;

View file

@ -1 +1 @@
export declare const VERSION = "6.1.5"; export declare const VERSION = "7.0.2";

View file

@ -1,6 +1,6 @@
{ {
"name": "@octokit/core", "name": "@octokit/core",
"version": "6.1.5", "version": "7.0.2",
"publishConfig": { "publishConfig": {
"access": "public", "access": "public",
"provenance": true "provenance": true
@ -18,18 +18,18 @@
"author": "Gregor Martynus (https://github.com/gr2m)", "author": "Gregor Martynus (https://github.com/gr2m)",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@octokit/auth-token": "^5.0.0", "@octokit/auth-token": "^6.0.0",
"@octokit/graphql": "^8.2.2", "@octokit/graphql": "^9.0.1",
"@octokit/request": "^9.2.3", "@octokit/request": "^10.0.2",
"@octokit/request-error": "^6.1.8", "@octokit/request-error": "^7.0.0",
"@octokit/types": "^14.0.0", "@octokit/types": "^14.0.0",
"before-after-hook": "^3.0.2", "before-after-hook": "^4.0.0",
"universal-user-agent": "^7.0.0" "universal-user-agent": "^7.0.0"
}, },
"devDependencies": { "devDependencies": {
"@octokit/auth-action": "^5.0.0", "@octokit/auth-action": "^6.0.1",
"@octokit/auth-app": "^7.0.0", "@octokit/auth-app": "^8.0.0",
"@octokit/auth-oauth-app": "^8.0.0", "@octokit/auth-oauth-app": "^9.0.0",
"@octokit/tsconfig": "^4.0.0", "@octokit/tsconfig": "^4.0.0",
"@sinonjs/fake-timers": "^14.0.0", "@sinonjs/fake-timers": "^14.0.0",
"@types/lolex": "^5.1.0", "@types/lolex": "^5.1.0",
@ -38,17 +38,15 @@
"@vitest/coverage-v8": "^3.0.5", "@vitest/coverage-v8": "^3.0.5",
"esbuild": "^0.25.0", "esbuild": "^0.25.0",
"fetch-mock": "^12.0.0", "fetch-mock": "^12.0.0",
"glob": "^11.0.0",
"prettier": "3.5.3", "prettier": "3.5.3",
"proxy": "^2.0.0", "proxy": "^2.0.0",
"semantic-release": "^24.0.0",
"semantic-release-plugin-update-version-in-files": "^2.0.0", "semantic-release-plugin-update-version-in-files": "^2.0.0",
"typescript": "^5.0.0", "typescript": "^5.0.0",
"undici": "^6.0.0", "undici": "^7.0.0",
"vitest": "^3.0.5" "vitest": "^3.0.5"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
}, },
"files": [ "files": [
"dist-*/**", "dist-*/**",

View file

@ -1,4 +1,4 @@
const VERSION = "8.2.2"; const VERSION = "9.0.1";
export { export {
VERSION VERSION
}; };

View file

@ -1 +1 @@
export declare const VERSION = "8.2.2"; export declare const VERSION = "9.0.1";

View file

@ -1,6 +1,6 @@
{ {
"name": "@octokit/graphql", "name": "@octokit/graphql",
"version": "8.2.2", "version": "9.0.1",
"publishConfig": { "publishConfig": {
"access": "public", "access": "public",
"provenance": true "provenance": true
@ -17,7 +17,7 @@
"author": "Gregor Martynus (https://github.com/gr2m)", "author": "Gregor Martynus (https://github.com/gr2m)",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@octokit/request": "^9.2.3", "@octokit/request": "^10.0.2",
"@octokit/types": "^14.0.0", "@octokit/types": "^14.0.0",
"universal-user-agent": "^7.0.0" "universal-user-agent": "^7.0.0"
}, },
@ -34,7 +34,7 @@
"vitest": "^3.0.0" "vitest": "^3.0.0"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
}, },
"files": [ "files": [
"dist-*/**", "dist-*/**",

View file

@ -1,7 +1,7 @@
{ {
"name": "before-after-hook", "name": "before-after-hook",
"type": "module", "type": "module",
"version": "3.0.2", "version": "4.0.0",
"description": "asynchronous before/error/after hooks for internal functionality", "description": "asynchronous before/error/after hooks for internal functionality",
"exports": "./index.js", "exports": "./index.js",
"types": "./index.d.ts", "types": "./index.d.ts",
@ -12,12 +12,12 @@
], ],
"scripts": { "scripts": {
"test": "npm run test:code && npm run test:tsc && npm run test:tsd && npm run lint", "test": "npm run test:code && npm run test:tsc && npm run test:tsd && npm run lint",
"test:code": "c8 --100 ava test/*.test.js", "test:code": "c8 --100 --clean node --test",
"test:deno": "deno test --no-check",
"test:tsc": "tsc --allowJs --noEmit --esModuleInterop --skipLibCheck --lib es2020 index.js", "test:tsc": "tsc --allowJs --noEmit --esModuleInterop --skipLibCheck --lib es2020 index.js",
"test:tsd": "tsd", "test:tsd": "tsd",
"lint": "prettier --check \"*.{js,json,ts,md}\" \".github/**/*.yml\"", "lint": "prettier --check \"*.{js,json,ts,md}\" \"test//*.{js,json,ts,md}\" \".github/**/*.yml\"",
"lint:fix": "prettier --write \"*.{js,json,ts,md}\" \".github/**/*.yml\"", "lint:fix": "prettier --write \"*.{js,json,ts,md}\" \"test//*.{js,json,ts,md}\" \".github/**/*.yml\"",
"coverage": "c8 report --reporter html",
"postcoverage": "open-cli coverage/index.html" "postcoverage": "open-cli coverage/index.html"
}, },
"repository": "github:gr2m/before-after-hook", "repository": "github:gr2m/before-after-hook",
@ -29,10 +29,9 @@
"author": "Gregor Martynus", "author": "Gregor Martynus",
"license": "Apache-2.0", "license": "Apache-2.0",
"devDependencies": { "devDependencies": {
"ava": "^4.3.3", "@types/node": "^22.15.17",
"c8": "^7.12.0", "c8": "^10.1.3",
"prettier": "^2.0.0", "prettier": "^2.0.0",
"sinon": "^14.0.1",
"tsd": "^0.24.1", "tsd": "^0.24.1",
"typescript": "^4.8.4" "typescript": "^4.8.4"
}, },

View file

@ -1,5 +1,5 @@
name: Release name: Release
"on": on:
push: push:
branches: branches:
- master - master
@ -8,6 +8,11 @@ name: Release
- "*.x" - "*.x"
jobs: jobs:
release: release:
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
name: release name: release
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:

View file

@ -7,9 +7,30 @@ on:
types: types:
- opened - opened
- synchronize - synchronize
- reopened
jobs: jobs:
test_matrix: test-deno:
runs-on: ubuntu-latest
needs: test-node
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v2
with:
deno-version: v2.x # Run with latest stable Deno.
- run: deno install
- run: deno test
test-bun:
runs-on: ubuntu-latest
needs: test-node
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun install
- run: bun test
test-node:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
@ -17,20 +38,27 @@ jobs:
- 12 - 12
- 14 - 14
- 16 - 16
- 18
- 20
- 22
- 24
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node_version }} - name: Use Node.js ${{ matrix.node_version }}
uses: uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: ${{ matrix.node_version }} node-version: ${{ matrix.node_version }}
cache: npm cache: npm
- run: npm ci - run: npm ci
- run: npm run test:code - run: npm run test:node
test: test-types:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: test_matrix needs:
- test-node
- test-deno
- test-bun
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- run: npm ci - run: npm ci

View file

@ -1,5 +1,5 @@
name: Update Prettier name: Update Prettier
"on": on:
push: push:
branches: branches:
- renovate/prettier-* - renovate/prettier-*

View file

@ -0,0 +1,5 @@
## Security contact information
To report a security vulnerability, please use the
[Tidelift security contact](https://tidelift.com/security).
Tidelift will coordinate the fix and disclosure.

View file

@ -0,0 +1,40 @@
import { getUserAgent } from "./index.js";
if (getUserAgent instanceof Function === false) {
throw new Error("getUserAgent is not a function");
}
if (typeof getUserAgent() !== "string") {
throw new Error("getUserAgent does not return a string");
}
if ("Deno" in globalThis) {
if (/Deno\//.test(getUserAgent()) === false) {
throw new Error(
"getUserAgent does not return the correct user agent for Deno"
);
}
} else if ("Bun" in globalThis) {
if (/Bun\//.test(getUserAgent()) === false) {
throw new Error(
"getUserAgent does not return the correct user agent for Bun"
);
}
} else {
if (/Node\.js\//.test(getUserAgent()) === false) {
throw new Error(
"getUserAgent does not return the correct user agent for Node.js"
);
}
}
delete globalThis.navigator;
delete globalThis.process;
if (getUserAgent() !== "<environment undetectable>") {
throw new Error(
"getUserAgent does not return the correct user agent for undetectable environment"
);
}
console.info("getUserAgent test passed");

View file

@ -1,6 +1,6 @@
{ {
"name": "universal-user-agent", "name": "universal-user-agent",
"version": "7.0.2", "version": "7.0.3",
"type": "module", "type": "module",
"description": "Get a user agent string across all JavaScript Runtime Environments", "description": "Get a user agent string across all JavaScript Runtime Environments",
"exports": "./index.js", "exports": "./index.js",
@ -12,12 +12,17 @@
"scripts": { "scripts": {
"lint": "prettier --check '*.{js,json,md}'", "lint": "prettier --check '*.{js,json,md}'",
"lint:fix": "prettier --write '*.{js,json,md}'", "lint:fix": "prettier --write '*.{js,json,md}'",
"test": "npm run test:code && npm run test:types", "test": "npm run test:node && npm run test:types",
"test:code": "node test.js", "test:bun": "bun test",
"test:node": "node index.test.js",
"test:deno": "deno test",
"test:types": "tsd" "test:types": "tsd"
}, },
"devDependencies": { "devDependencies": {
"prettier": "^2.0.0", "prettier": "^2.0.0",
"tsd": "^0.17.0" "tsd": "^0.17.0"
},
"publishConfig": {
"provenance": true
} }
} }

Some files were not shown because too many files have changed in this diff Show more