From 6669b1a407818f88537bfa60a934989938dfdcd4 Mon Sep 17 00:00:00 2001 From: Tommy Nguyen <4123478+tido64@users.noreply.github.com> Date: Mon, 18 Mar 2024 17:43:15 +0100 Subject: [PATCH] feat: package is now ESM (#439) BREAKING CHANGE: Package is now ESM --- .gitignore | 1 + cli.js | 15 +- eslint.config.js | 6 +- package.json | 28 +- src/AzureDevOpsClient.js | 26 +- src/GitHubClient.js | 27 +- src/helpers.js | 10 +- src/index.js | 12 +- src/makeComments.js | 12 +- ...ent.test.mjs => AzureDevOpsClient.test.js} | 12 +- ...ubClient.test.mjs => GitHubClient.test.js} | 4 +- test/{__fixtures__.mjs => __fixtures__.js} | 0 ...keComment.test.mjs => makeComment.test.js} | 0 ...trimQuotes.test.mjs => trimQuotes.test.js} | 0 tsconfig.json | 24 +- yarn.lock | 525 ++++++++++-------- 16 files changed, 384 insertions(+), 318 deletions(-) rename test/{AzureDevOpsClient.test.mjs => AzureDevOpsClient.test.js} (97%) rename test/{GitHubClient.test.mjs => GitHubClient.test.js} (98%) rename test/{__fixtures__.mjs => __fixtures__.js} (100%) rename test/{makeComment.test.mjs => makeComment.test.js} (100%) rename test/{trimQuotes.test.mjs => trimQuotes.test.js} (100%) diff --git a/.gitignore b/.gitignore index b510040..67283f8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ *.d.ts +*.d.ts.map *.tgz .DS_Store .yarn/* diff --git a/cli.js b/cli.js index 0010b41..700edd0 100755 --- a/cli.js +++ b/cli.js @@ -7,14 +7,16 @@ // LICENSE file in the root directory of this source tree. // -const fs = require("node:fs"); -const path = require("node:path"); -const { parseArgs } = require("node:util"); +import * as fs from "node:fs"; +import * as path from "node:path"; +import { fileURLToPath, URL } from "node:url"; +import { parseArgs } from "node:util"; +import suggest from "./src/index.js"; function printHelp() { console.log( [ - `Usage: ${path.basename(__filename)} [options] [diff | file]`, + `Usage: ${path.basename(process.argv[1])} [options] [diff | file]`, "", "Submit code reviews with suggestions based on your diffs", "", @@ -66,10 +68,11 @@ const { values, positionals } = parseArgs({ if (values.help) { printHelp(); } else if (values.version) { - const { name, version } = require("./package.json"); + const p = fileURLToPath(new URL("package.json", import.meta.url)); + const manifest = fs.readFileSync(p, { encoding: "utf-8" }); + const { name, version } = JSON.parse(manifest); console.log(name, version); } else { - const suggest = require("./src/index"); if (positionals.length > 0) { const diffOrFile = positionals[0]; const diff = fs.existsSync(diffOrFile) diff --git a/eslint.config.js b/eslint.config.js index bf1f5f8..8df878f 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,5 +1,7 @@ -module.exports = [ - require("@eslint/js").configs.recommended, +import js from "@eslint/js"; + +export default [ + js.configs.recommended, { languageOptions: { globals: { diff --git a/package.json b/package.json index a2f1dce..fe96413 100644 --- a/package.json +++ b/package.json @@ -18,10 +18,21 @@ }, "files": [ "cli.js", - "src/" + "src/**/*.d.ts", + "src/**/*.js" ], "main": "src/index.js", "bin": "cli.js", + "type": "module", + "exports": { + ".": { + "default": "./src/index.js" + }, + "./cli.js": { + "default": "./cli.js" + }, + "./package.json": "./package.json" + }, "repository": { "type": "git", "url": "https://github.com/tido64/suggestion-bot.git" @@ -29,24 +40,25 @@ "scripts": { "build": "yarn clean && yarn lint && tsc", "clean": "git clean -dfqx -- src/ test/", - "format": "prettier --write $(git ls-files '*.js' '*.json' '*.md' '*.mjs' '*.yml' ':!:.yarn/**/*.cjs')", - "lint": "eslint $(git ls-files '*.js' '*.mjs' ':!:*.config.js' ':!:.yarn/**/*.js')", + "format": "prettier --write $(git ls-files '*.js' '*.json' '*.md' '*.yml' ':!:.yarn/**/*.cjs')", + "lint": "eslint $(git ls-files '*.js' ':!:*.config.js' ':!:.yarn/**/*.js')", "suggest": "suggestion-bot", - "test": "node --test --experimental-test-coverage $(git ls-files 'test/*.test.mjs')" + "test": "node --test --experimental-test-coverage $(git ls-files 'test/*.test.js')" }, "dependencies": { - "@octokit/core": "^5.0", - "@octokit/plugin-rest-endpoint-methods": "^10.0", + "@octokit/core": "^6.0", + "@octokit/plugin-rest-endpoint-methods": "^11.0", "azure-devops-node-api": "^12.0", "parse-diff": "^0.11" }, "devDependencies": { "@eslint/js": "^8.56", - "@types/node": "^20.0.0", + "@rnx-kit/tsconfig": "^1.0", + "@types/node": "^20.0", "codecov": "^3.0", "eslint": "^8.56", "prettier": "^3.0", - "semantic-release": "23.0.0", + "semantic-release": "^23.0", "typescript": "^5.0" }, "engines": { diff --git a/src/AzureDevOpsClient.js b/src/AzureDevOpsClient.js index 127ecb0..e7a14cf 100644 --- a/src/AzureDevOpsClient.js +++ b/src/AzureDevOpsClient.js @@ -5,12 +5,14 @@ // LICENSE file in the root directory of this source tree. // // @ts-check +import * as azdevapi from "azure-devops-node-api"; +import { makeComments } from "./makeComments.js"; /** - * @typedef {import("azure-devops-node-api/interfaces/common/VsoBaseInterfaces").IRequestOptions} IRequestOptions - * @typedef {import("azure-devops-node-api/interfaces/GitInterfaces").GitPullRequestChange} GitPullRequestChange - * @typedef {import("azure-devops-node-api/interfaces/GitInterfaces").GitPullRequestCommentThread} GitPullRequestCommentThread - * @typedef {import("./makeComments").Comment} Comment + * @typedef {import("azure-devops-node-api/interfaces/common/VsoBaseInterfaces.js").IRequestOptions} IRequestOptions + * @typedef {import("azure-devops-node-api/interfaces/GitInterfaces.js").GitPullRequestChange} GitPullRequestChange + * @typedef {import("azure-devops-node-api/interfaces/GitInterfaces.js").GitPullRequestCommentThread} GitPullRequestCommentThread + * @typedef {import("./makeComments.js").Comment} Comment * @typedef {{ [filePath: string]: number }} ChangeTrackingIdMap * @typedef {(changes: ChangeTrackingIdMap, change: GitPullRequestChange) => (ChangeTrackingIdMap)} ChangeTrackingIdMapReducer * @typedef {IRequestOptions & { azdev?: typeof import("azure-devops-node-api"); }} RequestOptions @@ -27,11 +29,7 @@ * @param {string} authToken * @param {RequestOptions} options */ -function connect( - serverUrl, - authToken, - { azdev = require("azure-devops-node-api"), ...options } -) { +function connect(serverUrl, authToken, { azdev = azdevapi, ...options }) { const authHandler = azdev.getPersonalAccessTokenHandler(authToken); const vsts = new azdev.WebApi(serverUrl, authHandler, options); return vsts.connect().then(() => vsts.getGitApi()); @@ -43,7 +41,7 @@ function connect( * @param {GitPullRequestChange} change * @returns {string | undefined} */ -function getItemPath(change) { +export function getItemPath(change) { if (!change.item || !change.item.path) { return undefined; } @@ -92,10 +90,10 @@ function transformComment( /** * Submits a code review with suggestions with specified diff and options. * @param {string} diff - * @param {import("./index").Options & RequestOptions} options + * @param {import("./index.js").Options & RequestOptions} options * @returns {Promise} */ -function makeReview(diff, { fail, ...options } = {}) { +export function makeReview(diff, { fail, ...options } = {}) { const { AZURE_PERSONAL_ACCESS_TOKEN: authToken, BUILD_REPOSITORY_ID: repositoryId, @@ -140,7 +138,6 @@ function makeReview(diff, { fail, ...options } = {}) { ); } - const { makeComments } = require("./makeComments"); const comments = makeComments(diff); if (comments.length === 0) { return Promise.resolve(); @@ -201,6 +198,3 @@ function makeReview(diff, { fail, ...options } = {}) { } }); } - -exports.getItemPath = getItemPath; -exports.makeReview = makeReview; diff --git a/src/GitHubClient.js b/src/GitHubClient.js index 866aa2d..571cdc1 100644 --- a/src/GitHubClient.js +++ b/src/GitHubClient.js @@ -5,8 +5,13 @@ // LICENSE file in the root directory of this source tree. // // @ts-check +import * as octokit_core from "@octokit/core"; +import { restEndpointMethods } from "@octokit/plugin-rest-endpoint-methods"; +import * as nodefs from "node:fs"; +import { c } from "./helpers.js"; +import { makeComments } from "./makeComments.js"; -/** @typedef {import("./index").Options} Options */ +/** @typedef {import("./index.js").Options} Options */ /** * Returns the pull request number of the current build. @@ -14,7 +19,7 @@ * @param {Options} options * @returns {number} */ -function getPullRequestNumber(eventPath, { fs = require("fs") }) { +function getPullRequestNumber(eventPath, { fs = nodefs }) { const e = JSON.parse(fs.readFileSync(eventPath, { encoding: "utf-8" })); return e.pull_request.number; } @@ -23,11 +28,8 @@ function getPullRequestNumber(eventPath, { fs = require("fs") }) { * Creates an Octokit instance. * @param {Options} options */ -function makeOctokit({ octokit, ...options }) { - const { Octokit } = octokit || require("@octokit/core"); - const { - restEndpointMethods, - } = require("@octokit/plugin-rest-endpoint-methods"); +function makeOctokit({ octokit = octokit_core, ...options }) { + const { Octokit } = octokit; const RestClient = Octokit.plugin(restEndpointMethods); return new RestClient(options); } @@ -38,8 +40,8 @@ function makeOctokit({ octokit, ...options }) { * GitHub type checks the payload sent to it and fails the request if there are * unknown fields. * - * @param {import("./makeComments").Comment} comment - * @returns {Omit} + * @param {import("./makeComments.js").Comment} comment + * @returns {Omit} */ // eslint-disable-next-line no-unused-vars function trimComment({ line_length, ...rest }) { @@ -52,7 +54,7 @@ function trimComment({ line_length, ...rest }) { * @param {Options} options * @returns {Promise} */ -function makeReview(diff, { fail, message, ...options } = {}) { +export function makeReview(diff, { fail, message, ...options } = {}) { const { GITHUB_EVENT_PATH, GITHUB_REPOSITORY, GITHUB_SHA, GITHUB_TOKEN } = process.env; if (!GITHUB_EVENT_PATH || !GITHUB_REPOSITORY || !GITHUB_TOKEN) { @@ -74,14 +76,11 @@ function makeReview(diff, { fail, message, ...options } = {}) { ); } - const { makeComments } = require("./makeComments"); const comments = makeComments(diff); if (comments.length === 0) { return Promise.resolve(); } - const { c } = require("./helpers"); - const [owner, repo] = GITHUB_REPOSITORY.split("/"); const pullRequestNumber = getPullRequestNumber(GITHUB_EVENT_PATH, options); const review = { @@ -143,5 +142,3 @@ function makeReview(diff, { fail, message, ...options } = {}) { }); }); } - -exports.makeReview = makeReview; diff --git a/src/helpers.js b/src/helpers.js index c873e9e..fd8fd7a 100644 --- a/src/helpers.js +++ b/src/helpers.js @@ -12,7 +12,7 @@ * @param {T} v * @return {T} */ -function c(v) { +export function c(v) { return v; } @@ -21,7 +21,7 @@ function c(v) { * @param {string[]} strings * @returns {string} */ -function concatStrings(...strings) { +export function concatStrings(...strings) { return strings.concat("").join("\n"); } @@ -30,7 +30,7 @@ function concatStrings(...strings) { * @param {string} p * @returns {string} */ -function trimQuotes(p) { +export function trimQuotes(p) { if ( (p.startsWith('"') && p.endsWith('"')) || (p.startsWith("'") && p.endsWith("'")) @@ -39,7 +39,3 @@ function trimQuotes(p) { } return p; } - -exports.c = c; -exports.concatStrings = concatStrings; -exports.trimQuotes = trimQuotes; diff --git a/src/index.js b/src/index.js index 562091e..f77925f 100644 --- a/src/index.js +++ b/src/index.js @@ -20,15 +20,15 @@ /** * Returns the appropriate client for the provided access token. */ -function getClient() { +async function getClient() { const { AZURE_PERSONAL_ACCESS_TOKEN, GITHUB_TOKEN } = process.env; if (AZURE_PERSONAL_ACCESS_TOKEN) { - return require("./AzureDevOpsClient"); + return import("./AzureDevOpsClient.js"); } if (GITHUB_TOKEN) { - return require("./GitHubClient"); + return import("./GitHubClient.js"); } throw new Error("No access token was set"); @@ -40,8 +40,8 @@ function getClient() { * @param {Options=} options * @returns {Promise} */ -async function suggest(diff, options = {}) { - const { makeReview } = getClient(); +export default async function suggest(diff, options = {}) { + const { makeReview } = await getClient(); try { await makeReview(diff, { ...options, @@ -53,5 +53,3 @@ async function suggest(diff, options = {}) { process.exit(1); } } - -module.exports = suggest; diff --git a/src/makeComments.js b/src/makeComments.js index 18c9533..d8843a6 100644 --- a/src/makeComments.js +++ b/src/makeComments.js @@ -5,6 +5,8 @@ // LICENSE file in the root directory of this source tree. // // @ts-check +import parseDiff from "parse-diff"; +import { trimQuotes } from "./helpers.js"; /** * @typedef {import("parse-diff").Change} Change @@ -59,7 +61,7 @@ function trimContext(changes) { * @param {Chunk} chunk * @returns {Comment} */ -function makeComment(file, { changes, oldStart, oldLines }) { +export function makeComment(file, { changes, oldStart, oldLines }) { const path = file.split("\\").join("/"); const [trimmedChanges, startContext, endContext] = trimContext(changes); @@ -160,13 +162,12 @@ function makeComment(file, { changes, oldStart, oldLines }) { * @param {string} diff * @returns {Comment[]} */ -function makeComments(diff) { - const files = require("parse-diff")(diff); +export function makeComments(diff) { + const files = parseDiff(diff); if (files.length <= 0) { return []; } - const { trimQuotes } = require("./helpers"); return files.reduce( /** @type {(comments: Comment[], file: File) => Comment[]} */ (comments, file) => { @@ -182,6 +183,3 @@ function makeComments(diff) { [] ); } - -exports.makeComment = makeComment; -exports.makeComments = makeComments; diff --git a/test/AzureDevOpsClient.test.mjs b/test/AzureDevOpsClient.test.js similarity index 97% rename from test/AzureDevOpsClient.test.mjs rename to test/AzureDevOpsClient.test.js index dd091ae..8d7305e 100644 --- a/test/AzureDevOpsClient.test.mjs +++ b/test/AzureDevOpsClient.test.js @@ -17,13 +17,13 @@ import { FIXTURE_UNIDIFF, FIXTURE_UNIDIFF_ADO_ITERATION_CHANGES, FIXTURE_UNIDIFF_ADO_PAYLOAD, -} from "./__fixtures__.mjs"; +} from "./__fixtures__.js"; /** - * @typedef {import("azure-devops-node-api/GitApi").GitApi} GitApi - * @typedef {import("azure-devops-node-api/interfaces/GitInterfaces").GitPullRequestCommentThread} GitPullRequestCommentThread - * @typedef {import("azure-devops-node-api/interfaces/common/VsoBaseInterfaces").IRequestHandler} IRequestHandler - * @typedef {import("azure-devops-node-api/interfaces/common/VsoBaseInterfaces").IRequestOptions} IRequestOptions + * @typedef {import("azure-devops-node-api/GitApi.js").GitApi} GitApi + * @typedef {import("azure-devops-node-api/interfaces/GitInterfaces.js").GitPullRequestCommentThread} GitPullRequestCommentThread + * @typedef {import("azure-devops-node-api/interfaces/common/VsoBaseInterfaces.js").IRequestHandler} IRequestHandler + * @typedef {import("azure-devops-node-api/interfaces/common/VsoBaseInterfaces.js").IRequestOptions} IRequestOptions * @typedef {Partial & { * setAuthToken: (handler: IRequestHandler) => void; * setServerUrl: (url: string) => void; @@ -91,7 +91,7 @@ class WebApi { /** * @param {{}} mocks - * @returns {import("../src/AzureDevOpsClient").RequestOptions} + * @returns {import("../src/AzureDevOpsClient.js").RequestOptions} */ function mock(mocks) { return { diff --git a/test/GitHubClient.test.mjs b/test/GitHubClient.test.js similarity index 98% rename from test/GitHubClient.test.mjs rename to test/GitHubClient.test.js index b02a994..96802d2 100644 --- a/test/GitHubClient.test.mjs +++ b/test/GitHubClient.test.js @@ -14,11 +14,11 @@ import { FIXTURE_PIPED, FIXTURE_UNIDIFF_GH_PAYLOAD, FIXTURE_UNIDIFF, -} from "./__fixtures__.mjs"; +} from "./__fixtures__.js"; import { makeReview } from "../src/GitHubClient.js"; /** - * @typedef {import("@octokit/core/dist-types/types").OctokitOptions} OctokitOptions + * @typedef {import("@octokit/core").OctokitOptions} OctokitOptions */ class Octokit { constructor( diff --git a/test/__fixtures__.mjs b/test/__fixtures__.js similarity index 100% rename from test/__fixtures__.mjs rename to test/__fixtures__.js diff --git a/test/makeComment.test.mjs b/test/makeComment.test.js similarity index 100% rename from test/makeComment.test.mjs rename to test/makeComment.test.js diff --git a/test/trimQuotes.test.mjs b/test/trimQuotes.test.js similarity index 100% rename from test/trimQuotes.test.mjs rename to test/trimQuotes.test.js diff --git a/tsconfig.json b/tsconfig.json index 37d018b..26ec9d9 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,27 +1,7 @@ { + "extends": "@rnx-kit/tsconfig/tsconfig.esm.json", "compilerOptions": { - "noFallthroughCasesInSwitch": true, - "noImplicitAny": true, - "noImplicitOverride": true, - "noImplicitReturns": true, - "noImplicitThis": true, - "noUnusedLocals": true, - "noUnusedParameters": true, - "strict": true, - "module": "CommonJS", - "moduleResolution": "Node", - "resolveJsonModule": true, - "declaration": true, - "emitDeclarationOnly": true, - "allowJs": true, - "checkJs": true, - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true, - "isolatedModules": true, - "target": "ES2019", - "pretty": true, - "skipLibCheck": true, - "skipDefaultLibCheck": true + "emitDeclarationOnly": true }, "include": ["src/*.js", "test/*.js"] } diff --git a/yarn.lock b/yarn.lock index 31bf0c8..1f150b1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -141,47 +141,46 @@ __metadata: languageName: node linkType: hard -"@octokit/auth-token@npm:^4.0.0": - version: 4.0.0 - resolution: "@octokit/auth-token@npm:4.0.0" - checksum: 10c0/57acaa6c394c5abab2f74e8e1dcf4e7a16b236f713c77a54b8f08e2d14114de94b37946259e33ec2aab0566b26f724c2b71d2602352b59e541a9854897618f3c +"@octokit/auth-token@npm:^5.0.0": + version: 5.0.1 + resolution: "@octokit/auth-token@npm:5.0.1" + checksum: 10c0/e0fbcbaaf694fb77a1b324f0416139ff8d052aa8aea962e3296887582f905eb14af154a8230a68f4a08dd0edb9c75ecad3a638f9de1e1779b983b5337f1c3f86 languageName: node linkType: hard -"@octokit/core@npm:^5.0, @octokit/core@npm:^5.0.0": - version: 5.1.0 - resolution: "@octokit/core@npm:5.1.0" +"@octokit/core@npm:^6.0, @octokit/core@npm:^6.0.0": + version: 6.0.1 + resolution: "@octokit/core@npm:6.0.1" dependencies: - "@octokit/auth-token": "npm:^4.0.0" - "@octokit/graphql": "npm:^7.0.0" - "@octokit/request": "npm:^8.0.2" - "@octokit/request-error": "npm:^5.0.0" + "@octokit/auth-token": "npm:^5.0.0" + "@octokit/graphql": "npm:^8.0.0" + "@octokit/request": "npm:^9.0.0" + "@octokit/request-error": "npm:^6.0.1" "@octokit/types": "npm:^12.0.0" - before-after-hook: "npm:^2.2.0" - universal-user-agent: "npm:^6.0.0" - checksum: 10c0/a1d2882373b4a33cd9f6e56d76bcc82e5589a477829fc3491b1ef471a8a83fa437b339a2c76d97d9e8ea4ca12bf3ebf32e66119ba16977e542d98f1f5dd3c994 + before-after-hook: "npm:^3.0.2" + universal-user-agent: "npm:^7.0.0" + checksum: 10c0/0f17dc5a0814b79275ffd199b6946540bfdd5a2af2c07d0150e7ca97d53b094cb4a1781480c70fab9fb8cf52dc2680a0a041eb7b87b737fa13c527d4e645907f languageName: node linkType: hard -"@octokit/endpoint@npm:^9.0.0": - version: 9.0.1 - resolution: "@octokit/endpoint@npm:9.0.1" +"@octokit/endpoint@npm:^10.0.0": + version: 10.0.0 + resolution: "@octokit/endpoint@npm:10.0.0" dependencies: "@octokit/types": "npm:^12.0.0" - is-plain-object: "npm:^5.0.0" - universal-user-agent: "npm:^6.0.0" - checksum: 10c0/757505b1cd634bcd7b71a18c8fe07dfda47790598ddd0d9d13f47d68713070f49953a672ac40ec39787defc2a7e07d08dca97756def7b907118f8f8d4c653f5c + universal-user-agent: "npm:^7.0.2" + checksum: 10c0/acb7b718f3a661978c80cf9c976b9a75a30112ea72c81b3ccbc4b1930cb6aa7c3f4f5fd3451a530da385109e9a0a452a752f28cc67170f46c9b7d049178e28da languageName: node linkType: hard -"@octokit/graphql@npm:^7.0.0": - version: 7.0.2 - resolution: "@octokit/graphql@npm:7.0.2" +"@octokit/graphql@npm:^8.0.0": + version: 8.0.1 + resolution: "@octokit/graphql@npm:8.0.1" dependencies: - "@octokit/request": "npm:^8.0.1" + "@octokit/request": "npm:^9.0.0" "@octokit/types": "npm:^12.0.0" - universal-user-agent: "npm:^6.0.0" - checksum: 10c0/96e5d6b970be60877134cc147b9249534f3a79d691b9932d731d453426fa1e1a0a36111a1b0a6ab43d61309c630903a65db5559b5c800300dc26cf588f50fea8 + universal-user-agent: "npm:^7.0.0" + checksum: 10c0/1f4f8741d6d006de1175bf75d9b704f576d1575146ccbf4985f9b445932aa488507fdea876ea2a4674eb358fe464fd51bf537eed873d7e0846c78945e42bd98e languageName: node linkType: hard @@ -192,74 +191,71 @@ __metadata: languageName: node linkType: hard -"@octokit/plugin-paginate-rest@npm:^9.0.0": - version: 9.0.0 - resolution: "@octokit/plugin-paginate-rest@npm:9.0.0" +"@octokit/plugin-paginate-rest@npm:^10.0.0": + version: 10.0.0 + resolution: "@octokit/plugin-paginate-rest@npm:10.0.0" dependencies: - "@octokit/types": "npm:^12.0.0" + "@octokit/types": "npm:^12.6.0" peerDependencies: - "@octokit/core": ">=5" - checksum: 10c0/050861368f71a4ad337c2f242c3878e8ad95331e2ed549732fca916ee4a67ef18477bedd78afb32b2d4229b80083097551671b14c51bd2b2b85c7f101b6ba02d + "@octokit/core": ">=6" + checksum: 10c0/bdae24aca95edbfa8db4524aef4fd1bfd4ff9b1a4d788bce4674435e788715041c094c72c37039320b1cc06533c0bd562af5ab6293c4192505085eace855eff8 languageName: node linkType: hard -"@octokit/plugin-rest-endpoint-methods@npm:^10.0": - version: 10.4.1 - resolution: "@octokit/plugin-rest-endpoint-methods@npm:10.4.1" +"@octokit/plugin-rest-endpoint-methods@npm:^11.0": + version: 11.0.1 + resolution: "@octokit/plugin-rest-endpoint-methods@npm:11.0.1" dependencies: "@octokit/types": "npm:^12.6.0" peerDependencies: - "@octokit/core": 5 - checksum: 10c0/4b8f64c0f7fa12464546ad312a5289c2a799967e01e90e2c4923ec6e9604cf212dcb50d9795c9a688867f973c9c529c5950368564c560406c652bcd298f090af + "@octokit/core": ">=6" + checksum: 10c0/148376dc0c6e3556ad08eef75b3e4a009cfd65bd7dc89473eca9f16ca2235f890ee5403aaf6bfb4204df3b807740995629ae29b55ac8812790659b24935a589d languageName: node linkType: hard -"@octokit/plugin-retry@npm:^6.0.0": - version: 6.0.1 - resolution: "@octokit/plugin-retry@npm:6.0.1" +"@octokit/plugin-retry@npm:^7.0.0": + version: 7.0.3 + resolution: "@octokit/plugin-retry@npm:7.0.3" dependencies: - "@octokit/request-error": "npm:^5.0.0" + "@octokit/request-error": "npm:^6.0.0" "@octokit/types": "npm:^12.0.0" bottleneck: "npm:^2.15.3" peerDependencies: - "@octokit/core": ">=5" - checksum: 10c0/721b5a7949e3defdec5f1b451850ab924162fd2712c9ab59a2aaaad5b9ed6ee2a9447fe82ec1f91086cf23aaaceb14ff4e74de67ba3c63c5029e59c67b50979c + "@octokit/core": ">=6" + checksum: 10c0/ac4cfa6a3ae1cc7e889db23c0fcd72ff104a8f8c1172baff2e04ddaf2f0b3a41d91d7c818f3bba29d938f5a84a44eae6ec4c5a37a0411f230dd234d03664e738 languageName: node linkType: hard -"@octokit/plugin-throttling@npm:^8.0.0": - version: 8.0.0 - resolution: "@octokit/plugin-throttling@npm:8.0.0" +"@octokit/plugin-throttling@npm:^9.0.0": + version: 9.0.3 + resolution: "@octokit/plugin-throttling@npm:9.0.3" dependencies: - "@octokit/types": "npm:^12.0.0" + "@octokit/types": "npm:^12.6.0" bottleneck: "npm:^2.15.3" peerDependencies: - "@octokit/core": ^5.0.0 - checksum: 10c0/528c99b56369389b5da6d8245b177f0ec540b927399a2ca1e568f37fd62a245b3afcc237475cd4b2d7e56c4783fcae49a93266ac24e7bf65b48d4dbd50e12cdb + "@octokit/core": ^6.0.0 + checksum: 10c0/6abf6f719eaf59daa24f3f354a352b9157492d026c761efe178eb50ebf5e12b43333db6f7e64a8d7edc594d30c6e2ccb1c4d05e138f8a5a7b577c5557bfcf38c languageName: node linkType: hard -"@octokit/request-error@npm:^5.0.0": - version: 5.0.1 - resolution: "@octokit/request-error@npm:5.0.1" +"@octokit/request-error@npm:^6.0.0, @octokit/request-error@npm:^6.0.1": + version: 6.0.2 + resolution: "@octokit/request-error@npm:6.0.2" dependencies: "@octokit/types": "npm:^12.0.0" - deprecation: "npm:^2.0.0" - once: "npm:^1.4.0" - checksum: 10c0/e72a4627120de345b54876a1f007664095e5be9d624fce2e14fccf7668cd8f5e4929d444d8fc085d48e1fb5cd548538453974aab129a669101110d6679dce6c6 + checksum: 10c0/76c602a8fc3ec045d41c4d41c7854f48c20418c655ce1c3246fef38c94919f2965cc46aaa035073bf11eb4ad28350aded6aa4c0a7daa7223ac1d8f6f0fa039f6 languageName: node linkType: hard -"@octokit/request@npm:^8.0.1, @octokit/request@npm:^8.0.2": - version: 8.1.4 - resolution: "@octokit/request@npm:8.1.4" +"@octokit/request@npm:^9.0.0": + version: 9.0.1 + resolution: "@octokit/request@npm:9.0.1" dependencies: - "@octokit/endpoint": "npm:^9.0.0" - "@octokit/request-error": "npm:^5.0.0" + "@octokit/endpoint": "npm:^10.0.0" + "@octokit/request-error": "npm:^6.0.1" "@octokit/types": "npm:^12.0.0" - is-plain-object: "npm:^5.0.0" - universal-user-agent: "npm:^6.0.0" - checksum: 10c0/384f06404136b4136940e454333bcfbbbec61efee6ecc2fcec2b38c13b34c7ab3868013b5a51cbe45ccfbac46a57b30c827024ecc6a88636f39aa38feca52339 + universal-user-agent: "npm:^7.0.2" + checksum: 10c0/5c31e316ac495bfa61f66b17e38533d4167b13add527733ffa9d103ea640d1dc121af2e113de84b93d16662b9faca41df04dab97b32e76cb8d51bbbe1ab205b2 languageName: node linkType: hard @@ -299,20 +295,27 @@ __metadata: languageName: node linkType: hard -"@semantic-release/commit-analyzer@npm:^11.0.0": - version: 11.0.0 - resolution: "@semantic-release/commit-analyzer@npm:11.0.0" +"@rnx-kit/tsconfig@npm:^1.0": + version: 1.0.0 + resolution: "@rnx-kit/tsconfig@npm:1.0.0" + checksum: 10c0/1c1c911dfae07c57d70fe272bd9d1c988a0f12be17e68a90d7cf75c8cd2c3f9dd59d568d4be78c1b3ff8e829ea17f0b261b21656e70062202f5a5d8d10aa1ebe + languageName: node + linkType: hard + +"@semantic-release/commit-analyzer@npm:^12.0.0": + version: 12.0.0 + resolution: "@semantic-release/commit-analyzer@npm:12.0.0" dependencies: conventional-changelog-angular: "npm:^7.0.0" conventional-commits-filter: "npm:^4.0.0" conventional-commits-parser: "npm:^5.0.0" debug: "npm:^4.0.0" - import-from: "npm:^4.0.0" + import-from-esm: "npm:^1.0.3" lodash-es: "npm:^4.17.21" micromatch: "npm:^4.0.2" peerDependencies: semantic-release: ">=20.1.0" - checksum: 10c0/d802a825005c1dbb2e7e01f7dd3ecb88e3631e9018043096b7579a0dc78f7337e0bb84e351efc9a9181a0067649c1025bff6060acef475430f4e3d4a7d4264ee + checksum: 10c0/d9f76fd64ec679bdbb12b0a10d2493567403067d7fc9271571486f8edd53896b298eec2241a1a4427356309d9dea7e45097c8f1772177e38ebf671ff4fbe09a0 languageName: node linkType: hard @@ -323,35 +326,35 @@ __metadata: languageName: node linkType: hard -"@semantic-release/github@npm:^9.0.0": - version: 9.2.1 - resolution: "@semantic-release/github@npm:9.2.1" +"@semantic-release/github@npm:^10.0.0": + version: 10.0.2 + resolution: "@semantic-release/github@npm:10.0.2" dependencies: - "@octokit/core": "npm:^5.0.0" - "@octokit/plugin-paginate-rest": "npm:^9.0.0" - "@octokit/plugin-retry": "npm:^6.0.0" - "@octokit/plugin-throttling": "npm:^8.0.0" + "@octokit/core": "npm:^6.0.0" + "@octokit/plugin-paginate-rest": "npm:^10.0.0" + "@octokit/plugin-retry": "npm:^7.0.0" + "@octokit/plugin-throttling": "npm:^9.0.0" "@semantic-release/error": "npm:^4.0.0" aggregate-error: "npm:^5.0.0" debug: "npm:^4.3.4" dir-glob: "npm:^3.0.1" - globby: "npm:^13.1.4" + globby: "npm:^14.0.0" http-proxy-agent: "npm:^7.0.0" https-proxy-agent: "npm:^7.0.0" - issue-parser: "npm:^6.0.0" + issue-parser: "npm:^7.0.0" lodash-es: "npm:^4.17.21" - mime: "npm:^3.0.0" - p-filter: "npm:^3.0.0" + mime: "npm:^4.0.0" + p-filter: "npm:^4.0.0" url-join: "npm:^5.0.0" peerDependencies: semantic-release: ">=20.1.0" - checksum: 10c0/f4b7e48284e920e56fbf11214a6e0722f284605610223abdc0be96b958dd8e5752121b4524e84b751c4fb4bbd9e9092c19adddb4a7d8fac0aa2591f3322e67ad + checksum: 10c0/103fc3656fc523526c0f3dfb268cf859848c379c21645a49a1626f03b9618fba2f6767b20fc4f8e21c57cda5e0788dd599d85cfea087c463d6bb5c529d0f8df6 languageName: node linkType: hard -"@semantic-release/npm@npm:^11.0.0": - version: 11.0.0 - resolution: "@semantic-release/npm@npm:11.0.0" +"@semantic-release/npm@npm:^12.0.0": + version: 12.0.0 + resolution: "@semantic-release/npm@npm:12.0.0" dependencies: "@semantic-release/error": "npm:^4.0.0" aggregate-error: "npm:^5.0.0" @@ -360,15 +363,15 @@ __metadata: lodash-es: "npm:^4.17.21" nerf-dart: "npm:^1.0.0" normalize-url: "npm:^8.0.0" - npm: "npm:^10.0.0" + npm: "npm:^10.5.0" rc: "npm:^1.2.8" - read-pkg: "npm:^8.0.0" + read-pkg: "npm:^9.0.0" registry-auth-token: "npm:^5.0.0" semver: "npm:^7.1.2" tempy: "npm:^3.0.0" peerDependencies: semantic-release: ">=20.1.0" - checksum: 10c0/6e4b391aa17b6612935488f207aae79d5f6e896762065b0c55f517a87f1f0a0aded421a4e31e46eaca4a4c2aae37641acad142aac25121d53e454b758a6bb040 + checksum: 10c0/857972de2e9d5292c7d8434f073be125f34c5d355fe7a7f8fbde39c953fbe3b30ded6e1361512c31de3bc4378cb9529ce61eaa60bf9afcab00bd682b5d43c5ff languageName: node linkType: hard @@ -399,6 +402,13 @@ __metadata: languageName: node linkType: hard +"@sindresorhus/merge-streams@npm:^2.1.0": + version: 2.3.0 + resolution: "@sindresorhus/merge-streams@npm:2.3.0" + checksum: 10c0/69ee906f3125fb2c6bb6ec5cdd84e8827d93b49b3892bce8b62267116cc7e197b5cccf20c160a1d32c26014ecd14470a72a5e3ee37a58f1d6dadc0db1ccf3894 + languageName: node + linkType: hard + "@tootallnate/once@npm:1": version: 1.1.2 resolution: "@tootallnate/once@npm:1.1.2" @@ -406,7 +416,7 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^20.0.0": +"@types/node@npm:^20.0": version: 20.11.28 resolution: "@types/node@npm:20.11.28" dependencies: @@ -477,16 +487,6 @@ __metadata: languageName: node linkType: hard -"aggregate-error@npm:^4.0.0": - version: 4.0.1 - resolution: "aggregate-error@npm:4.0.1" - dependencies: - clean-stack: "npm:^4.0.0" - indent-string: "npm:^5.0.0" - checksum: 10c0/75fd739f5c4c60a667cce35ccaf0edf135e147ef0be9a029cab75de14ac9421779b15339d562e58d25b233ea0ef2bbd4c916f149fdbcb73c2b9a62209e611343 - languageName: node - linkType: hard - "aggregate-error@npm:^5.0.0": version: 5.0.0 resolution: "aggregate-error@npm:5.0.0" @@ -543,10 +543,10 @@ __metadata: languageName: node linkType: hard -"ansicolors@npm:~0.3.2": - version: 0.3.2 - resolution: "ansicolors@npm:0.3.2" - checksum: 10c0/e202182895e959c5357db6c60791b2abaade99fcc02221da11a581b26a7f83dc084392bc74e4d3875c22f37b3c9ef48842e896e3bfed394ec278194b8003e0ac +"any-promise@npm:^1.0.0": + version: 1.3.0 + resolution: "any-promise@npm:1.3.0" + checksum: 10c0/60f0298ed34c74fef50daab88e8dab786036ed5a7fad02e012ab57e376e0a0b4b29e83b95ea9b5e7d89df762f5f25119b83e00706ecaccb22cfbacee98d74889 languageName: node linkType: hard @@ -588,12 +588,12 @@ __metadata: linkType: hard "azure-devops-node-api@npm:^12.0": - version: 12.4.0 - resolution: "azure-devops-node-api@npm:12.4.0" + version: 12.5.0 + resolution: "azure-devops-node-api@npm:12.5.0" dependencies: tunnel: "npm:0.0.6" typed-rest-client: "npm:^1.8.4" - checksum: 10c0/f1a1964aa2d421574d83a545d5eb01d1d5f5b0e4518d71dfa61908f4a10237b820cc1824dfa15c941adacf3eaaa7987e4b8b176e336eadb35a17b0457257a467 + checksum: 10c0/c0b9ce30456d90056aefac88239770def2430a22d37c1518a036d170612fda647cc7da17d5dca35b9632a5e486b6acb3593f8cd40d574bbebac317a2b9031159 languageName: node linkType: hard @@ -604,10 +604,10 @@ __metadata: languageName: node linkType: hard -"before-after-hook@npm:^2.2.0": - version: 2.2.2 - resolution: "before-after-hook@npm:2.2.2" - checksum: 10c0/7457bfb8f40e8cbce943ea6e6531261925c6c8a451fea540762367a3e2e52b5979978963a7ec65f232a4f5b87310930bf152c9a055608c64ecee5115bad60b9a +"before-after-hook@npm:^3.0.2": + version: 3.0.2 + resolution: "before-after-hook@npm:3.0.2" + checksum: 10c0/dea640f9e88a1085372c9bcc974b7bf379267490693da92ec102a7d8b515dd1e95f00ef575a146b83ca638104c57406c3427d37bdf082f602dde4b56d05bba14 languageName: node linkType: hard @@ -654,18 +654,6 @@ __metadata: languageName: node linkType: hard -"cardinal@npm:^2.1.1": - version: 2.1.1 - resolution: "cardinal@npm:2.1.1" - dependencies: - ansicolors: "npm:~0.3.2" - redeyed: "npm:~2.1.0" - bin: - cdl: ./bin/cdl.js - checksum: 10c0/0051d0e64c0e1dff480c1aace4c018c48ecca44030533257af3f023107ccdeb061925603af6d73710f0345b0ae0eb57e5241d181d9b5fdb595d45c5418161675 - languageName: node - linkType: hard - "chalk@npm:^2.3.2, chalk@npm:^2.4.2": version: 2.4.2 resolution: "chalk@npm:2.4.2" @@ -701,15 +689,6 @@ __metadata: languageName: node linkType: hard -"clean-stack@npm:^4.0.0": - version: 4.2.0 - resolution: "clean-stack@npm:4.2.0" - dependencies: - escape-string-regexp: "npm:5.0.0" - checksum: 10c0/2bdf981a0fef0a23c14255df693b30eb9ae27eedf212470d8c400a0c0b6fb82fbf1ff8c5216ccd5721e3670b700389c886b1dce5070776dc9fbcc040957758c0 - languageName: node - linkType: hard - "clean-stack@npm:^5.2.0": version: 5.2.0 resolution: "clean-stack@npm:5.2.0" @@ -719,6 +698,22 @@ __metadata: languageName: node linkType: hard +"cli-highlight@npm:^2.1.11": + version: 2.1.11 + resolution: "cli-highlight@npm:2.1.11" + dependencies: + chalk: "npm:^4.0.0" + highlight.js: "npm:^10.7.1" + mz: "npm:^2.4.0" + parse5: "npm:^5.1.1" + parse5-htmlparser2-tree-adapter: "npm:^6.0.0" + yargs: "npm:^16.0.0" + bin: + highlight: bin/highlight + checksum: 10c0/b5b4af3b968aa9df77eee449a400fbb659cf47c4b03a395370bd98d5554a00afaa5819b41a9a8a1ca0d37b0b896a94e57c65289b37359a25b700b1f56eb04852 + languageName: node + linkType: hard + "cli-table3@npm:^0.6.3": version: 0.6.3 resolution: "cli-table3@npm:0.6.3" @@ -732,6 +727,17 @@ __metadata: languageName: node linkType: hard +"cliui@npm:^7.0.2": + version: 7.0.4 + resolution: "cliui@npm:7.0.4" + dependencies: + string-width: "npm:^4.2.0" + strip-ansi: "npm:^6.0.0" + wrap-ansi: "npm:^7.0.0" + checksum: 10c0/6035f5daf7383470cef82b3d3db00bec70afb3423538c50394386ffbbab135e26c3689c41791f911fa71b62d13d3863c712fdd70f0fbdffd938a1e6fd09aac00 + languageName: node + linkType: hard + "cliui@npm:^8.0.1": version: 8.0.1 resolution: "cliui@npm:8.0.1" @@ -933,13 +939,6 @@ __metadata: languageName: node linkType: hard -"deprecation@npm:^2.0.0": - version: 2.3.1 - resolution: "deprecation@npm:2.3.1" - checksum: 10c0/23d688ba66b74d09b908c40a76179418acbeeb0bfdf218c8075c58ad8d0c315130cb91aa3dffb623aa3a411a3569ce56c6460de6c8d69071c17fe6dd2442f032 - languageName: node - linkType: hard - "dir-glob@npm:^3.0.1": version: 3.0.1 resolution: "dir-glob@npm:3.0.1" @@ -1120,7 +1119,7 @@ __metadata: languageName: node linkType: hard -"esprima@npm:^4.0.0, esprima@npm:~4.0.0": +"esprima@npm:^4.0.0": version: 4.0.1 resolution: "esprima@npm:4.0.1" bin: @@ -1186,16 +1185,16 @@ __metadata: languageName: node linkType: hard -"fast-glob@npm:^3.3.0": - version: 3.3.1 - resolution: "fast-glob@npm:3.3.1" +"fast-glob@npm:^3.3.2": + version: 3.3.2 + resolution: "fast-glob@npm:3.3.2" dependencies: "@nodelib/fs.stat": "npm:^2.0.2" "@nodelib/fs.walk": "npm:^1.2.3" glob-parent: "npm:^5.1.2" merge2: "npm:^1.3.0" micromatch: "npm:^4.0.4" - checksum: 10c0/b68431128fb6ce4b804c5f9622628426d990b66c75b21c0d16e3d80e2d1398bf33f7e1724e66a2e3f299285dcf5b8d745b122d0304e7dd66f5231081f33ec67c + checksum: 10c0/42baad7b9cd40b63e42039132bde27ca2cb3a4950d0a0f9abe4639ea1aa9d3e3b40f98b1fe31cbc0cc17b664c9ea7447d911a152fa34ec5b72977b125a6fc845 languageName: node linkType: hard @@ -1449,16 +1448,17 @@ __metadata: languageName: node linkType: hard -"globby@npm:^13.1.4": - version: 13.2.2 - resolution: "globby@npm:13.2.2" +"globby@npm:^14.0.0": + version: 14.0.1 + resolution: "globby@npm:14.0.1" dependencies: - dir-glob: "npm:^3.0.1" - fast-glob: "npm:^3.3.0" + "@sindresorhus/merge-streams": "npm:^2.1.0" + fast-glob: "npm:^3.3.2" ignore: "npm:^5.2.4" - merge2: "npm:^1.4.1" - slash: "npm:^4.0.0" - checksum: 10c0/a8d7cc7cbe5e1b2d0f81d467bbc5bc2eac35f74eaded3a6c85fc26d7acc8e6de22d396159db8a2fc340b8a342e74cac58de8f4aee74146d3d146921a76062664 + path-type: "npm:^5.0.0" + slash: "npm:^5.1.0" + unicorn-magic: "npm:^0.1.0" + checksum: 10c0/749a6be91cf455c161ebb5c9130df3991cb9fd7568425db850a8279a6cf45acd031c5069395beb7aeb4dd606b64f0d6ff8116c93726178d8e6182fee58c2736d languageName: node linkType: hard @@ -1531,6 +1531,13 @@ __metadata: languageName: node linkType: hard +"highlight.js@npm:^10.7.1": + version: 10.7.3 + resolution: "highlight.js@npm:10.7.3" + checksum: 10c0/073837eaf816922427a9005c56c42ad8786473dc042332dfe7901aa065e92bc3d94ebf704975257526482066abb2c8677cc0326559bb8621e046c21c5991c434 + languageName: node + linkType: hard + "hook-std@npm:^3.0.0": version: 3.0.0 resolution: "hook-std@npm:3.0.0" @@ -1621,7 +1628,7 @@ __metadata: languageName: node linkType: hard -"import-from-esm@npm:^1.3.1": +"import-from-esm@npm:^1.0.3, import-from-esm@npm:^1.3.1": version: 1.3.3 resolution: "import-from-esm@npm:1.3.3" dependencies: @@ -1760,13 +1767,6 @@ __metadata: languageName: node linkType: hard -"is-plain-object@npm:^5.0.0": - version: 5.0.0 - resolution: "is-plain-object@npm:5.0.0" - checksum: 10c0/893e42bad832aae3511c71fd61c0bf61aa3a6d853061c62a307261842727d0d25f761ce9379f7ba7226d6179db2a3157efa918e7fe26360f3bf0842d9f28942c - languageName: node - linkType: hard - "is-stream@npm:^3.0.0": version: 3.0.0 resolution: "is-stream@npm:3.0.0" @@ -1804,16 +1804,16 @@ __metadata: languageName: node linkType: hard -"issue-parser@npm:^6.0.0": - version: 6.0.0 - resolution: "issue-parser@npm:6.0.0" +"issue-parser@npm:^7.0.0": + version: 7.0.0 + resolution: "issue-parser@npm:7.0.0" dependencies: lodash.capitalize: "npm:^4.2.1" lodash.escaperegexp: "npm:^4.1.2" lodash.isplainobject: "npm:^4.0.6" lodash.isstring: "npm:^4.0.1" lodash.uniqby: "npm:^4.7.0" - checksum: 10c0/3bfc48ca5c380061ba3db9bfb0c2a86692c74245a386d8add5eb7cd60022c85f44277692d78914ff0d37cf0da7d1743149516d00175233949c85c056d12e3b49 + checksum: 10c0/b234d6045871557f1a4adbd7e62aae568179d0fac5d619d30e8c1e0ba5fcd2d273a394d668a7a95dbcded1e5e57d2c4dc24772220bf05d8fe313f5455ab91a63 languageName: node linkType: hard @@ -2045,28 +2045,28 @@ __metadata: languageName: node linkType: hard -"marked-terminal@npm:^6.0.0": - version: 6.2.0 - resolution: "marked-terminal@npm:6.2.0" +"marked-terminal@npm:^7.0.0": + version: 7.0.0 + resolution: "marked-terminal@npm:7.0.0" dependencies: ansi-escapes: "npm:^6.2.0" - cardinal: "npm:^2.1.1" chalk: "npm:^5.3.0" + cli-highlight: "npm:^2.1.11" cli-table3: "npm:^0.6.3" node-emoji: "npm:^2.1.3" supports-hyperlinks: "npm:^3.0.0" peerDependencies: - marked: ">=1 <12" - checksum: 10c0/72d4093cbb1ee864ced1f88fdb6fb8dbfea56d6aa3d8a1ec401ac51866ff3c32382c3f4642b19f2d808c798efde23b10300b99e3b6475b3f79e41e7741581d54 + marked: ">=1 <13" + checksum: 10c0/1d2410dca9e0cd29958ba1dd3fefc9cdff762617d01e10f1600cf443ee7862583643bbb675b3022d076c1a75b79a2c7b777290d10b44a7543798d40d3678c504 languageName: node linkType: hard -"marked@npm:^11.0.0": - version: 11.2.0 - resolution: "marked@npm:11.2.0" +"marked@npm:^12.0.0": + version: 12.0.1 + resolution: "marked@npm:12.0.1" bin: marked: bin/marked.js - checksum: 10c0/4713cceabdcd0b4de9a156d601a55ae7e9091cd89ba75d8283042ddbbedb7cd765e02445a80be01131aa24a79003346fc650d66bf4423f7aa186dcc46b403849 + checksum: 10c0/e5c2a4da12dc59351e3e8acd0ca36c11a49f9a538bd0c3bda2dc3c71868f168dd678907184308e6f458eafad0c14146d01841b0644b6ccfcab920c73b814f8d8 languageName: node linkType: hard @@ -2084,7 +2084,7 @@ __metadata: languageName: node linkType: hard -"merge2@npm:^1.3.0, merge2@npm:^1.4.1": +"merge2@npm:^1.3.0": version: 1.4.1 resolution: "merge2@npm:1.4.1" checksum: 10c0/254a8a4605b58f450308fc474c82ac9a094848081bf4c06778200207820e5193726dc563a0d2c16468810516a5c97d9d3ea0ca6585d23c58ccfff2403e8dbbeb @@ -2101,12 +2101,12 @@ __metadata: languageName: node linkType: hard -"mime@npm:^3.0.0": - version: 3.0.0 - resolution: "mime@npm:3.0.0" +"mime@npm:^4.0.0": + version: 4.0.1 + resolution: "mime@npm:4.0.1" bin: - mime: cli.js - checksum: 10c0/402e792a8df1b2cc41cb77f0dcc46472b7944b7ec29cb5bbcd398624b6b97096728f1239766d3fdeb20551dd8d94738344c195a6ea10c4f906eb0356323b0531 + mime: bin/cli.js + checksum: 10c0/8b89fb8d93dca1ce068d072c09faa8e04e85fb1e763197cbf8adaba0aa05eb795197cca332309f724cc2239d99c9c127eccb777d97efddb11aa9e9bcb9538818 languageName: node linkType: hard @@ -2140,6 +2140,17 @@ __metadata: languageName: node linkType: hard +"mz@npm:^2.4.0": + version: 2.7.0 + resolution: "mz@npm:2.7.0" + dependencies: + any-promise: "npm:^1.0.0" + object-assign: "npm:^4.0.1" + thenify-all: "npm:^1.0.0" + checksum: 10c0/103114e93f87362f0b56ab5b2e7245051ad0276b646e3902c98397d18bb8f4a77f2ea4a2c9d3ad516034ea3a56553b60d3f5f78220001ca4c404bd711bd0af39 + languageName: node + linkType: hard + "natural-compare@npm:^1.4.0": version: 1.4.0 resolution: "natural-compare@npm:1.4.0" @@ -2221,6 +2232,13 @@ __metadata: languageName: node linkType: soft +"object-assign@npm:^4.0.1": + version: 4.1.1 + resolution: "object-assign@npm:4.1.1" + checksum: 10c0/1f4df9945120325d041ccf7b86f31e8bcc14e73d29171e37a7903050e96b81323784ec59f93f102ec635bcf6fa8034ba3ea0a8c7e69fa202b87ae3b6cec5a414 + languageName: node + linkType: hard + "object-inspect@npm:^1.9.0": version: 1.11.0 resolution: "object-inspect@npm:1.11.0" @@ -2228,7 +2246,7 @@ __metadata: languageName: node linkType: hard -"once@npm:^1.3.0, once@npm:^1.4.0": +"once@npm:^1.3.0": version: 1.4.0 resolution: "once@npm:1.4.0" dependencies: @@ -2267,12 +2285,12 @@ __metadata: languageName: node linkType: hard -"p-filter@npm:^3.0.0": - version: 3.0.0 - resolution: "p-filter@npm:3.0.0" +"p-filter@npm:^4.0.0": + version: 4.1.0 + resolution: "p-filter@npm:4.1.0" dependencies: - p-map: "npm:^5.1.0" - checksum: 10c0/32e375fa6b3afd8b5eb65915746b75a471a3bedf38264dc9d738d6b1b8a0b2797b06b363f637b3387e766e0c7c6fab316cb1119e353baf7936da3ba6d8a4ac8d + p-map: "npm:^7.0.1" + checksum: 10c0/aaa663a74e7d97846377f1b7f7713692f95ca3320f0e6f7f2f06db073926bd8ef7b452d0eefc102c6c23f7482339fc52ea487aec2071dc01cae054665f3f004e languageName: node linkType: hard @@ -2337,12 +2355,10 @@ __metadata: languageName: node linkType: hard -"p-map@npm:^5.1.0": - version: 5.5.0 - resolution: "p-map@npm:5.5.0" - dependencies: - aggregate-error: "npm:^4.0.0" - checksum: 10c0/410bce846b1e3db6bb2ccab6248372ecf4e635fc2b31331c8f56478e73fec9e146e8b4547585e635703160a3d252a6a65b8f855834aebc2c3408eb5789630cc4 +"p-map@npm:^7.0.1": + version: 7.0.1 + resolution: "p-map@npm:7.0.1" + checksum: 10c0/c8ffa481d52e38a8d3e48c0628a63afd1fe8510d8d3feb0f0693351a52338c750e105bf74ff171dd7e6aed1ad26c2dd03aa1f8cfd86552cb5cbbc5054d311d74 languageName: node linkType: hard @@ -2423,6 +2439,29 @@ __metadata: languageName: node linkType: hard +"parse5-htmlparser2-tree-adapter@npm:^6.0.0": + version: 6.0.1 + resolution: "parse5-htmlparser2-tree-adapter@npm:6.0.1" + dependencies: + parse5: "npm:^6.0.1" + checksum: 10c0/dfa5960e2aaf125707e19a4b1bc333de49232eba5a6ffffb95d313a7d6087c3b7a274b58bee8d3bd41bdf150638815d1d601a42bbf2a0345208c3c35b1279556 + languageName: node + linkType: hard + +"parse5@npm:^5.1.1": + version: 5.1.1 + resolution: "parse5@npm:5.1.1" + checksum: 10c0/b0f87a77a7fea5f242e3d76917c983bbea47703b9371801d51536b78942db6441cbda174bf84eb30e47315ddc6f8a0b57d68e562c790154430270acd76c1fa03 + languageName: node + linkType: hard + +"parse5@npm:^6.0.1": + version: 6.0.1 + resolution: "parse5@npm:6.0.1" + checksum: 10c0/595821edc094ecbcfb9ddcb46a3e1fe3a718540f8320eff08b8cf6742a5114cce2d46d45f95c26191c11b184dcaf4e2960abcd9c5ed9eb9393ac9a37efcfdecb + languageName: node + linkType: hard + "path-exists@npm:^3.0.0": version: 3.0.0 resolution: "path-exists@npm:3.0.0" @@ -2472,6 +2511,13 @@ __metadata: languageName: node linkType: hard +"path-type@npm:^5.0.0": + version: 5.0.0 + resolution: "path-type@npm:5.0.0" + checksum: 10c0/e8f4b15111bf483900c75609e5e74e3fcb79f2ddb73e41470028fcd3e4b5162ec65da9907be077ee5012c18801ff7fffb35f9f37a077f3f81d85a0b7d6578efd + languageName: node + linkType: hard + "picomatch@npm:^2.2.3": version: 2.3.0 resolution: "picomatch@npm:2.3.0" @@ -2585,7 +2631,7 @@ __metadata: languageName: node linkType: hard -"read-pkg@npm:^8.0.0, read-pkg@npm:^8.1.0": +"read-pkg@npm:^8.1.0": version: 8.1.0 resolution: "read-pkg@npm:8.1.0" dependencies: @@ -2624,15 +2670,6 @@ __metadata: languageName: node linkType: hard -"redeyed@npm:~2.1.0": - version: 2.1.1 - resolution: "redeyed@npm:2.1.1" - dependencies: - esprima: "npm:~4.0.0" - checksum: 10c0/350f5e39aebab3886713a170235c38155ee64a74f0f7e629ecc0144ba33905efea30c2c3befe1fcbf0b0366e344e7bfa34e6b2502b423c9a467d32f1306ef166 - languageName: node - linkType: hard - "registry-auth-token@npm:^5.0.0": version: 5.0.2 resolution: "registry-auth-token@npm:5.0.2" @@ -2697,14 +2734,14 @@ __metadata: languageName: node linkType: hard -"semantic-release@npm:23.0.0": - version: 23.0.0 - resolution: "semantic-release@npm:23.0.0" +"semantic-release@npm:^23.0": + version: 23.0.5 + resolution: "semantic-release@npm:23.0.5" dependencies: - "@semantic-release/commit-analyzer": "npm:^11.0.0" + "@semantic-release/commit-analyzer": "npm:^12.0.0" "@semantic-release/error": "npm:^4.0.0" - "@semantic-release/github": "npm:^9.0.0" - "@semantic-release/npm": "npm:^11.0.0" + "@semantic-release/github": "npm:^10.0.0" + "@semantic-release/npm": "npm:^12.0.0" "@semantic-release/release-notes-generator": "npm:^12.0.0" aggregate-error: "npm:^5.0.0" cosmiconfig: "npm:^9.0.0" @@ -2719,8 +2756,8 @@ __metadata: hosted-git-info: "npm:^7.0.0" import-from-esm: "npm:^1.3.1" lodash-es: "npm:^4.17.21" - marked: "npm:^11.0.0" - marked-terminal: "npm:^6.0.0" + marked: "npm:^12.0.0" + marked-terminal: "npm:^7.0.0" micromatch: "npm:^4.0.2" p-each-series: "npm:^3.0.0" p-reduce: "npm:^3.0.0" @@ -2732,7 +2769,7 @@ __metadata: yargs: "npm:^17.5.1" bin: semantic-release: bin/semantic-release.js - checksum: 10c0/8dec832d6ac5596427234e2a4e357084c476012c2198da4b28e018e418014aea230f4403cada287f222fc2c4112eebcdafb1e5109163497ccd14331ed8272437 + checksum: 10c0/a8ea1a143f567881ffe98ff3491fba445ddab9f777d439f6e7d8bb9ea22b263f345890a1cc320dc2d42bc3f8aa753015ab562fb280f89958624bf6a49b7f6820 languageName: node linkType: hard @@ -2817,10 +2854,10 @@ __metadata: languageName: node linkType: hard -"slash@npm:^4.0.0": - version: 4.0.0 - resolution: "slash@npm:4.0.0" - checksum: 10c0/b522ca75d80d107fd30d29df0549a7b2537c83c4c4ecd12cd7d4ea6c8aaca2ab17ada002e7a1d78a9d736a0261509f26ea5b489082ee443a3a810586ef8eff18 +"slash@npm:^5.1.0": + version: 5.1.0 + resolution: "slash@npm:5.1.0" + checksum: 10c0/eb48b815caf0bdc390d0519d41b9e0556a14380f6799c72ba35caf03544d501d18befdeeef074bc9c052acf69654bc9e0d79d7f1de0866284137a40805299eb3 languageName: node linkType: hard @@ -2983,15 +3020,16 @@ __metadata: resolution: "suggestion-bot@workspace:." dependencies: "@eslint/js": "npm:^8.56" - "@octokit/core": "npm:^5.0" - "@octokit/plugin-rest-endpoint-methods": "npm:^10.0" - "@types/node": "npm:^20.0.0" + "@octokit/core": "npm:^6.0" + "@octokit/plugin-rest-endpoint-methods": "npm:^11.0" + "@rnx-kit/tsconfig": "npm:^1.0" + "@types/node": "npm:^20.0" azure-devops-node-api: "npm:^12.0" codecov: "npm:^3.0" eslint: "npm:^8.56" parse-diff: "npm:^0.11" prettier: "npm:^3.0" - semantic-release: "npm:23.0.0" + semantic-release: "npm:^23.0" typescript: "npm:^5.0" bin: suggestion-bot: cli.js @@ -3072,6 +3110,24 @@ __metadata: languageName: node linkType: hard +"thenify-all@npm:^1.0.0": + version: 1.6.0 + resolution: "thenify-all@npm:1.6.0" + dependencies: + thenify: "npm:>= 3.1.0 < 4" + checksum: 10c0/9b896a22735e8122754fe70f1d65f7ee691c1d70b1f116fda04fea103d0f9b356e3676cb789506e3909ae0486a79a476e4914b0f92472c2e093d206aed4b7d6b + languageName: node + linkType: hard + +"thenify@npm:>= 3.1.0 < 4": + version: 3.3.1 + resolution: "thenify@npm:3.3.1" + dependencies: + any-promise: "npm:^1.0.0" + checksum: 10c0/f375aeb2b05c100a456a30bc3ed07ef03a39cbdefe02e0403fb714b8c7e57eeaad1a2f5c4ecfb9ce554ce3db9c2b024eba144843cd9e344566d9fcee73b04767 + languageName: node + linkType: hard + "through2@npm:~2.0.0": version: 2.0.5 resolution: "through2@npm:2.0.5" @@ -3214,6 +3270,13 @@ __metadata: languageName: node linkType: hard +"unicorn-magic@npm:^0.1.0": + version: 0.1.0 + resolution: "unicorn-magic@npm:0.1.0" + checksum: 10c0/e4ed0de05b0a05e735c7d8a2930881e5efcfc3ec897204d5d33e7e6247f4c31eac92e383a15d9a6bccb7319b4271ee4bea946e211bf14951fec6ff2cbbb66a92 + languageName: node + linkType: hard + "unique-string@npm:^3.0.0": version: 3.0.0 resolution: "unique-string@npm:3.0.0" @@ -3223,10 +3286,10 @@ __metadata: languageName: node linkType: hard -"universal-user-agent@npm:^6.0.0": - version: 6.0.0 - resolution: "universal-user-agent@npm:6.0.0" - checksum: 10c0/ebeb0206963666c13bcf9ebc86d0577c7daed5870c05cd34d4972ee7a43b9ef20679baf2a8c83bf1b71d899bae67243ac4982d84ddaf9ba0355ff76595819961 +"universal-user-agent@npm:^7.0.0, universal-user-agent@npm:^7.0.2": + version: 7.0.2 + resolution: "universal-user-agent@npm:7.0.2" + checksum: 10c0/e60517ee929813e6b3ac0ceb3c66deccafadc71341edca160279ff046319c684fd7090a60d63aa61cd34a06c2d2acebeb8c2f8d364244ae7bf8ab788e20cd8c8 languageName: node linkType: hard @@ -3360,6 +3423,13 @@ __metadata: languageName: node linkType: hard +"yargs-parser@npm:^20.2.2": + version: 20.2.9 + resolution: "yargs-parser@npm:20.2.9" + checksum: 10c0/0685a8e58bbfb57fab6aefe03c6da904a59769bd803a722bb098bd5b0f29d274a1357762c7258fb487512811b8063fb5d2824a3415a0a4540598335b3b086c72 + languageName: node + linkType: hard + "yargs-parser@npm:^21.1.1": version: 21.1.1 resolution: "yargs-parser@npm:21.1.1" @@ -3367,6 +3437,21 @@ __metadata: languageName: node linkType: hard +"yargs@npm:^16.0.0": + version: 16.2.0 + resolution: "yargs@npm:16.2.0" + dependencies: + cliui: "npm:^7.0.2" + escalade: "npm:^3.1.1" + get-caller-file: "npm:^2.0.5" + require-directory: "npm:^2.1.1" + string-width: "npm:^4.2.0" + y18n: "npm:^5.0.5" + yargs-parser: "npm:^20.2.2" + checksum: 10c0/b1dbfefa679848442454b60053a6c95d62f2d2e21dd28def92b647587f415969173c6e99a0f3bab4f1b67ee8283bf735ebe3544013f09491186ba9e8a9a2b651 + languageName: node + linkType: hard + "yargs@npm:^17.5.1": version: 17.7.2 resolution: "yargs@npm:17.7.2"