diff --git a/index.ts b/index.ts index e4599fc..3fea27b 100644 --- a/index.ts +++ b/index.ts @@ -2,7 +2,7 @@ import { exit } from 'node:process'; import { error, getInput, warning } from '@actions/core'; import { context } from '@actions/github'; -import { type RestEndpointMethodTypes } from '@octokit/plugin-rest-endpoint-methods/dist-types/generated/parameters-and-response-types'; +import type { RestEndpointMethodTypes } from '@octokit/plugin-rest-endpoint-methods/dist-types/generated/parameters-and-response-types'; import { Octokit } from '@octokit/rest'; import fetch from 'node-fetch'; diff --git a/package.json b/package.json index aaa2b5e..b42ae19 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "node-fetch": "^3.3.2" }, "devDependencies": { - "@biomejs/biome": "^1.5.3", + "@biomejs/biome": "^1.6.0", "@octokit/plugin-rest-endpoint-methods": "^11.0.1", "@types/node": "^20.5.9", "esbuild": "^0.20.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5ac1dfd..617ecb5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -23,8 +23,8 @@ dependencies: devDependencies: '@biomejs/biome': - specifier: ^1.5.3 - version: 1.5.3 + specifier: ^1.6.0 + version: 1.6.0 '@octokit/plugin-rest-endpoint-methods': specifier: ^11.0.1 version: 11.0.1(@octokit/core@6.0.1) @@ -79,24 +79,24 @@ packages: resolution: {integrity: sha512-wi9JjgKLYS7U/z8PPbco+PvTb/nRWjeoFlJ1Qer83k/3C5PHQi28hiVdeE2kHXmIL99mQFawx8qt/JPjZilJ8Q==} dev: false - /@biomejs/biome@1.5.3: - resolution: {integrity: sha512-yvZCa/g3akwTaAQ7PCwPWDCkZs3Qa5ONg/fgOUT9e6wAWsPftCjLQFPXBeGxPK30yZSSpgEmRCfpGTmVbUjGgg==} + /@biomejs/biome@1.6.0: + resolution: {integrity: sha512-hvP8K1+CV8qc9eNdXtPwzScVxFSHB448CPKSqX6+8IW8G7bbhBVKGC80BowExJN5+vu+kzsj4xkWa780MAOlJw==} engines: {node: '>=14.*'} hasBin: true requiresBuild: true optionalDependencies: - '@biomejs/cli-darwin-arm64': 1.5.3 - '@biomejs/cli-darwin-x64': 1.5.3 - '@biomejs/cli-linux-arm64': 1.5.3 - '@biomejs/cli-linux-arm64-musl': 1.5.3 - '@biomejs/cli-linux-x64': 1.5.3 - '@biomejs/cli-linux-x64-musl': 1.5.3 - '@biomejs/cli-win32-arm64': 1.5.3 - '@biomejs/cli-win32-x64': 1.5.3 - dev: true - - /@biomejs/cli-darwin-arm64@1.5.3: - resolution: {integrity: sha512-ImU7mh1HghEDyqNmxEZBoMPr8SxekkZuYcs+gynKlNW+TALQs7swkERiBLkG9NR0K1B3/2uVzlvYowXrmlW8hw==} + '@biomejs/cli-darwin-arm64': 1.6.0 + '@biomejs/cli-darwin-x64': 1.6.0 + '@biomejs/cli-linux-arm64': 1.6.0 + '@biomejs/cli-linux-arm64-musl': 1.6.0 + '@biomejs/cli-linux-x64': 1.6.0 + '@biomejs/cli-linux-x64-musl': 1.6.0 + '@biomejs/cli-win32-arm64': 1.6.0 + '@biomejs/cli-win32-x64': 1.6.0 + dev: true + + /@biomejs/cli-darwin-arm64@1.6.0: + resolution: {integrity: sha512-K1Fjqye5pt+Ua+seC7V/2bFjfnqOaEOcQbBQSiiefB/VPNOb6lA5NFIfJ1PskTA3JrMXE1k7iqKQn56qrKFS6A==} engines: {node: '>=14.*'} cpu: [arm64] os: [darwin] @@ -104,8 +104,8 @@ packages: dev: true optional: true - /@biomejs/cli-darwin-x64@1.5.3: - resolution: {integrity: sha512-vCdASqYnlpq/swErH7FD6nrFz0czFtK4k/iLgj0/+VmZVjineFPgevOb+Sr9vz0tk0GfdQO60bSpI74zU8M9Dw==} + /@biomejs/cli-darwin-x64@1.6.0: + resolution: {integrity: sha512-CjEALu6vN9RbcfhaBDoj481mesUIsUjxgQn+/kiMCea+Paypqslhez1I7OwRBJnkzz+Pa+PXdABd7S30eyy6+Q==} engines: {node: '>=14.*'} cpu: [x64] os: [darwin] @@ -113,8 +113,8 @@ packages: dev: true optional: true - /@biomejs/cli-linux-arm64-musl@1.5.3: - resolution: {integrity: sha512-DYuMizUYUBYfS0IHGjDrOP1RGipqWfMGEvNEJ398zdtmCKLXaUvTimiox5dvx4X15mBK5M2m8wgWUgOP1giUpQ==} + /@biomejs/cli-linux-arm64-musl@1.6.0: + resolution: {integrity: sha512-prww6AUuJ+IO/GziN3WjtGM/DNOVuPFxqWrK97wKTZygEDdA+o1qHUN2HeCkSyk084xnzbMSbls5xscAKAn43A==} engines: {node: '>=14.*'} cpu: [arm64] os: [linux] @@ -122,8 +122,8 @@ packages: dev: true optional: true - /@biomejs/cli-linux-arm64@1.5.3: - resolution: {integrity: sha512-cupBQv0sNF1OKqBfx7EDWMSsKwRrBUZfjXawT4s6hKV6ALq7p0QzWlxr/sDmbKMLOaLQtw2Qgu/77N9rm+f9Rg==} + /@biomejs/cli-linux-arm64@1.6.0: + resolution: {integrity: sha512-32LVrC7dAgQT39YZ0ieO/VzzpAflozs9mW5K0oKNef7S4ocCdk89E98eXApxOdei0JTf3vfseDCl1AUIp6MwJw==} engines: {node: '>=14.*'} cpu: [arm64] os: [linux] @@ -131,8 +131,8 @@ packages: dev: true optional: true - /@biomejs/cli-linux-x64-musl@1.5.3: - resolution: {integrity: sha512-UUHiAnlDqr2Y/LpvshBFhUYMWkl2/Jn+bi3U6jKuav0qWbbBKU/ByHgR4+NBxpKBYoCtWxhnmatfH1bpPIuZMw==} + /@biomejs/cli-linux-x64-musl@1.6.0: + resolution: {integrity: sha512-NwitWeUKCy8G/rr+rgHPYirnrsOjJEJBWODdaRzweeFNcJjvO6de6AmNdSJzsewzLEaxjOWyoXU03MdzbGz/6Q==} engines: {node: '>=14.*'} cpu: [x64] os: [linux] @@ -140,8 +140,8 @@ packages: dev: true optional: true - /@biomejs/cli-linux-x64@1.5.3: - resolution: {integrity: sha512-YQrSArQvcv4FYsk7Q91Yv4uuu5F8hJyORVcv3zsjCLGkjIjx2RhjYLpTL733SNL7v33GmOlZY0eFR1ko38tuUw==} + /@biomejs/cli-linux-x64@1.6.0: + resolution: {integrity: sha512-b6mWu9Cu4w5B3K46wq9SlxKEZEEL6II/6HFNAuZ4YL8mOeQ0FTMU+wNMJFKkmkSE2zvim3xwW3PknmbLKbe3Mg==} engines: {node: '>=14.*'} cpu: [x64] os: [linux] @@ -149,8 +149,8 @@ packages: dev: true optional: true - /@biomejs/cli-win32-arm64@1.5.3: - resolution: {integrity: sha512-HxatYH7vf/kX9nrD+pDYuV2GI9GV8EFo6cfKkahAecTuZLPxryHx1WEfJthp5eNsE0+09STGkKIKjirP0ufaZA==} + /@biomejs/cli-win32-arm64@1.6.0: + resolution: {integrity: sha512-DlNOL6mG+76iZS1gL/UiuMme7jnt+auzo2+u0aUq6UXYsb75juchwlnVLy2UV5CQjVBRB8+RM+KVoXRZ8NlBjQ==} engines: {node: '>=14.*'} cpu: [arm64] os: [win32] @@ -158,8 +158,8 @@ packages: dev: true optional: true - /@biomejs/cli-win32-x64@1.5.3: - resolution: {integrity: sha512-fMvbSouZEASU7mZH8SIJSANDm5OqsjgtVXlbUqxwed6BP7uuHRSs396Aqwh2+VoW8fwTpp6ybIUoC9FrzB0kyA==} + /@biomejs/cli-win32-x64@1.6.0: + resolution: {integrity: sha512-sXBcXIOGuG8/XcHqmnkhLIs0oy6Dp+TkH4Alr4WH/P8mNsp5GcStI/ZwbEiEoxA0P3Fi+oUppQ6srxaY2rSCHg==} engines: {node: '>=14.*'} cpu: [x64] os: [win32] diff --git a/tsconfig.json b/tsconfig.json index 284c35a..242a91e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,7 +4,5 @@ "target": "ES2022", "strict": true }, - "exclude": [ - "node_modules" - ] + "exclude": ["node_modules"] }