From c7d1bb9656c242abe2464268d0a5cf7a3a3d121d Mon Sep 17 00:00:00 2001 From: Sora Morimoto Date: Fri, 18 Oct 2024 10:10:18 +0900 Subject: [PATCH] Update npm deps Signed-off-by: Sora Morimoto --- dist/index.js | 20 +++++- dist/post/index.js | 20 +++++- package.json | 2 +- packages/analysis/package.json | 2 +- packages/lint-doc/package.json | 2 +- packages/lint-fmt/package.json | 2 +- packages/lint-opam/package.json | 2 +- packages/setup-ocaml/package.json | 2 +- yarn.lock | 108 +++++++++++++++--------------- 9 files changed, 96 insertions(+), 64 deletions(-) diff --git a/dist/index.js b/dist/index.js index 8bca2ebe..0fc33d3f 100644 --- a/dist/index.js +++ b/dist/index.js @@ -118793,8 +118793,6 @@ function isSASCredential(credential) { /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. Object.defineProperty(exports, "__esModule", ({ value: true })); exports.isTokenCredential = exports.isSASCredential = exports.AzureSASCredential = exports.isNamedKeyCredential = exports.AzureNamedKeyCredential = exports.isKeyCredential = exports.AzureKeyCredential = void 0; var azureKeyCredential_js_1 = __nccwpck_require__(21746); @@ -118841,7 +118839,25 @@ function isKeyCredential(credential) { // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.isBearerToken = isBearerToken; +exports.isPopToken = isPopToken; exports.isTokenCredential = isTokenCredential; +/** + * @internal + * @param accessToken - Access token + * @returns Whether a token is bearer type or not + */ +function isBearerToken(accessToken) { + return !accessToken.tokenType || accessToken.tokenType === "Bearer"; +} +/** + * @internal + * @param accessToken - Access token + * @returns Whether a token is Pop token or not + */ +function isPopToken(accessToken) { + return accessToken.tokenType === "pop"; +} /** * Tests an object to determine whether it implements TokenCredential. * diff --git a/dist/post/index.js b/dist/post/index.js index 4634e2b2..2049c66d 100644 --- a/dist/post/index.js +++ b/dist/post/index.js @@ -84138,8 +84138,6 @@ function isSASCredential(credential) { /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. Object.defineProperty(exports, "__esModule", ({ value: true })); exports.isTokenCredential = exports.isSASCredential = exports.AzureSASCredential = exports.isNamedKeyCredential = exports.AzureNamedKeyCredential = exports.isKeyCredential = exports.AzureKeyCredential = void 0; var azureKeyCredential_js_1 = __nccwpck_require__(1746); @@ -84186,7 +84184,25 @@ function isKeyCredential(credential) { // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.isBearerToken = isBearerToken; +exports.isPopToken = isPopToken; exports.isTokenCredential = isTokenCredential; +/** + * @internal + * @param accessToken - Access token + * @returns Whether a token is bearer type or not + */ +function isBearerToken(accessToken) { + return !accessToken.tokenType || accessToken.tokenType === "Bearer"; +} +/** + * @internal + * @param accessToken - Access token + * @returns Whether a token is Pop token or not + */ +function isPopToken(accessToken) { + return accessToken.tokenType === "pop"; +} /** * Tests an object to determine whether it implements TokenCredential. * diff --git a/package.json b/package.json index 48cb344c..d4c6243e 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "typecheck": "turbo run typecheck --continue --parallel" }, "devDependencies": { - "@biomejs/biome": "1.9.3", + "@biomejs/biome": "1.9.4", "turbo": "2.1.3" }, "packageManager": "yarn@4.5.0" diff --git a/packages/analysis/package.json b/packages/analysis/package.json index 2ac56b2b..084d9220 100644 --- a/packages/analysis/package.json +++ b/packages/analysis/package.json @@ -19,7 +19,7 @@ "devDependencies": { "@tsconfig/node20": "20.1.4", "@tsconfig/strictest": "2.0.5", - "@types/node": "22.7.5", + "@types/node": "22.7.6", "@vercel/ncc": "0.38.2", "typescript": "5.6.3" } diff --git a/packages/lint-doc/package.json b/packages/lint-doc/package.json index 9e390cbe..b4d43a32 100644 --- a/packages/lint-doc/package.json +++ b/packages/lint-doc/package.json @@ -14,7 +14,7 @@ "devDependencies": { "@tsconfig/node20": "20.1.4", "@tsconfig/strictest": "2.0.5", - "@types/node": "22.7.5", + "@types/node": "22.7.6", "@vercel/ncc": "0.38.2", "typescript": "5.6.3" } diff --git a/packages/lint-fmt/package.json b/packages/lint-fmt/package.json index 38f984c4..7728b712 100644 --- a/packages/lint-fmt/package.json +++ b/packages/lint-fmt/package.json @@ -14,7 +14,7 @@ "devDependencies": { "@tsconfig/node20": "20.1.4", "@tsconfig/strictest": "2.0.5", - "@types/node": "22.7.5", + "@types/node": "22.7.6", "@vercel/ncc": "0.38.2", "typescript": "5.6.3" } diff --git a/packages/lint-opam/package.json b/packages/lint-opam/package.json index 7ca88300..2b77e399 100644 --- a/packages/lint-opam/package.json +++ b/packages/lint-opam/package.json @@ -14,7 +14,7 @@ "devDependencies": { "@tsconfig/node20": "20.1.4", "@tsconfig/strictest": "2.0.5", - "@types/node": "22.7.5", + "@types/node": "22.7.6", "@vercel/ncc": "0.38.2", "typescript": "5.6.3" } diff --git a/packages/setup-ocaml/package.json b/packages/setup-ocaml/package.json index 2f3955d0..efe7a152 100644 --- a/packages/setup-ocaml/package.json +++ b/packages/setup-ocaml/package.json @@ -25,7 +25,7 @@ "devDependencies": { "@tsconfig/node20": "20.1.4", "@tsconfig/strictest": "2.0.5", - "@types/node": "22.7.5", + "@types/node": "22.7.6", "@types/semver": "7.5.8", "@vercel/ncc": "0.38.2", "typescript": "5.6.3" diff --git a/yarn.lock b/yarn.lock index a8f21a28..8d54267e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -124,13 +124,13 @@ __metadata: linkType: hard "@azure/core-auth@npm:^1.1.4, @azure/core-auth@npm:^1.4.0, @azure/core-auth@npm:^1.8.0": - version: 1.8.0 - resolution: "@azure/core-auth@npm:1.8.0" + version: 1.9.0 + resolution: "@azure/core-auth@npm:1.9.0" dependencies: "@azure/abort-controller": "npm:^2.0.0" - "@azure/core-util": "npm:^1.1.0" + "@azure/core-util": "npm:^1.11.0" tslib: "npm:^2.6.2" - checksum: 10c0/db9d78da0ae9c43258bc735c7eeda598370559c0d0146293cdfc096191712ee6e0fcc1b1da105bd095df0d034603eead949a8598b2209880a14bad822a5f81d2 + checksum: 10c0/b7d8f33b81a8c9a76531acacc7af63d888429f0d763bb1ab8e28e91ddbf1626fc19cf8ca74f79c39b0a3e5acb315bdc4c4276fb979816f315712ea1bd611273d languageName: node linkType: hard @@ -206,13 +206,13 @@ __metadata: languageName: node linkType: hard -"@azure/core-util@npm:^1.1.0, @azure/core-util@npm:^1.2.0, @azure/core-util@npm:^1.6.1, @azure/core-util@npm:^1.9.0": - version: 1.10.0 - resolution: "@azure/core-util@npm:1.10.0" +"@azure/core-util@npm:^1.11.0, @azure/core-util@npm:^1.2.0, @azure/core-util@npm:^1.6.1, @azure/core-util@npm:^1.9.0": + version: 1.11.0 + resolution: "@azure/core-util@npm:1.11.0" dependencies: "@azure/abort-controller": "npm:^2.0.0" tslib: "npm:^2.6.2" - checksum: 10c0/94c89ca7b4d44f85cd39e1ce77b4f4b2c2aa2bdc8230454816ba98fb5333bacd648d5ffcd73518b1d1f40405a40c3411987cfed4d260c62a07b740c7f1d77792 + checksum: 10c0/245c93ec7fb3f2cb3a0b2f3a3be8d02ee401acba3cdd71620aa9e4e3ca50d831849f692332327bdbe1238ab979a76218f16a5166488ee31d5b67004298d110a3 languageName: node linkType: hard @@ -272,18 +272,18 @@ __metadata: languageName: node linkType: hard -"@biomejs/biome@npm:1.9.3": - version: 1.9.3 - resolution: "@biomejs/biome@npm:1.9.3" +"@biomejs/biome@npm:1.9.4": + version: 1.9.4 + resolution: "@biomejs/biome@npm:1.9.4" dependencies: - "@biomejs/cli-darwin-arm64": "npm:1.9.3" - "@biomejs/cli-darwin-x64": "npm:1.9.3" - "@biomejs/cli-linux-arm64": "npm:1.9.3" - "@biomejs/cli-linux-arm64-musl": "npm:1.9.3" - "@biomejs/cli-linux-x64": "npm:1.9.3" - "@biomejs/cli-linux-x64-musl": "npm:1.9.3" - "@biomejs/cli-win32-arm64": "npm:1.9.3" - "@biomejs/cli-win32-x64": "npm:1.9.3" + "@biomejs/cli-darwin-arm64": "npm:1.9.4" + "@biomejs/cli-darwin-x64": "npm:1.9.4" + "@biomejs/cli-linux-arm64": "npm:1.9.4" + "@biomejs/cli-linux-arm64-musl": "npm:1.9.4" + "@biomejs/cli-linux-x64": "npm:1.9.4" + "@biomejs/cli-linux-x64-musl": "npm:1.9.4" + "@biomejs/cli-win32-arm64": "npm:1.9.4" + "@biomejs/cli-win32-x64": "npm:1.9.4" dependenciesMeta: "@biomejs/cli-darwin-arm64": optional: true @@ -303,62 +303,62 @@ __metadata: optional: true bin: biome: bin/biome - checksum: 10c0/20cede5918c6a21d2f6ee4306e2bf395cb9ea4baef68e4f91b7fa3735102a626b565cdc1d4d21ad76faacc1fdf8fd23bdda563bb80906a777ba0bfd2189f41c9 + checksum: 10c0/b5655c5aed9a6fffe24f7d04f15ba4444389d0e891c9ed9106fab7388ac9b4be63185852cc2a937b22940dac3e550b71032a4afd306925cfea436c33e5646b3e languageName: node linkType: hard -"@biomejs/cli-darwin-arm64@npm:1.9.3": - version: 1.9.3 - resolution: "@biomejs/cli-darwin-arm64@npm:1.9.3" +"@biomejs/cli-darwin-arm64@npm:1.9.4": + version: 1.9.4 + resolution: "@biomejs/cli-darwin-arm64@npm:1.9.4" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@biomejs/cli-darwin-x64@npm:1.9.3": - version: 1.9.3 - resolution: "@biomejs/cli-darwin-x64@npm:1.9.3" +"@biomejs/cli-darwin-x64@npm:1.9.4": + version: 1.9.4 + resolution: "@biomejs/cli-darwin-x64@npm:1.9.4" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@biomejs/cli-linux-arm64-musl@npm:1.9.3": - version: 1.9.3 - resolution: "@biomejs/cli-linux-arm64-musl@npm:1.9.3" +"@biomejs/cli-linux-arm64-musl@npm:1.9.4": + version: 1.9.4 + resolution: "@biomejs/cli-linux-arm64-musl@npm:1.9.4" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@biomejs/cli-linux-arm64@npm:1.9.3": - version: 1.9.3 - resolution: "@biomejs/cli-linux-arm64@npm:1.9.3" +"@biomejs/cli-linux-arm64@npm:1.9.4": + version: 1.9.4 + resolution: "@biomejs/cli-linux-arm64@npm:1.9.4" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@biomejs/cli-linux-x64-musl@npm:1.9.3": - version: 1.9.3 - resolution: "@biomejs/cli-linux-x64-musl@npm:1.9.3" +"@biomejs/cli-linux-x64-musl@npm:1.9.4": + version: 1.9.4 + resolution: "@biomejs/cli-linux-x64-musl@npm:1.9.4" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@biomejs/cli-linux-x64@npm:1.9.3": - version: 1.9.3 - resolution: "@biomejs/cli-linux-x64@npm:1.9.3" +"@biomejs/cli-linux-x64@npm:1.9.4": + version: 1.9.4 + resolution: "@biomejs/cli-linux-x64@npm:1.9.4" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@biomejs/cli-win32-arm64@npm:1.9.3": - version: 1.9.3 - resolution: "@biomejs/cli-win32-arm64@npm:1.9.3" +"@biomejs/cli-win32-arm64@npm:1.9.4": + version: 1.9.4 + resolution: "@biomejs/cli-win32-arm64@npm:1.9.4" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@biomejs/cli-win32-x64@npm:1.9.3": - version: 1.9.3 - resolution: "@biomejs/cli-win32-x64@npm:1.9.3" +"@biomejs/cli-win32-x64@npm:1.9.4": + version: 1.9.4 + resolution: "@biomejs/cli-win32-x64@npm:1.9.4" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -430,7 +430,7 @@ __metadata: "@github/dependency-submission-toolkit": "npm:2.0.4" "@tsconfig/node20": "npm:20.1.4" "@tsconfig/strictest": "npm:2.0.5" - "@types/node": "npm:22.7.5" + "@types/node": "npm:22.7.6" "@vercel/ncc": "npm:0.38.2" packageurl-js: "npm:2.0.1" strip-ansi: "npm:7.1.0" @@ -446,7 +446,7 @@ __metadata: "@actions/exec": "npm:1.1.1" "@tsconfig/node20": "npm:20.1.4" "@tsconfig/strictest": "npm:2.0.5" - "@types/node": "npm:22.7.5" + "@types/node": "npm:22.7.6" "@vercel/ncc": "npm:0.38.2" typescript: "npm:5.6.3" languageName: unknown @@ -460,7 +460,7 @@ __metadata: "@actions/exec": "npm:1.1.1" "@tsconfig/node20": "npm:20.1.4" "@tsconfig/strictest": "npm:2.0.5" - "@types/node": "npm:22.7.5" + "@types/node": "npm:22.7.6" "@vercel/ncc": "npm:0.38.2" typescript: "npm:5.6.3" languageName: unknown @@ -474,7 +474,7 @@ __metadata: "@actions/exec": "npm:1.1.1" "@tsconfig/node20": "npm:20.1.4" "@tsconfig/strictest": "npm:2.0.5" - "@types/node": "npm:22.7.5" + "@types/node": "npm:22.7.6" "@vercel/ncc": "npm:0.38.2" typescript: "npm:5.6.3" languageName: unknown @@ -494,7 +494,7 @@ __metadata: "@actions/tool-cache": "npm:2.0.1" "@tsconfig/node20": "npm:20.1.4" "@tsconfig/strictest": "npm:2.0.5" - "@types/node": "npm:22.7.5" + "@types/node": "npm:22.7.6" "@types/semver": "npm:7.5.8" "@vercel/ncc": "npm:0.38.2" cheerio: "npm:1.0.0" @@ -653,12 +653,12 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:22.7.5": - version: 22.7.5 - resolution: "@types/node@npm:22.7.5" +"@types/node@npm:22.7.6": + version: 22.7.6 + resolution: "@types/node@npm:22.7.6" dependencies: undici-types: "npm:~6.19.2" - checksum: 10c0/cf11f74f1a26053ec58066616e3a8685b6bcd7259bc569738b8f752009f9f0f7f85a1b2d24908e5b0f752482d1e8b6babdf1fbb25758711ec7bb9500bfcd6e60 + checksum: 10c0/d4406a63afce981c363fb1d1954aaf1759ad2d487c0833ebf667565ea4e45ff217d6fab4b5343badbdeccdf9d2e4a0841d633e0c929ceabcb33c288663dd0c73 languageName: node linkType: hard @@ -1635,7 +1635,7 @@ __metadata: version: 0.0.0-use.local resolution: "setup-ocaml@workspace:." dependencies: - "@biomejs/biome": "npm:1.9.3" + "@biomejs/biome": "npm:1.9.4" turbo: "npm:2.1.3" languageName: unknown linkType: soft