@colrealpro/react-luau-doctor 0.17.3 → 0.17.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js CHANGED
@@ -11,7 +11,7 @@ var package_default = {
11
11
  publishConfig: {
12
12
  access: "public"
13
13
  },
14
- version: "0.17.3",
14
+ version: "0.17.5",
15
15
  description: "Static analysis for React-Luau hooks, effects, rendering, and performance.",
16
16
  license: "MIT",
17
17
  type: "module",
@@ -9031,7 +9031,8 @@ on:
9031
9031
  branches: [main]
9032
9032
 
9033
9033
  permissions:
9034
- contents: read
9034
+ # GitHub currently requires Contents: write for the resolveReviewThread GraphQL mutation.
9035
+ contents: ${settings.reviewComments ? "write" : "read"}
9035
9036
  pull-requests: write
9036
9037
  issues: write
9037
9038
  statuses: write
@@ -9446,7 +9447,7 @@ function githubGraphQLUrl() {
9446
9447
  if (process.env.GITHUB_GRAPHQL_URL)
9447
9448
  return process.env.GITHUB_GRAPHQL_URL;
9448
9449
  const apiBase = (process.env.GITHUB_API_URL ?? "https://api.github.com").replace(/\/$/, "");
9449
- return apiBase.endsWith("/api/v3") ? `${apiBase.slice(0, -3)}graphql` : `${apiBase}/graphql`;
9450
+ return apiBase.endsWith("/api/v3") ? `${apiBase.slice(0, -"/v3".length)}/graphql` : `${apiBase}/graphql`;
9450
9451
  }
9451
9452
  async function githubGraphQL(query, variables) {
9452
9453
  const response = await githubRequest(githubGraphQLUrl(), {
@@ -11578,5 +11579,5 @@ ${os2.release()}
11578
11579
  }
11579
11580
  main();
11580
11581
 
11581
- //# debugId=0C8033468B7931C864756E2164756E21
11582
+ //# debugId=E46F5C7492ED507564756E2164756E21
11582
11583
  //# sourceMappingURL=cli.js.map