Commit b0d6ed2
Changed files (3)
src/collect/comments.graphql.ts
@@ -127,7 +127,6 @@ export type Reactions = {
export const DiscussionCommentsQuery = `#graphql
${Reactions}
-${IssueComment}
${DiscussionComment}
query DiscussionCommentsQuery($login: String!, $num: Int = 100, $cursor: String) {
user(login: $login) {
@@ -176,7 +175,6 @@ export type DiscussionCommentsQuery = (vars: {
export const IssueCommentsQuery = `#graphql
${Reactions}
${IssueComment}
-${DiscussionComment}
query IssueCommentsQuery($login: String!, $num: Int = 100, $cursor: String) {
user(login: $login) {
issueComments(first: $num, after: $cursor) {
package-lock.json
@@ -9,9 +9,9 @@
"version": "1.0.171",
"license": "MIT",
"dependencies": {
- "@octokit/plugin-retry": "^7.1.1",
- "@octokit/plugin-throttling": "^9.3.0",
- "megaera": "^1.0.0",
+ "@octokit/plugin-retry": "^7.1.2",
+ "@octokit/plugin-throttling": "^9.3.2",
+ "megaera": "^1.0.1",
"minimist": "^1.2.8",
"octokit": "^4.0.2"
},
@@ -19,15 +19,15 @@
"update-my-badges": "dist/src/main.js"
},
"devDependencies": {
- "@octokit/graphql-schema": "^15.24.0",
+ "@octokit/graphql-schema": "^15.25.0",
"@types/minimist": "^1.2.5",
- "@types/node": "^20.14.10",
+ "@types/node": "^22.10.1",
"c8": "^10.1.2",
"fast-glob": "^3.3.2",
"image-dimensions": "^2.3.0",
- "prettier": "^3.3.2",
+ "prettier": "^3.4.1",
"ts-node": "^10.9.2",
- "typescript": "^5.5.3"
+ "typescript": "^5.7.2"
}
},
"node_modules/@bcoe/v8-coverage": {
@@ -373,9 +373,9 @@
}
},
"node_modules/@octokit/graphql-schema": {
- "version": "15.24.0",
- "resolved": "https://registry.npmjs.org/@octokit/graphql-schema/-/graphql-schema-15.24.0.tgz",
- "integrity": "sha512-6Z9UzA7X3d9ehSsHqP+2iat3iMBv5pqXybuyOfZKbE7a95hSEhHDnQCIqJ8ROnD4c8tMnxWzx03v5o5svsVkXg==",
+ "version": "15.25.0",
+ "resolved": "https://registry.npmjs.org/@octokit/graphql-schema/-/graphql-schema-15.25.0.tgz",
+ "integrity": "sha512-aqz9WECtdxVWSqgKroUu9uu+CRt5KnfErWs0dBPKlTdrreAeWzS5NRu22ZVcGdPP7s3XDg2Gnf5iyoZPCRZWmQ==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -481,9 +481,9 @@
}
},
"node_modules/@octokit/plugin-retry": {
- "version": "7.1.1",
- "resolved": "https://registry.npmjs.org/@octokit/plugin-retry/-/plugin-retry-7.1.1.tgz",
- "integrity": "sha512-G9Ue+x2odcb8E1XIPhaFBnTTIrrUDfXN05iFXiqhR+SeeeDMMILcAnysOsxUpEWcQp2e5Ft397FCXTcPkiPkLw==",
+ "version": "7.1.2",
+ "resolved": "https://registry.npmjs.org/@octokit/plugin-retry/-/plugin-retry-7.1.2.tgz",
+ "integrity": "sha512-XOWnPpH2kJ5VTwozsxGurw+svB2e61aWlmk5EVIYZPwFK5F9h4cyPyj9CIKRyMXMHSwpIsI3mPOdpMmrRhe7UQ==",
"license": "MIT",
"dependencies": {
"@octokit/request-error": "^6.0.0",
@@ -498,9 +498,9 @@
}
},
"node_modules/@octokit/plugin-throttling": {
- "version": "9.3.0",
- "resolved": "https://registry.npmjs.org/@octokit/plugin-throttling/-/plugin-throttling-9.3.0.tgz",
- "integrity": "sha512-B5YTToSRTzNSeEyssnrT7WwGhpIdbpV9NKIs3KyTWHX6PhpYn7gqF/+lL3BvsASBM3Sg5BAUYk7KZx5p/Ec77w==",
+ "version": "9.3.2",
+ "resolved": "https://registry.npmjs.org/@octokit/plugin-throttling/-/plugin-throttling-9.3.2.tgz",
+ "integrity": "sha512-FqpvcTpIWFpMMwIeSoypoJXysSAQ3R+ALJhXXSG1HTP3YZOIeLmcNcimKaXxTcws+Sh6yoRl13SJ5r8sXc1Fhw==",
"license": "MIT",
"dependencies": {
"@octokit/types": "^13.0.0",
@@ -628,13 +628,13 @@
"license": "MIT"
},
"node_modules/@types/node": {
- "version": "20.14.10",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.10.tgz",
- "integrity": "sha512-MdiXf+nDuMvY0gJKxyfZ7/6UFsETO7mGKF54MVD/ekJS6HdFtpZFBgrh6Pseu64XTb2MLyFPlbW6hj8HYRQNOQ==",
+ "version": "22.10.1",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-22.10.1.tgz",
+ "integrity": "sha512-qKgsUwfHZV2WCWLAnVP1JqnpE6Im6h3Y0+fYgMTasNQ7V++CBX5OT1as0g0f+OyubbFqhf6XVNIsmN4IIhEgGQ==",
"dev": true,
"license": "MIT",
"dependencies": {
- "undici-types": "~5.26.4"
+ "undici-types": "~6.20.0"
}
},
"node_modules/acorn": {
@@ -1251,9 +1251,9 @@
"dev": true
},
"node_modules/megaera": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/megaera/-/megaera-1.0.0.tgz",
- "integrity": "sha512-wGe8LOPvg83cj2S2UTcJxxk9c5BheAATm9PObGahqyyBGqcrR5y64/MaTQImbsd33g+HDhn1FCm9mUcrt0G5kw==",
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/megaera/-/megaera-1.0.1.tgz",
+ "integrity": "sha512-QW0YHLz7mzwY+RhwzwXP5KwUIaPUM5i/CD/DVzCrtneUlx7tZIcnOAFoGRj2xQRasPmMfMJM4s+ah46WlrpN3A==",
"license": "MIT",
"dependencies": {
"graphql": "^16.0.0"
@@ -1425,9 +1425,9 @@
}
},
"node_modules/prettier": {
- "version": "3.3.2",
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.2.tgz",
- "integrity": "sha512-rAVeHYMcv8ATV5d508CFdn+8/pHPpXeIid1DdrPwXnaAdH7cqjVbpJaT5eq4yRAFU/lsbwYwSF/n5iNrdJHPQA==",
+ "version": "3.4.1",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.4.1.tgz",
+ "integrity": "sha512-G+YdqtITVZmOJje6QkXQWzl3fSfMxFwm1tjTyo9exhkmWSqC4Yhd1+lug++IlR2mvRVAxEDDWYkQdeSztajqgg==",
"dev": true,
"license": "MIT",
"bin": {
@@ -1711,9 +1711,9 @@
"dev": true
},
"node_modules/typescript": {
- "version": "5.5.3",
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.3.tgz",
- "integrity": "sha512-/hreyEujaB0w76zKo6717l3L0o/qEUtRgdvUBvlkhoWeOVMjMuHNHk0BRBzikzuGDqNmPQbg5ifMEqsHLiIUcQ==",
+ "version": "5.7.2",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.2.tgz",
+ "integrity": "sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==",
"dev": true,
"license": "Apache-2.0",
"bin": {
@@ -1725,9 +1725,9 @@
}
},
"node_modules/undici-types": {
- "version": "5.26.5",
- "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz",
- "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==",
+ "version": "6.20.0",
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz",
+ "integrity": "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==",
"dev": true,
"license": "MIT"
},
package.json
@@ -24,22 +24,22 @@
"test:unit": "c8 -r lcov -r text -o coverage -x scripts -x test node --loader ts-node/esm --experimental-specifier-resolution=node scripts/test.mjs"
},
"dependencies": {
- "@octokit/plugin-retry": "^7.1.1",
- "@octokit/plugin-throttling": "^9.3.0",
- "megaera": "^1.0.0",
+ "@octokit/plugin-retry": "^7.1.2",
+ "@octokit/plugin-throttling": "^9.3.2",
+ "megaera": "^1.0.1",
"minimist": "^1.2.8",
"octokit": "^4.0.2"
},
"devDependencies": {
- "@octokit/graphql-schema": "^15.24.0",
+ "@octokit/graphql-schema": "^15.25.0",
"@types/minimist": "^1.2.5",
- "@types/node": "^20.14.10",
+ "@types/node": "^22.10.1",
"c8": "^10.1.2",
"fast-glob": "^3.3.2",
"image-dimensions": "^2.3.0",
- "prettier": "^3.3.2",
+ "prettier": "^3.4.1",
"ts-node": "^10.9.2",
- "typescript": "^5.5.3"
+ "typescript": "^5.7.2"
},
"files": [
"dist"