From 0b8a563ebd6540b18a913d9b415237c3a7b43db3 Mon Sep 17 00:00:00 2001 From: Vladislav Tupikin Date: Mon, 26 Feb 2024 00:47:34 +0400 Subject: [PATCH] v3.0.3 (#300) * v3.0.3 * CI fixing * CI fixing * Lint fix * Tests fixes --- .eslintrc.yml | 124 +- .github/workflows/ci.yaml | 34 +- .github/workflows/publish.yml | 77 +- CHANGELOG.md | 5 + README.md | 2 +- assets/logo.svg | 42 + examples/package-lock.json | 64 +- examples/package.json | 6 +- examples/src/addFixVersion.ts | 4 +- examples/src/addWorklog.ts | 2 +- examples/src/getAllWorklogs.ts | 1 + examples/src/utils/createIssue.ts | 4 +- package-lock.json | 1621 ++++++----------- package.json | 29 +- src/agile/parameters/partiallyUpdateEpic.ts | 30 +- src/agile/parameters/submitRemoteLinks.ts | 20 +- src/clients/baseClient.ts | 6 +- src/config.ts | 34 +- src/version2/models/createProjectDetails.ts | 42 +- src/version2/models/searchRequest.ts | 24 +- .../parameters/assignPermissionScheme.ts | 16 +- .../parameters/createPermissionScheme.ts | 18 +- src/version2/parameters/findUsersAndGroups.ts | 44 +- .../parameters/getAllPermissionSchemes.ts | 18 +- .../parameters/getAssignedPermissionScheme.ts | 18 +- .../parameters/getDashboardsPaginated.ts | 62 +- src/version2/parameters/getFieldsPaginated.ts | 50 +- .../parameters/getFiltersPaginated.ts | 74 +- src/version2/parameters/getIssue.ts | 18 +- .../parameters/getNotificationScheme.ts | 18 +- .../getNotificationSchemeForProject.ts | 18 +- .../parameters/getNotificationSchemes.ts | 18 +- .../parameters/getPermissionScheme.ts | 18 +- src/version2/parameters/getPrecomputations.ts | 26 +- src/version2/parameters/getProject.ts | 16 +- .../getProjectComponentsPaginated.ts | 26 +- .../parameters/getProjectVersionsPaginated.ts | 46 +- src/version2/parameters/getRecent.ts | 22 +- .../parameters/getSecurityLevelMembers.ts | 16 +- .../parameters/getTrashedFieldsPaginated.ts | 26 +- src/version2/parameters/getVersion.ts | 14 +- .../parameters/getWorkflowsPaginated.ts | 48 +- .../parameters/searchForIssuesUsingJql.ts | 20 +- src/version2/parameters/searchProjects.ts | 68 +- .../parameters/updateEntityPropertiesValue.ts | 20 +- src/version2/parameters/updateProject.ts | 56 +- src/version3/issueComments.ts | 25 +- src/version3/models/createProjectDetails.ts | 42 +- src/version3/models/document.ts | 46 +- src/version3/models/project.ts | 16 +- src/version3/models/searchRequest.ts | 24 +- .../parameters/assignPermissionScheme.ts | 18 +- src/version3/parameters/createIssue.ts | 4 +- src/version3/parameters/findUsersAndGroups.ts | 44 +- .../parameters/getDashboardsPaginated.ts | 62 +- src/version3/parameters/getFieldsPaginated.ts | 48 +- .../parameters/getFiltersPaginated.ts | 74 +- src/version3/parameters/getIssue.ts | 20 +- .../parameters/getNotificationScheme.ts | 18 +- .../parameters/getNotificationSchemes.ts | 18 +- src/version3/parameters/getPrecomputations.ts | 26 +- src/version3/parameters/getProject.ts | 16 +- .../getProjectComponentsPaginated.ts | 26 +- .../parameters/getProjectVersionsPaginated.ts | 32 +- src/version3/parameters/getRecent.ts | 22 +- .../parameters/getSecurityLevelMembers.ts | 16 +- .../parameters/getTrashedFieldsPaginated.ts | 26 +- src/version3/parameters/getVersion.ts | 14 +- .../parameters/getWorkflowsPaginated.ts | 48 +- src/version3/parameters/searchProjects.ts | 68 +- .../parameters/updateEntityPropertiesValue.ts | 20 +- src/version3/parameters/updateProject.ts | 14 +- tests/integration/agile/sprint.test.ts | 6 +- tests/integration/utils/getClient.ts | 9 +- tests/integration/version2/avatars.test.ts | 2 +- tests/integration/version2/dashboards.test.ts | 2 +- tests/integration/version2/groups.test.ts | 2 +- .../version2/issueAttachments.test.ts | 3 +- .../version2/issueComments.test.ts | 2 +- tests/integration/version2/issueVotes.test.ts | 6 +- tests/integration/version2/issues.test.ts | 2 +- .../integration/version2/projectRoles.test.ts | 2 +- tests/integration/version2/projects.test.ts | 2 +- tests/integration/version2/users.test.ts | 11 - tests/integration/version3/avatars.test.ts | 2 +- tests/integration/version3/dashboards.test.ts | 2 +- tests/integration/version3/groups.test.ts | 2 +- .../version3/issueAttachments.test.ts | 2 +- .../version3/issueComments.test.ts | 2 +- tests/integration/version3/issueVotes.test.ts | 6 +- tests/integration/version3/issues.test.ts | 2 +- .../integration/version3/projectRoles.test.ts | 2 +- tests/integration/version3/projects.test.ts | 2 +- tests/integration/version3/users.test.ts | 11 - tests/unit/agile/board.test.ts | 2 +- tests/unit/agile/issue.test.ts | 2 +- tests/unit/agile/sprint.test.ts | 2 +- tests/unit/clients/baseClient.test.ts | 6 +- tests/unit/createClient.test.ts | 4 +- .../services/authenticationService.test.ts | 2 +- tests/unit/version2/issueLinks.test.ts | 2 +- tests/unit/version2/issueVotes.test.ts | 2 +- tests/unit/version3/issueVotes.test.ts | 2 +- 103 files changed, 1709 insertions(+), 2149 deletions(-) create mode 100644 assets/logo.svg delete mode 100644 tests/integration/version2/users.test.ts delete mode 100644 tests/integration/version3/users.test.ts diff --git a/.eslintrc.yml b/.eslintrc.yml index 3ac1c0b93a..e5ba51a3b2 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -1,82 +1,90 @@ parser: "@typescript-eslint/parser" extends: - - "airbnb-typescript/base" + - airbnb-base parserOptions: ecmaVersion: 2018 - sourceType: "module" - project: "./tsconfig.lint.json" + project: ./tsconfig.lint.json plugins: - - "import" + - import env: node: true browser: true rules: - "@typescript-eslint/lines-between-class-members": "off" - "arrow-parens": - - "error" - - "as-needed" - "class-methods-use-this": "off" - "eol-last": "error" - "import/no-cycle": "off" - "import/prefer-default-export": "off" - "linebreak-style": - - "error" - - "unix" - "lines-between-class-members": "off" - "max-len": "off" - "no-trailing-spaces": "error" - "no-underscore-dangle": "off" - "padding-line-between-statements": - - "error" - - blankLine: "always" + "@typescript-eslint/lines-between-class-members": off + arrow-parens: + - error + - as-needed + class-methods-use-this: off + eol-last: error + import/extensions: off + import/no-cycle: off + import/no-unresolved: off + import/prefer-default-export: off + linebreak-style: + - error + - unix + lines-between-class-members: off + max-len: off + no-trailing-spaces: error + no-underscore-dangle: off + no-dupe-class-members: off + no-unused-vars: off + no-useless-constructor: off + no-empty-function: off + no-param-reassign: off + no-shadow: off + no-redeclare: off + padding-line-between-statements: + - error + - blankLine: always prev: "*" next: - - "block" - - "block-like" - - "cjs-export" - - "class" - - "const" - - "export" - - "import" - - "let" - - "var" - - blankLine: "always" + - block + - block-like + - cjs-export + - class + - const + - export + - import + - let + - var + - blankLine: always prev: - - "block" - - "block-like" - - "cjs-export" - - "class" - - "const" - - "export" - - "import" - - "let" - - "var" + - block + - block-like + - cjs-export + - class + - const + - export + - import + - let + - var next: "*" - - blankLine: "any" + - blankLine: any prev: - - "const" - - "let" - - "var" + - const + - let + - var next: - - "const" - - "let" - - "var" - - blankLine: "never" + - const + - let + - var + - blankLine: never prev: - - "import" + - import next: - - "import" - - blankLine: "always" + - import + - blankLine: always prev: - - "import" + - import next: - - "export" - - blankLine: "any" + - export + - blankLine: any prev: - - "export" + - export next: - - "export" + - export settings: import/parsers: "@typescript-eslint/parser": - - ".ts" + - .ts diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4d57ef13ce..25103bb032 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -4,7 +4,7 @@ on: push jobs: build: name: Build - runs-on: self-hosted + runs-on: ubuntu-latest strategy: matrix: node-version: [18.x, 20.x] @@ -12,7 +12,7 @@ jobs: - name: Checkout sources uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - name: Installing dependencies @@ -23,11 +23,19 @@ jobs: lint: name: Lint Code needs: build - runs-on: self-hosted + runs-on: ubuntu-latest strategy: matrix: node-version: [18.x, 20.x] steps: + - name: Checkout sources + uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + - name: Installing dependencies + run: npm ci - name: Linting run: npm run lint env: @@ -36,11 +44,19 @@ jobs: test_unit: name: Unit Tests needs: build - runs-on: self-hosted + runs-on: ubuntu-latest strategy: matrix: node-version: [18.x, 20.x] steps: + - name: Checkout sources + uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + - name: Installing dependencies + run: npm ci - name: Running unit tests run: npm run test:unit @@ -49,12 +65,20 @@ jobs: needs: - lint - test_unit - runs-on: self-hosted + runs-on: ubuntu-latest strategy: max-parallel: 1 matrix: node-version: [18.x, 20.x] steps: + - name: Checkout sources + uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + - name: Installing dependencies + run: npm ci - name: Creating `.env` file run: | touch .env diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 711dcd8005..9cb6ba921e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,7 +4,7 @@ on: workflow_dispatch jobs: build: name: Build - runs-on: self-hosted + runs-on: ubuntu-latest steps: - name: Checkout sources uses: actions/checkout@v4 @@ -20,8 +20,16 @@ jobs: lint: name: Lint Code needs: build - runs-on: self-hosted + runs-on: ubuntu-latest steps: + - name: Checkout sources + uses: actions/checkout@v4 + - name: Use Node.js 18.x.x + uses: actions/setup-node@v3 + with: + node-version: 18 + - name: Installing dependencies + run: npm ci - name: Linting run: npm run lint env: @@ -30,8 +38,16 @@ jobs: test_unit: name: Unit Tests needs: build - runs-on: self-hosted + runs-on: ubuntu-latest steps: + - name: Checkout sources + uses: actions/checkout@v4 + - name: Use Node.js 18.x.x + uses: actions/setup-node@v3 + with: + node-version: 18 + - name: Installing dependencies + run: npm ci - name: Running unit tests run: npm run test:unit @@ -40,8 +56,16 @@ jobs: needs: - lint - test_unit - runs-on: self-hosted + runs-on: ubuntu-latest steps: + - name: Checkout sources + uses: actions/checkout@v4 + - name: Use Node.js 18.x.x + uses: actions/setup-node@v3 + with: + node-version: 18 + - name: Installing dependencies + run: npm ci - name: Creating `.env` file run: | touch .env @@ -55,8 +79,16 @@ jobs: name: Package publish needs: - test_integration - runs-on: self-hosted + runs-on: ubuntu-latest steps: + - name: Checkout sources + uses: actions/checkout@v4 + - name: Use Node.js 18.x.x + uses: actions/setup-node@v3 + with: + node-version: 18 + - name: Installing dependencies + run: npm ci - name: Publishing run: npm publish env: @@ -66,38 +98,31 @@ jobs: name: Docs publish needs: - publish - runs-on: self-hosted + runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v4 with: ref: master - - - name: Set up Node.js + - name: Use Node.js 18.x.x uses: actions/setup-node@v3 with: node-version: 18 - - - name: Install dependencies + - name: Installing dependencies run: npm ci - - name: Generate docs run: npm run doc - - name: Extract version id: pkg run: echo "VERSION=$(node -p "require('./package.json').version")" >> $GITHUB_ENV - - name: Checkout docs branch uses: actions/checkout@v4 with: ref: docs clean: false - - name: Copy docs to root run: | cp -r docs/* . - - name: Commit and push docs run: | git config user.name "GitHub Actions" @@ -110,21 +135,16 @@ jobs: name: Create Git Tag needs: - publish - runs-on: self-hosted + runs-on: ubuntu-latest steps: - name: Checkout sources uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Set up Node.js - uses: actions/setup-node@v3 + - name: Use Node.js 18.x.x + uses: actions/setup-node@v4 with: node-version: 18 - - name: Extract version from package.json run: echo "version=$(node -p "require('./package.json').version")" >> $GITHUB_ENV - - name: Create and Push Git Tag run: | git config user.name "GitHub Actions" @@ -137,30 +157,25 @@ jobs: name: Create GitHub Release needs: - creating-git-tag - runs-on: self-hosted + runs-on: ubuntu-latest steps: - name: Checkout sources uses: actions/checkout@v4 - - - name: Set up Node.js - uses: actions/setup-node@v3 + - name: Use Node.js 18.x.x + uses: actions/setup-node@v4 with: node-version: 18 - - name: Extract version from package.json run: echo "version=$(node -p "require('./package.json').version")" >> $GITHUB_ENV - - name: Extract Changelog Entry id: changelog uses: juliangruber/read-file-action@v1 with: path: ./CHANGELOG.md - - name: Parse Changelog Entry run: | CHANGELOG_CONTENT=$(echo '${{ steps.changelog.outputs.content }}' | awk '/### ${{ steps.pkg.outputs.version }}/,/### /{print; if (/### / && !/### ${{ steps.pkg.outputs.version }}/){exit}}') echo "CHANGELOG=$CHANGELOG_CONTENT" >> $GITHUB_ENV - - name: Create GitHub Release uses: softprops/action-gh-release@v1 with: diff --git a/CHANGELOG.md b/CHANGELOG.md index 0b7b958079..ccea621b46 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Jira.js changelog +### 3.0.3 + +- Dependencies updated +- Logo fix in README.md + ### 3.0.2 - Return type fixed for `issue remote links` endpoint. Thanks to [Fernando Maia](https://github.com/fsmaia) for reporting and [fixing](https://github.com/MrRefactoring/jira.js/pull/296) [the issue](https://github.com/MrRefactoring/jira.js/issues/295). diff --git a/README.md b/README.md index 851c00efac..6741554ac8 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@
- Jira.js logo + Jira.js logo NPM version NPM downloads per month diff --git a/assets/logo.svg b/assets/logo.svg new file mode 100644 index 0000000000..3ed9e7b8ea --- /dev/null +++ b/assets/logo.svg @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + diff --git a/examples/package-lock.json b/examples/package-lock.json index 868c2caa63..0afc186ab4 100644 --- a/examples/package-lock.json +++ b/examples/package-lock.json @@ -12,9 +12,9 @@ "jira.js": "latest" }, "devDependencies": { - "@types/node": "^20.9.0", - "ts-node": "^10.9.1", - "typescript": "^5.2.2" + "@types/node": "^20.11.20", + "ts-node": "^10.9.2", + "typescript": "^5.3.3" } }, "node_modules/@cspotcode/source-map-support": { @@ -30,9 +30,9 @@ } }, "node_modules/@jridgewell/resolve-uri": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz", - "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", "dev": true, "engines": { "node": ">=6.0.0" @@ -79,18 +79,18 @@ "dev": true }, "node_modules/@types/node": { - "version": "20.9.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.9.0.tgz", - "integrity": "sha512-nekiGu2NDb1BcVofVcEKMIwzlx4NjHlcjhoxxKBNLtz15Y1z7MYf549DFvkHSId02Ax6kGwWntIBPC3l/JZcmw==", + "version": "20.11.20", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.20.tgz", + "integrity": "sha512-7/rR21OS+fq8IyHTgtLkDK949uzsa6n8BkziAKtPVpugIkO6D+/ooXMvzXxDnZrmtXVfjb1bKQafYpb8s89LOg==", "dev": true, "dependencies": { "undici-types": "~5.26.4" } }, "node_modules/acorn": { - "version": "8.11.2", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.2.tgz", - "integrity": "sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==", + "version": "8.11.3", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz", + "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==", "dev": true, "bin": { "acorn": "bin/acorn" @@ -100,9 +100,9 @@ } }, "node_modules/acorn-walk": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.0.tgz", - "integrity": "sha512-FS7hV565M5l1R08MXqo8odwMTB02C2UqzB17RVgu9EyuYFBqJZ3/ZY97sQD5FewVu1UyDFc1yztUDrAwT0EypA==", + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.2.tgz", + "integrity": "sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A==", "dev": true, "engines": { "node": ">=0.4.0" @@ -120,11 +120,11 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "node_modules/axios": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.1.tgz", - "integrity": "sha512-vfBmhDpKafglh0EldBEbVuoe7DyAavGSLWhuSm5ZSEKQnHhBf0xAAwybbNH1IkrJNGnS/VG4I5yxig1pCEXE4g==", + "version": "1.6.7", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.7.tgz", + "integrity": "sha512-/hDJGff6/c7u0hDkvkGxR/oy6CbCs8ziCsC7SqmhjfozqiJGc8Z11wrv9z9lYfY4K8l+H9TpjcMDX0xOZmx+RA==", "dependencies": { - "follow-redirects": "^1.15.0", + "follow-redirects": "^1.15.4", "form-data": "^4.0.0", "proxy-from-env": "^1.1.0" } @@ -164,9 +164,9 @@ } }, "node_modules/follow-redirects": { - "version": "1.15.3", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.3.tgz", - "integrity": "sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q==", + "version": "1.15.5", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz", + "integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==", "funding": [ { "type": "individual", @@ -196,11 +196,11 @@ } }, "node_modules/jira.js": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/jira.js/-/jira.js-3.0.0.tgz", - "integrity": "sha512-7Tn76xsjbIfQwZ8GHePGG6SknwrQ1wBUr06cYhwyQUTB4PKM+cHJY2Kwa5GLA+4I0a7ILREICiuV7hMFUzIwkA==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/jira.js/-/jira.js-3.0.2.tgz", + "integrity": "sha512-yysfjFYIFPE/hp8pJ/u3q6OBX/KYm4nMsmQym7JSO2pIJ4bIbdDLuz1DDGcHqi1DflfOSBKYc2BlJXTl5IZUEA==", "dependencies": { - "axios": "^1.5.1", + "axios": "^1.6.3", "form-data": "^4.0.0", "tslib": "^2.6.2" } @@ -236,9 +236,9 @@ "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" }, "node_modules/ts-node": { - "version": "10.9.1", - "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.1.tgz", - "integrity": "sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==", + "version": "10.9.2", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.2.tgz", + "integrity": "sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==", "dev": true, "dependencies": { "@cspotcode/source-map-support": "^0.8.0", @@ -284,9 +284,9 @@ "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" }, "node_modules/typescript": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz", - "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz", + "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==", "dev": true, "bin": { "tsc": "bin/tsc", diff --git a/examples/package.json b/examples/package.json index 3ab0f27fa0..13a547caf4 100644 --- a/examples/package.json +++ b/examples/package.json @@ -12,9 +12,9 @@ }, "license": "MIT", "devDependencies": { - "@types/node": "^20.9.0", - "ts-node": "^10.9.1", - "typescript": "^5.2.2" + "@types/node": "^20.11.20", + "ts-node": "^10.9.2", + "typescript": "^5.3.3" }, "dependencies": { "jira.js": "latest" diff --git a/examples/src/addFixVersion.ts b/examples/src/addFixVersion.ts index f100fcce27..67ba38f60d 100644 --- a/examples/src/addFixVersion.ts +++ b/examples/src/addFixVersion.ts @@ -1,5 +1,5 @@ -import { createIssue } from './utils'; import { Version3Client } from 'jira.js'; +import { createIssue } from './utils'; import { apiToken, email, host } from './credentials'; async function addFixVersion() { @@ -22,7 +22,7 @@ async function addFixVersion() { console.log(fix); } -void addFixVersion().catch(e => { +addFixVersion().catch(e => { console.error(e); throw new Error(e.errorMessages?.join(' ')); diff --git a/examples/src/addWorklog.ts b/examples/src/addWorklog.ts index a7631bf6a0..2b9fefc932 100644 --- a/examples/src/addWorklog.ts +++ b/examples/src/addWorklog.ts @@ -1,5 +1,5 @@ -import { createIssue } from './utils'; import { Version3Client } from 'jira.js'; +import { createIssue } from './utils'; import { apiToken, email, host } from './credentials'; async function addWorklog() { diff --git a/examples/src/getAllWorklogs.ts b/examples/src/getAllWorklogs.ts index 04d4bc49d8..2fa9fa6304 100644 --- a/examples/src/getAllWorklogs.ts +++ b/examples/src/getAllWorklogs.ts @@ -25,6 +25,7 @@ async function getAllWorklogs() { let total = 0; do { + // eslint-disable-next-line no-await-in-loop const worklogsPaginated = await client.issueWorklogs.getIssueWorklog({ issueIdOrKey: issue.key, startAt: offset }); offset += worklogsPaginated.worklogs.length; diff --git a/examples/src/utils/createIssue.ts b/examples/src/utils/createIssue.ts index b44b7fb0d1..9ae5c54cd9 100644 --- a/examples/src/utils/createIssue.ts +++ b/examples/src/utils/createIssue.ts @@ -19,7 +19,7 @@ export const createIssue = async (client: Version3Client) => { }); return client.issues.getIssue({ issueIdOrKey: id }); - } else { - throw new Error('First create a project'); } + + throw new Error('First create a project'); }; diff --git a/package-lock.json b/package-lock.json index a05440355e..e9ec0a3315 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,37 +1,36 @@ { "name": "jira.js", - "version": "3.0.2", + "version": "3.0.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "jira.js", - "version": "3.0.2", + "version": "3.0.3", "license": "MIT", "dependencies": { - "axios": "^1.6.3", + "axios": "^1.6.7", "form-data": "^4.0.0", "tslib": "^2.6.2" }, "devDependencies": { - "@swc-node/register": "^1.6.8", - "@swc/helpers": "^0.5.3", - "@types/node": "^18.19.4", - "@types/sinon": "^17.0.2", - "@typescript-eslint/eslint-plugin": "^6.17.0", - "@typescript-eslint/parser": "^6.17.0", - "ava": "^6.0.1", - "dotenv": "^16.3.1", - "eslint": "^8.56.0", - "eslint-config-airbnb": "^19.0.4", - "eslint-config-airbnb-typescript": "^17.1.0", + "@swc-node/register": "^1.8.0", + "@swc/helpers": "^0.5.6", + "@types/node": "^18.19.18", + "@types/sinon": "^17.0.3", + "@typescript-eslint/eslint-plugin": "^7.0.2", + "@typescript-eslint/parser": "^7.0.2", + "ava": "^6.1.1", + "dotenv": "^16.4.5", + "eslint": "^8.57.0", + "eslint-config-airbnb-base": "^15.0.0", "eslint-import-resolver-typescript": "^3.6.1", "eslint-plugin-import": "^2.29.1", - "prettier": "^3.1.1", + "prettier": "^3.2.5", "prettier-plugin-jsdoc": "^1.3.0", "sinon": "^17.0.1", "ts-node": "^10.9.2", - "typedoc": "^0.25.6", + "typedoc": "^0.25.8", "typedoc-plugin-extras": "^3.0.0", "typescript": "^5.3.3" } @@ -45,19 +44,6 @@ "node": ">=0.10.0" } }, - "node_modules/@babel/runtime": { - "version": "7.23.7", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.23.7.tgz", - "integrity": "sha512-w06OXVOFso7LcbzMiDGt+3X7Rh7Ho8MmgPoWU3rarH+8upf+wSU/grlGbWzQyr3DkdN6ZeuMFjpdwW0Q+HxobA==", - "dev": true, - "peer": true, - "dependencies": { - "regenerator-runtime": "^0.14.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@cspotcode/source-map-support": { "version": "0.8.1", "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", @@ -140,22 +126,22 @@ } }, "node_modules/@eslint/js": { - "version": "8.56.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.56.0.tgz", - "integrity": "sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A==", + "version": "8.57.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz", + "integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==", "dev": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, "node_modules/@humanwhocodes/config-array": { - "version": "0.11.13", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.13.tgz", - "integrity": "sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ==", + "version": "0.11.14", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz", + "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==", "dev": true, "dependencies": { - "@humanwhocodes/object-schema": "^2.0.1", - "debug": "^4.1.1", + "@humanwhocodes/object-schema": "^2.0.2", + "debug": "^4.3.1", "minimatch": "^3.0.5" }, "engines": { @@ -198,15 +184,15 @@ } }, "node_modules/@humanwhocodes/object-schema": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.1.tgz", - "integrity": "sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.2.tgz", + "integrity": "sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw==", "dev": true }, "node_modules/@jridgewell/resolve-uri": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz", - "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", "dev": true, "engines": { "node": ">=6.0.0" @@ -309,9 +295,9 @@ } }, "node_modules/@sindresorhus/merge-streams": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-1.0.0.tgz", - "integrity": "sha512-rUV5WyJrJLoloD4NDN1V1+LDMDWOa4OTsT4yYJwQNpTU6FWxkxHpL7eu4w+DmiH8x/EAM1otkPE1+LaspIbplw==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-2.3.0.tgz", + "integrity": "sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==", "dev": true, "engines": { "node": ">=18" @@ -321,9 +307,9 @@ } }, "node_modules/@sinonjs/commons": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.0.tgz", - "integrity": "sha512-jXBtWAF4vmdNmZgD5FoKsVLv3rPgDnLgPbU84LIJ3otV44vJlDRokVng5v8NFJdCf/da9legHcKaRuZs4L7faA==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.1.tgz", + "integrity": "sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ==", "dev": true, "dependencies": { "type-detect": "4.0.8" @@ -365,9 +351,9 @@ "dev": true }, "node_modules/@swc-node/core": { - "version": "1.10.6", - "resolved": "https://registry.npmjs.org/@swc-node/core/-/core-1.10.6.tgz", - "integrity": "sha512-lDIi/rPosmKIknWzvs2/Fi9zWRtbkx8OJ9pQaevhsoGzJSal8Pd315k1W5AIrnknfdAB4HqRN12fk6AhqnrEEw==", + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/@swc-node/core/-/core-1.12.0.tgz", + "integrity": "sha512-AYrEmPL2BT46wbikHwSMR5IK98SelBEYH+ycjalUxJ5xYjEupjF8Fd+NkadKoZAzf5zDtysFKd5R1PY4QBHIiw==", "dev": true, "engines": { "node": ">= 10" @@ -377,21 +363,22 @@ "url": "https://github.com/sponsors/Brooooooklyn" }, "peerDependencies": { - "@swc/core": ">= 1.3" + "@swc/core": ">= 1.3", + "@swc/types": ">= 0.1" } }, "node_modules/@swc-node/register": { - "version": "1.6.8", - "resolved": "https://registry.npmjs.org/@swc-node/register/-/register-1.6.8.tgz", - "integrity": "sha512-74ijy7J9CWr1Z88yO+ykXphV29giCrSpANQPQRooE0bObpkTO1g4RzQovIfbIaniBiGDDVsYwDoQ3FIrCE8HcQ==", + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/@swc-node/register/-/register-1.8.0.tgz", + "integrity": "sha512-8K3589HoBSmVmrEVrtr4K5sWEithpGDzcFGic81OW0A9sZY38IV5EGRODQWCk0SBDyLhaF+pid120vJAtsHo1A==", "dev": true, "dependencies": { - "@swc-node/core": "^1.10.6", - "@swc-node/sourcemap-support": "^0.3.0", - "colorette": "^2.0.19", + "@swc-node/core": "^1.12.0", + "@swc-node/sourcemap-support": "^0.4.0", + "colorette": "^2.0.20", "debug": "^4.3.4", - "pirates": "^4.0.5", - "tslib": "^2.5.0" + "pirates": "^4.0.6", + "tslib": "^2.6.2" }, "funding": { "type": "github", @@ -403,24 +390,24 @@ } }, "node_modules/@swc-node/sourcemap-support": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/@swc-node/sourcemap-support/-/sourcemap-support-0.3.0.tgz", - "integrity": "sha512-gqBJSmJMWomZFxlppaKea7NeAqFrDrrS0RMt24No92M3nJWcyI9YKGEQKl+EyJqZ5gh6w1s0cTklMHMzRwA1NA==", + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/@swc-node/sourcemap-support/-/sourcemap-support-0.4.0.tgz", + "integrity": "sha512-weuRmYTO+4yOtHtPZHXlPdA1dJJJp3QOoZAFZ6uZidu992F2X5v1fQdnb26xs1o3Ex/e2sYhRyY5R6NGNuoATQ==", "dev": true, "dependencies": { "source-map-support": "^0.5.21", - "tslib": "^2.5.0" + "tslib": "^2.6.2" } }, "node_modules/@swc/core": { - "version": "1.3.102", - "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.3.102.tgz", - "integrity": "sha512-OAjNLY/f6QWKSDzaM3bk31A+OYHu6cPa9P/rFIx8X5d24tHXUpRiiq6/PYI6SQRjUPlB72GjsjoEU8F+ALadHg==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.4.2.tgz", + "integrity": "sha512-vWgY07R/eqj1/a0vsRKLI9o9klGZfpLNOVEnrv4nrccxBgYPjcf22IWwAoaBJ+wpA7Q4fVjCUM8lP0m01dpxcg==", "dev": true, "hasInstallScript": true, "peer": true, "dependencies": { - "@swc/counter": "^0.1.1", + "@swc/counter": "^0.1.2", "@swc/types": "^0.1.5" }, "engines": { @@ -431,16 +418,16 @@ "url": "https://opencollective.com/swc" }, "optionalDependencies": { - "@swc/core-darwin-arm64": "1.3.102", - "@swc/core-darwin-x64": "1.3.102", - "@swc/core-linux-arm-gnueabihf": "1.3.102", - "@swc/core-linux-arm64-gnu": "1.3.102", - "@swc/core-linux-arm64-musl": "1.3.102", - "@swc/core-linux-x64-gnu": "1.3.102", - "@swc/core-linux-x64-musl": "1.3.102", - "@swc/core-win32-arm64-msvc": "1.3.102", - "@swc/core-win32-ia32-msvc": "1.3.102", - "@swc/core-win32-x64-msvc": "1.3.102" + "@swc/core-darwin-arm64": "1.4.2", + "@swc/core-darwin-x64": "1.4.2", + "@swc/core-linux-arm-gnueabihf": "1.4.2", + "@swc/core-linux-arm64-gnu": "1.4.2", + "@swc/core-linux-arm64-musl": "1.4.2", + "@swc/core-linux-x64-gnu": "1.4.2", + "@swc/core-linux-x64-musl": "1.4.2", + "@swc/core-win32-arm64-msvc": "1.4.2", + "@swc/core-win32-ia32-msvc": "1.4.2", + "@swc/core-win32-x64-msvc": "1.4.2" }, "peerDependencies": { "@swc/helpers": "^0.5.0" @@ -452,9 +439,9 @@ } }, "node_modules/@swc/core-darwin-arm64": { - "version": "1.3.102", - "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.3.102.tgz", - "integrity": "sha512-CJDxA5Wd2cUMULj3bjx4GEoiYyyiyL8oIOu4Nhrs9X+tlg8DnkCm4nI57RJGP8Mf6BaXPIJkHX8yjcefK2RlDA==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.4.2.tgz", + "integrity": "sha512-1uSdAn1MRK5C1m/TvLZ2RDvr0zLvochgrZ2xL+lRzugLlCTlSA+Q4TWtrZaOz+vnnFVliCpw7c7qu0JouhgQIw==", "cpu": [ "arm64" ], @@ -469,9 +456,9 @@ } }, "node_modules/@swc/core-darwin-x64": { - "version": "1.3.102", - "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.3.102.tgz", - "integrity": "sha512-X5akDkHwk6oAer49oER0qZMjNMkLH3IOZaV1m98uXIasAGyjo5WH1MKPeMLY1sY6V6TrufzwiSwD4ds571ytcg==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.4.2.tgz", + "integrity": "sha512-TYD28+dCQKeuxxcy7gLJUCFLqrwDZnHtC2z7cdeGfZpbI2mbfppfTf2wUPzqZk3gEC96zHd4Yr37V3Tvzar+lQ==", "cpu": [ "x64" ], @@ -486,9 +473,9 @@ } }, "node_modules/@swc/core-linux-arm-gnueabihf": { - "version": "1.3.102", - "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.3.102.tgz", - "integrity": "sha512-kJH3XtZP9YQdjq/wYVBeFuiVQl4HaC4WwRrIxAHwe2OyvrwUI43dpW3LpxSggBnxXcVCXYWf36sTnv8S75o2Gw==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.4.2.tgz", + "integrity": "sha512-Eyqipf7ZPGj0vplKHo8JUOoU1un2sg5PjJMpEesX0k+6HKE2T8pdyeyXODN0YTFqzndSa/J43EEPXm+rHAsLFQ==", "cpu": [ "arm" ], @@ -503,9 +490,9 @@ } }, "node_modules/@swc/core-linux-arm64-gnu": { - "version": "1.3.102", - "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.3.102.tgz", - "integrity": "sha512-flQP2WDyCgO24WmKA1wjjTx+xfCmavUete2Kp6yrM+631IHLGnr17eu7rYJ/d4EnDBId/ytMyrnWbTVkaVrpbQ==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.4.2.tgz", + "integrity": "sha512-wZn02DH8VYPv3FC0ub4my52Rttsus/rFw+UUfzdb3tHMHXB66LqN+rR0ssIOZrH6K+VLN6qpTw9VizjyoH0BxA==", "cpu": [ "arm64" ], @@ -520,9 +507,9 @@ } }, "node_modules/@swc/core-linux-arm64-musl": { - "version": "1.3.102", - "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.3.102.tgz", - "integrity": "sha512-bQEQSnC44DyoIGLw1+fNXKVGoCHi7eJOHr8BdH0y1ooy9ArskMjwobBFae3GX4T1AfnrTaejyr0FvLYIb0Zkog==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.4.2.tgz", + "integrity": "sha512-3G0D5z9hUj9bXNcwmA1eGiFTwe5rWkuL3DsoviTj73TKLpk7u64ND0XjEfO0huVv4vVu9H1jodrKb7nvln/dlw==", "cpu": [ "arm64" ], @@ -537,9 +524,9 @@ } }, "node_modules/@swc/core-linux-x64-gnu": { - "version": "1.3.102", - "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.3.102.tgz", - "integrity": "sha512-dFvnhpI478svQSxqISMt00MKTDS0e4YtIr+ioZDG/uJ/q+RpcNy3QI2KMm05Fsc8Y0d4krVtvCKWgfUMsJZXAg==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.4.2.tgz", + "integrity": "sha512-LFxn9U8cjmYHw3jrdPNqPAkBGglKE3tCZ8rA7hYyp0BFxuo7L2ZcEnPm4RFpmSCCsExFH+LEJWuMGgWERoktvg==", "cpu": [ "x64" ], @@ -554,9 +541,9 @@ } }, "node_modules/@swc/core-linux-x64-musl": { - "version": "1.3.102", - "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.3.102.tgz", - "integrity": "sha512-+a0M3CvjeIRNA/jTCzWEDh2V+mhKGvLreHOL7J97oULZy5yg4gf7h8lQX9J8t9QLbf6fsk+0F8bVH1Ie/PbXjA==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.4.2.tgz", + "integrity": "sha512-dp0fAmreeVVYTUcb4u9njTPrYzKnbIH0EhH2qvC9GOYNNREUu2GezSIDgonjOXkHiTCvopG4xU7y56XtXj4VrQ==", "cpu": [ "x64" ], @@ -571,9 +558,9 @@ } }, "node_modules/@swc/core-win32-arm64-msvc": { - "version": "1.3.102", - "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.3.102.tgz", - "integrity": "sha512-w76JWLjkZNOfkB25nqdWUNCbt0zJ41CnWrJPZ+LxEai3zAnb2YtgB/cCIrwxDebRuMgE9EJXRj7gDDaTEAMOOQ==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.4.2.tgz", + "integrity": "sha512-HlVIiLMQkzthAdqMslQhDkoXJ5+AOLUSTV6fm6shFKZKqc/9cJvr4S8UveNERL9zUficA36yM3bbfo36McwnvQ==", "cpu": [ "arm64" ], @@ -588,9 +575,9 @@ } }, "node_modules/@swc/core-win32-ia32-msvc": { - "version": "1.3.102", - "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.3.102.tgz", - "integrity": "sha512-vlDb09HiGqKwz+2cxDS9T5/461ipUQBplvuhW+cCbzzGuPq8lll2xeyZU0N1E4Sz3MVdSPx1tJREuRvlQjrwNg==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.4.2.tgz", + "integrity": "sha512-WCF8faPGjCl4oIgugkp+kL9nl3nUATlzKXCEGFowMEmVVCFM0GsqlmGdPp1pjZoWc9tpYanoXQDnp5IvlDSLhA==", "cpu": [ "ia32" ], @@ -605,9 +592,9 @@ } }, "node_modules/@swc/core-win32-x64-msvc": { - "version": "1.3.102", - "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.3.102.tgz", - "integrity": "sha512-E/jfSD7sShllxBwwgDPeXp1UxvIqehj/ShSUqq1pjR/IDRXngcRSXKJK92mJkNFY7suH6BcCWwzrxZgkO7sWmw==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.4.2.tgz", + "integrity": "sha512-oV71rwiSpA5xre2C5570BhCsg1HF97SNLsZ/12xv7zayGzqr3yvFALFJN8tHKpqUdCB4FGPjoP3JFdV3i+1wUw==", "cpu": [ "x64" ], @@ -622,16 +609,16 @@ } }, "node_modules/@swc/counter": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/@swc/counter/-/counter-0.1.2.tgz", - "integrity": "sha512-9F4ys4C74eSTEUNndnER3VJ15oru2NumfQxS8geE+f3eB5xvfxpWyqE5XlVnxb/R14uoXi6SLbBwwiDSkv+XEw==", + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/@swc/counter/-/counter-0.1.3.tgz", + "integrity": "sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==", "dev": true, "peer": true }, "node_modules/@swc/helpers": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.3.tgz", - "integrity": "sha512-FaruWX6KdudYloq1AHD/4nU+UsMTdNE8CKyrseXWEcgjDAbvkwJg2QGPAnfIJLIWsjZOSPLOAykK6fuYp4vp4A==", + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.6.tgz", + "integrity": "sha512-aYX01Ke9hunpoCexYAgQucEpARGQ5w/cqHFrIR+e9gdKb1QWTsVJuTJ2ozQzIAxLyRQe/m+2RqzkyOOGiMKRQA==", "dev": true, "dependencies": { "tslib": "^2.4.0" @@ -705,24 +692,24 @@ "dev": true }, "node_modules/@types/node": { - "version": "18.19.4", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.4.tgz", - "integrity": "sha512-xNzlUhzoHotIsnFoXmJB+yWmBvFZgKCI9TtPIEdYIMM1KWfwuY8zh7wvc1u1OAXlC7dlf6mZVx/s+Y5KfFz19A==", + "version": "18.19.18", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.18.tgz", + "integrity": "sha512-80CP7B8y4PzZF0GWx15/gVWRrB5y/bIjNI84NK3cmQJu0WZwvmj2WMA5LcofQFVfLqqCSp545+U2LsrVzX36Zg==", "dev": true, "dependencies": { "undici-types": "~5.26.4" } }, "node_modules/@types/semver": { - "version": "7.5.6", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.6.tgz", - "integrity": "sha512-dn1l8LaMea/IjDoHNd9J52uBbInB796CDffS6VdIxvqYCPSG0V0DzHp76GpaWnlhg88uYyPbXCDIowa86ybd5A==", + "version": "7.5.8", + "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.8.tgz", + "integrity": "sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==", "dev": true }, "node_modules/@types/sinon": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/@types/sinon/-/sinon-17.0.2.tgz", - "integrity": "sha512-Zt6heIGsdqERkxctIpvN5Pv3edgBrhoeb3yHyxffd4InN0AX2SVNKSrhdDZKGQICVOxWP/q4DyhpfPNMSrpIiA==", + "version": "17.0.3", + "resolved": "https://registry.npmjs.org/@types/sinon/-/sinon-17.0.3.tgz", + "integrity": "sha512-j3uovdn8ewky9kRBG19bOwaZbexJu/XjtkHyjvUgt4xfPFz18dcORIMqnYh66Fx3Powhcr85NT5+er3+oViapw==", "dev": true, "dependencies": { "@types/sinonjs__fake-timers": "*" @@ -741,16 +728,16 @@ "dev": true }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "6.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.17.0.tgz", - "integrity": "sha512-Vih/4xLXmY7V490dGwBQJTpIZxH4ZFH6eCVmQ4RFkB+wmaCTDAx4dtgoWwMNGKLkqRY1L6rPqzEbjorRnDo4rQ==", + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.0.2.tgz", + "integrity": "sha512-/XtVZJtbaphtdrWjr+CJclaCVGPtOdBpFEnvtNf/jRV0IiEemRrL0qABex/nEt8isYcnFacm3nPHYQwL+Wb7qg==", "dev": true, "dependencies": { "@eslint-community/regexpp": "^4.5.1", - "@typescript-eslint/scope-manager": "6.17.0", - "@typescript-eslint/type-utils": "6.17.0", - "@typescript-eslint/utils": "6.17.0", - "@typescript-eslint/visitor-keys": "6.17.0", + "@typescript-eslint/scope-manager": "7.0.2", + "@typescript-eslint/type-utils": "7.0.2", + "@typescript-eslint/utils": "7.0.2", + "@typescript-eslint/visitor-keys": "7.0.2", "debug": "^4.3.4", "graphemer": "^1.4.0", "ignore": "^5.2.4", @@ -766,8 +753,8 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^6.0.0 || ^6.0.0-alpha", - "eslint": "^7.0.0 || ^8.0.0" + "@typescript-eslint/parser": "^7.0.0", + "eslint": "^8.56.0" }, "peerDependenciesMeta": { "typescript": { @@ -776,15 +763,15 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "6.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.17.0.tgz", - "integrity": "sha512-C4bBaX2orvhK+LlwrY8oWGmSl4WolCfYm513gEccdWZj0CwGadbIADb0FtVEcI+WzUyjyoBj2JRP8g25E6IB8A==", + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.0.2.tgz", + "integrity": "sha512-GdwfDglCxSmU+QTS9vhz2Sop46ebNCXpPPvsByK7hu0rFGRHL+AusKQJ7SoN+LbLh6APFpQwHKmDSwN35Z700Q==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "6.17.0", - "@typescript-eslint/types": "6.17.0", - "@typescript-eslint/typescript-estree": "6.17.0", - "@typescript-eslint/visitor-keys": "6.17.0", + "@typescript-eslint/scope-manager": "7.0.2", + "@typescript-eslint/types": "7.0.2", + "@typescript-eslint/typescript-estree": "7.0.2", + "@typescript-eslint/visitor-keys": "7.0.2", "debug": "^4.3.4" }, "engines": { @@ -795,7 +782,7 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^7.0.0 || ^8.0.0" + "eslint": "^8.56.0" }, "peerDependenciesMeta": { "typescript": { @@ -804,13 +791,13 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "6.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.17.0.tgz", - "integrity": "sha512-RX7a8lwgOi7am0k17NUO0+ZmMOX4PpjLtLRgLmT1d3lBYdWH4ssBUbwdmc5pdRX8rXon8v9x8vaoOSpkHfcXGA==", + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.0.2.tgz", + "integrity": "sha512-l6sa2jF3h+qgN2qUMjVR3uCNGjWw4ahGfzIYsCtFrQJCjhbrDPdiihYT8FnnqFwsWX+20hK592yX9I2rxKTP4g==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.17.0", - "@typescript-eslint/visitor-keys": "6.17.0" + "@typescript-eslint/types": "7.0.2", + "@typescript-eslint/visitor-keys": "7.0.2" }, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -821,13 +808,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "6.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.17.0.tgz", - "integrity": "sha512-hDXcWmnbtn4P2B37ka3nil3yi3VCQO2QEB9gBiHJmQp5wmyQWqnjA85+ZcE8c4FqnaB6lBwMrPkgd4aBYz3iNg==", + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-7.0.2.tgz", + "integrity": "sha512-IKKDcFsKAYlk8Rs4wiFfEwJTQlHcdn8CLwLaxwd6zb8HNiMcQIFX9sWax2k4Cjj7l7mGS5N1zl7RCHOVwHq2VQ==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "6.17.0", - "@typescript-eslint/utils": "6.17.0", + "@typescript-eslint/typescript-estree": "7.0.2", + "@typescript-eslint/utils": "7.0.2", "debug": "^4.3.4", "ts-api-utils": "^1.0.1" }, @@ -839,7 +826,7 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^7.0.0 || ^8.0.0" + "eslint": "^8.56.0" }, "peerDependenciesMeta": { "typescript": { @@ -848,9 +835,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "6.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.17.0.tgz", - "integrity": "sha512-qRKs9tvc3a4RBcL/9PXtKSehI/q8wuU9xYJxe97WFxnzH8NWWtcW3ffNS+EWg8uPvIerhjsEZ+rHtDqOCiH57A==", + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.0.2.tgz", + "integrity": "sha512-ZzcCQHj4JaXFjdOql6adYV4B/oFOFjPOC9XYwCaZFRvqN8Llfvv4gSxrkQkd2u4Ci62i2c6W6gkDwQJDaRc4nA==", "dev": true, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -861,13 +848,13 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "6.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.17.0.tgz", - "integrity": "sha512-gVQe+SLdNPfjlJn5VNGhlOhrXz4cajwFd5kAgWtZ9dCZf4XJf8xmgCTLIqec7aha3JwgLI2CK6GY1043FRxZwg==", + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.0.2.tgz", + "integrity": "sha512-3AMc8khTcELFWcKcPc0xiLviEvvfzATpdPj/DXuOGIdQIIFybf4DMT1vKRbuAEOFMwhWt7NFLXRkbjsvKZQyvw==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.17.0", - "@typescript-eslint/visitor-keys": "6.17.0", + "@typescript-eslint/types": "7.0.2", + "@typescript-eslint/visitor-keys": "7.0.2", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -889,17 +876,17 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "6.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.17.0.tgz", - "integrity": "sha512-LofsSPjN/ITNkzV47hxas2JCsNCEnGhVvocfyOcLzT9c/tSZE7SfhS/iWtzP1lKNOEfLhRTZz6xqI8N2RzweSQ==", + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.0.2.tgz", + "integrity": "sha512-PZPIONBIB/X684bhT1XlrkjNZJIEevwkKDsdwfiu1WeqBxYEEdIgVDgm8/bbKHVu+6YOpeRqcfImTdImx/4Bsw==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", "@types/json-schema": "^7.0.12", "@types/semver": "^7.5.0", - "@typescript-eslint/scope-manager": "6.17.0", - "@typescript-eslint/types": "6.17.0", - "@typescript-eslint/typescript-estree": "6.17.0", + "@typescript-eslint/scope-manager": "7.0.2", + "@typescript-eslint/types": "7.0.2", + "@typescript-eslint/typescript-estree": "7.0.2", "semver": "^7.5.4" }, "engines": { @@ -910,16 +897,16 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^7.0.0 || ^8.0.0" + "eslint": "^8.56.0" } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "6.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.17.0.tgz", - "integrity": "sha512-H6VwB/k3IuIeQOyYczyyKN8wH6ed8EwliaYHLxOIhyF0dYEIsN8+Bk3GE19qafeMKyZJJHP8+O1HiFhFLUNKSg==", + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.0.2.tgz", + "integrity": "sha512-8Y+YiBmqPighbm5xA2k4wKTxRzx9EkBu7Rlw+WHqMvRJ3RPz/BMBO9b2ru0LUNmXg120PHUXD5+SWFy2R8DqlQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.17.0", + "@typescript-eslint/types": "7.0.2", "eslint-visitor-keys": "^3.4.1" }, "engines": { @@ -937,14 +924,15 @@ "dev": true }, "node_modules/@vercel/nft": { - "version": "0.24.4", - "resolved": "https://registry.npmjs.org/@vercel/nft/-/nft-0.24.4.tgz", - "integrity": "sha512-KjYAZty7boH5fi5udp6p+lNu6nawgs++pHW+3koErMgbRkkHuToGX/FwjN5clV1FcaM3udfd4zW/sUapkMgpZw==", + "version": "0.26.4", + "resolved": "https://registry.npmjs.org/@vercel/nft/-/nft-0.26.4.tgz", + "integrity": "sha512-j4jCOOXke2t8cHZCIxu1dzKLHLcFmYzC3yqAK6MfZznOL1QIJKd0xcFsXK3zcqzU7ScsE2zWkiMMNHGMHgp+FA==", "dev": true, "dependencies": { "@mapbox/node-pre-gyp": "^1.0.5", "@rollup/pluginutils": "^4.0.0", "acorn": "^8.6.0", + "acorn-import-attributes": "^1.9.2", "async-sema": "^3.1.1", "bindings": "^1.4.0", "estree-walker": "2.0.2", @@ -979,6 +967,15 @@ "node": ">=0.4.0" } }, + "node_modules/acorn-import-attributes": { + "version": "1.9.2", + "resolved": "https://registry.npmjs.org/acorn-import-attributes/-/acorn-import-attributes-1.9.2.tgz", + "integrity": "sha512-O+nfJwNolEA771IYJaiLWK1UAwjNsQmZbTRqqwBYxCgVQTmpFEMvBw6LOIQV0Me339L5UMVYFyRohGnGlQDdIQ==", + "dev": true, + "peerDependencies": { + "acorn": "^8" + } + }, "node_modules/acorn-jsx": { "version": "5.3.2", "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", @@ -989,9 +986,9 @@ } }, "node_modules/acorn-walk": { - "version": "8.3.1", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.1.tgz", - "integrity": "sha512-TgUZgYvqZprrl7YldZNoa9OciCAyZR+Ejm9eXzKCmjsF5IKp/wgQ7Z/ZpjpGTIUPwrHQIcYeI8qDh4PsEwxMbw==", + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.2.tgz", + "integrity": "sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A==", "dev": true, "engines": { "node": ">=0.4.0" @@ -1086,24 +1083,17 @@ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", "dev": true }, - "node_modules/aria-query": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.0.tgz", - "integrity": "sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==", - "dev": true, - "peer": true, - "dependencies": { - "dequal": "^2.0.3" - } - }, "node_modules/array-buffer-byte-length": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz", - "integrity": "sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.1.tgz", + "integrity": "sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg==", "dev": true, "dependencies": { - "call-bind": "^1.0.2", - "is-array-buffer": "^3.0.1" + "call-bind": "^1.0.5", + "is-array-buffer": "^3.0.4" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -1146,17 +1136,36 @@ "node": ">=8" } }, - "node_modules/array.prototype.findlastindex": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.3.tgz", - "integrity": "sha512-LzLoiOMAxvy+Gd3BAq3B7VeIgPdo+Q8hthvKtXybMvRV0jrXfJM/t8mw7nNlpEcVlVUnCnM2KSX4XU5HmpodOA==", + "node_modules/array.prototype.filter": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/array.prototype.filter/-/array.prototype.filter-1.0.3.tgz", + "integrity": "sha512-VizNcj/RGJiUyQBgzwxzE5oHdeuXY5hSbbmKMlphj1cy1Vl7Pn2asCGbSrru6hSQjmCzqTBPVWAF/whmEOVHbw==", "dev": true, "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.2.0", "es-abstract": "^1.22.1", - "es-shim-unscopables": "^1.0.0", - "get-intrinsic": "^1.2.1" + "es-array-method-boxes-properly": "^1.0.0", + "is-string": "^1.0.7" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.4.tgz", + "integrity": "sha512-hzvSHUshSpCflDR1QMUBLHGHP1VIEBegT4pix9H/Z92Xw3ySoy6c2qh7lJWTJnRJ8JCZ9bJNCgTyYaJGcJu6xQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.5", + "define-properties": "^1.2.1", + "es-abstract": "^1.22.3", + "es-errors": "^1.3.0", + "es-shim-unscopables": "^1.0.2" }, "engines": { "node": ">= 0.4" @@ -1201,32 +1210,19 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/array.prototype.tosorted": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/array.prototype.tosorted/-/array.prototype.tosorted-1.1.2.tgz", - "integrity": "sha512-HuQCHOlk1Weat5jzStICBCd83NxiIMwqDg/dHEsoefabn/hJRj5pVdWcPUSpRrwhwxZOsQassMpgN/xRYFBMIg==", - "dev": true, - "peer": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1", - "es-shim-unscopables": "^1.0.0", - "get-intrinsic": "^1.2.1" - } - }, "node_modules/arraybuffer.prototype.slice": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.2.tgz", - "integrity": "sha512-yMBKppFur/fbHu9/6USUe03bZ4knMYiwFBcyiaXB8Go0qNehwX6inYPzK9U0NeQvGxKthcmHcaR8P5MStSRBAw==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.3.tgz", + "integrity": "sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A==", "dev": true, "dependencies": { - "array-buffer-byte-length": "^1.0.0", - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1", - "get-intrinsic": "^1.2.1", - "is-array-buffer": "^3.0.2", + "array-buffer-byte-length": "^1.0.1", + "call-bind": "^1.0.5", + "define-properties": "^1.2.1", + "es-abstract": "^1.22.3", + "es-errors": "^1.2.1", + "get-intrinsic": "^1.2.3", + "is-array-buffer": "^3.0.4", "is-shared-array-buffer": "^1.0.2" }, "engines": { @@ -1257,43 +1253,26 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/ast-types-flow": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/ast-types-flow/-/ast-types-flow-0.0.8.tgz", - "integrity": "sha512-OH/2E5Fg20h2aPrbe+QL8JZQFko0YZaF+j4mnQ7BGhfavO7OpSLa8a0y9sBwomHdSbkhTS8TQNayBfnW5DwbvQ==", - "dev": true, - "peer": true - }, "node_modules/async-sema": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/async-sema/-/async-sema-3.1.1.tgz", "integrity": "sha512-tLRNUXati5MFePdAk8dw7Qt7DpxPB60ofAgn8WRhW6a2rcimZnYBP9oxHiv0OHy+Wz7kPMG+t4LGdt31+4EmGg==", "dev": true }, - "node_modules/asynciterator.prototype": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/asynciterator.prototype/-/asynciterator.prototype-1.0.0.tgz", - "integrity": "sha512-wwHYEIS0Q80f5mosx3L/dfG5t5rjEa9Ft51GTaNt862EnpyGHpgz2RkZvLPp1oF5TnAiTohkEKVEu8pQPJI7Vg==", - "dev": true, - "peer": true, - "dependencies": { - "has-symbols": "^1.0.3" - } - }, "node_modules/asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "node_modules/ava": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ava/-/ava-6.0.1.tgz", - "integrity": "sha512-9zR0wOwlcJdOWwHOKnpi0GrPRLTlxDFapGalP4rGD0oQRKxDVoucBBWvxVQ/2cPv10Hx1PkDXLJH5iUzhPn0/g==", + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/ava/-/ava-6.1.1.tgz", + "integrity": "sha512-A+DG0Ag0e5zvt262Ze0pG5QH7EBmhn+DB9uK7WkUtJVAtGjZFeKTpUOKx339DMGn53+FB24pCJC5klX2WU4VOw==", "dev": true, "dependencies": { - "@vercel/nft": "^0.24.4", - "acorn": "^8.11.2", - "acorn-walk": "^8.3.0", + "@vercel/nft": "^0.26.2", + "acorn": "^8.11.3", + "acorn-walk": "^8.3.2", "ansi-styles": "^6.2.1", "arrgv": "^1.0.2", "arrify": "^3.0.0", @@ -1319,11 +1298,11 @@ "matcher": "^5.0.0", "memoize": "^10.0.0", "ms": "^2.1.3", - "p-map": "^6.0.0", + "p-map": "^7.0.1", "package-config": "^5.0.0", "picomatch": "^3.0.1", "plur": "^5.1.0", - "pretty-ms": "^8.0.0", + "pretty-ms": "^9.0.0", "resolve-cwd": "^3.0.0", "stack-utils": "^2.0.6", "strip-ansi": "^7.1.0", @@ -1348,12 +1327,12 @@ } }, "node_modules/ava/node_modules/globby": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-14.0.0.tgz", - "integrity": "sha512-/1WM/LNHRAOH9lZta77uGbq0dAEQM+XjNesWwhlERDVenqothRbnzTrL3/LrIoEPPjeUHC3vrS6TwoyxeHs7MQ==", + "version": "14.0.1", + "resolved": "https://registry.npmjs.org/globby/-/globby-14.0.1.tgz", + "integrity": "sha512-jOMLD2Z7MAhyG8aJpNOpmziMOP4rPLcc95oQPKXBazW82z+CEgPFBQvEpRUa1KeIMUJo4Wsm+q6uzO/Q/4BksQ==", "dev": true, "dependencies": { - "@sindresorhus/merge-streams": "^1.0.0", + "@sindresorhus/merge-streams": "^2.1.0", "fast-glob": "^3.3.2", "ignore": "^5.2.4", "path-type": "^5.0.0", @@ -1392,10 +1371,13 @@ } }, "node_modules/available-typed-arrays": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", - "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", + "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", "dev": true, + "dependencies": { + "possible-typed-array-names": "^1.0.0" + }, "engines": { "node": ">= 0.4" }, @@ -1403,36 +1385,16 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/axe-core": { - "version": "4.7.0", - "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.7.0.tgz", - "integrity": "sha512-M0JtH+hlOL5pLQwHOLNYZaXuhqmvS8oExsqB1SBYgA4Dk7u/xx+YdGHXaK5pyUfed5mYXdlYiphWq3G8cRi5JQ==", - "dev": true, - "peer": true, - "engines": { - "node": ">=4" - } - }, "node_modules/axios": { - "version": "1.6.3", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.3.tgz", - "integrity": "sha512-fWyNdeawGam70jXSVlKl+SUNVcL6j6W79CuSIPfi6HnDUmSCH6gyUys/HrqHeA/wU0Az41rRgean494d0Jb+ww==", + "version": "1.6.7", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.7.tgz", + "integrity": "sha512-/hDJGff6/c7u0hDkvkGxR/oy6CbCs8ziCsC7SqmhjfozqiJGc8Z11wrv9z9lYfY4K8l+H9TpjcMDX0xOZmx+RA==", "dependencies": { - "follow-redirects": "^1.15.0", + "follow-redirects": "^1.15.4", "form-data": "^4.0.0", "proxy-from-env": "^1.1.0" } }, - "node_modules/axobject-query": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-3.2.1.tgz", - "integrity": "sha512-jsyHu61e6N4Vbz/v18DHwWYKK0bSWLqn47eeDSKPB7m8tqMHF9YJ+mhIk2lVteyZrY8tnSj/jHOv4YiTCuCJgg==", - "dev": true, - "peer": true, - "dependencies": { - "dequal": "^2.0.3" - } - }, "node_modules/balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", @@ -1488,14 +1450,19 @@ "dev": true }, "node_modules/call-bind": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.5.tgz", - "integrity": "sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", + "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", "dev": true, "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.1", - "set-function-length": "^1.1.1" + "get-intrinsic": "^1.2.4", + "set-function-length": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -1514,9 +1481,9 @@ } }, "node_modules/cbor": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/cbor/-/cbor-9.0.1.tgz", - "integrity": "sha512-/TQOWyamDxvVIv+DY9cOLNuABkoyz8K/F3QE56539pGVYohx0+MEA1f4lChFTX79dBTBS7R1PF6ovH7G+VtBfQ==", + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/cbor/-/cbor-9.0.2.tgz", + "integrity": "sha512-JPypkxsB10s9QOWwa6zwPzqE1Md3vqpPc+cai4sAecuCsRyAtAl/pMyhPlMbT/xtPnm2dznJZYRLui57qiRhaQ==", "dev": true, "dependencies": { "nofilter": "^3.1.0" @@ -1812,13 +1779,6 @@ "node": ">=0.10.0" } }, - "node_modules/damerau-levenshtein": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz", - "integrity": "sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==", - "dev": true, - "peer": true - }, "node_modules/date-time": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/date-time/-/date-time-3.1.0.tgz", @@ -1874,17 +1834,20 @@ "dev": true }, "node_modules/define-data-property": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.1.tgz", - "integrity": "sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==", + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", + "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", "dev": true, "dependencies": { - "get-intrinsic": "^1.2.1", - "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.0" + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" }, "engines": { "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/define-properties": { @@ -1950,9 +1913,9 @@ } }, "node_modules/diff": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/diff/-/diff-5.1.0.tgz", - "integrity": "sha512-D+mk+qE8VC/PAUrlAU34N+VfXev0ghe5ywmpqrawphmVZc1bEfn56uo9qpyGp1p4xpzOHkSW4ztBd6L7Xx4ACw==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-5.2.0.tgz", + "integrity": "sha512-uIFDxqpRZGZ6ThOk84hEfqWoHx2devRFvpTZcTHur85vImfaxUbTW9Ryh4CpCuDnToOP1CEtXKIgytHBPVff5A==", "dev": true, "engines": { "node": ">=0.3.1" @@ -1983,21 +1946,21 @@ } }, "node_modules/dotenv": { - "version": "16.3.1", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.3.1.tgz", - "integrity": "sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ==", + "version": "16.4.5", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.5.tgz", + "integrity": "sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==", "dev": true, "engines": { "node": ">=12" }, "funding": { - "url": "https://github.com/motdotla/dotenv?sponsor=1" + "url": "https://dotenvx.com" } }, "node_modules/emittery": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/emittery/-/emittery-1.0.1.tgz", - "integrity": "sha512-2ID6FdrMD9KDLldGesP6317G78K7km/kMcwItRtVFva7I/cSEOIaLpewaUb+YLXVwdAp3Ctfxh/V5zIl1sj7dQ==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/emittery/-/emittery-1.0.3.tgz", + "integrity": "sha512-tJdCJitoy2lrC2ldJcqN4vkqJ00lT+tOWNT1hBJjO/3FDMJa5TTIiYGCKGkn/WfCyOzUMObeohbVTj00fhiLiA==", "dev": true, "engines": { "node": ">=14.16" @@ -2007,11 +1970,10 @@ } }, "node_modules/emoji-regex": { - "version": "9.2.2", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", - "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", - "dev": true, - "peer": true + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.3.0.tgz", + "integrity": "sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==", + "dev": true }, "node_modules/enhanced-resolve": { "version": "5.15.0", @@ -2027,50 +1989,52 @@ } }, "node_modules/es-abstract": { - "version": "1.22.3", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.22.3.tgz", - "integrity": "sha512-eiiY8HQeYfYH2Con2berK+To6GrK2RxbPawDkGq4UiCQQfZHb6wX9qQqkbpPqaxQFcl8d9QzZqo0tGE0VcrdwA==", - "dev": true, - "dependencies": { - "array-buffer-byte-length": "^1.0.0", - "arraybuffer.prototype.slice": "^1.0.2", - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.5", - "es-set-tostringtag": "^2.0.1", + "version": "1.22.4", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.22.4.tgz", + "integrity": "sha512-vZYJlk2u6qHYxBOTjAeg7qUxHdNfih64Uu2J8QqWgXZ2cri0ZpJAkzDUK/q593+mvKwlxyaxr6F1Q+3LKoQRgg==", + "dev": true, + "dependencies": { + "array-buffer-byte-length": "^1.0.1", + "arraybuffer.prototype.slice": "^1.0.3", + "available-typed-arrays": "^1.0.6", + "call-bind": "^1.0.7", + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "es-set-tostringtag": "^2.0.2", "es-to-primitive": "^1.2.1", "function.prototype.name": "^1.1.6", - "get-intrinsic": "^1.2.2", - "get-symbol-description": "^1.0.0", + "get-intrinsic": "^1.2.4", + "get-symbol-description": "^1.0.2", "globalthis": "^1.0.3", "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.0", + "has-property-descriptors": "^1.0.2", "has-proto": "^1.0.1", "has-symbols": "^1.0.3", - "hasown": "^2.0.0", - "internal-slot": "^1.0.5", - "is-array-buffer": "^3.0.2", + "hasown": "^2.0.1", + "internal-slot": "^1.0.7", + "is-array-buffer": "^3.0.4", "is-callable": "^1.2.7", "is-negative-zero": "^2.0.2", "is-regex": "^1.1.4", "is-shared-array-buffer": "^1.0.2", "is-string": "^1.0.7", - "is-typed-array": "^1.1.12", + "is-typed-array": "^1.1.13", "is-weakref": "^1.0.2", "object-inspect": "^1.13.1", "object-keys": "^1.1.1", - "object.assign": "^4.1.4", - "regexp.prototype.flags": "^1.5.1", - "safe-array-concat": "^1.0.1", - "safe-regex-test": "^1.0.0", + "object.assign": "^4.1.5", + "regexp.prototype.flags": "^1.5.2", + "safe-array-concat": "^1.1.0", + "safe-regex-test": "^1.0.3", "string.prototype.trim": "^1.2.8", "string.prototype.trimend": "^1.0.7", "string.prototype.trimstart": "^1.0.7", - "typed-array-buffer": "^1.0.0", + "typed-array-buffer": "^1.0.1", "typed-array-byte-length": "^1.0.0", "typed-array-byte-offset": "^1.0.0", "typed-array-length": "^1.0.4", "unbox-primitive": "^1.0.2", - "which-typed-array": "^1.1.13" + "which-typed-array": "^1.1.14" }, "engines": { "node": ">= 0.4" @@ -2079,38 +2043,42 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/es-iterator-helpers": { - "version": "1.0.15", - "resolved": "https://registry.npmjs.org/es-iterator-helpers/-/es-iterator-helpers-1.0.15.tgz", - "integrity": "sha512-GhoY8uYqd6iwUl2kgjTm4CZAf6oo5mHK7BPqx3rKgx893YSsy0LGHV6gfqqQvZt/8xM8xeOnfXBCfqclMKkJ5g==", + "node_modules/es-array-method-boxes-properly": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-array-method-boxes-properly/-/es-array-method-boxes-properly-1.0.0.tgz", + "integrity": "sha512-wd6JXUmyHmt8T5a2xreUwKcGPq6f1f+WwIJkijUqiGcJz1qqnZgP6XIK+QyIWU5lT7imeNxUll48bziG+TSYcA==", + "dev": true + }, + "node_modules/es-define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", + "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", "dev": true, - "peer": true, "dependencies": { - "asynciterator.prototype": "^1.0.0", - "call-bind": "^1.0.2", - "define-properties": "^1.2.1", - "es-abstract": "^1.22.1", - "es-set-tostringtag": "^2.0.1", - "function-bind": "^1.1.1", - "get-intrinsic": "^1.2.1", - "globalthis": "^1.0.3", - "has-property-descriptors": "^1.0.0", - "has-proto": "^1.0.1", - "has-symbols": "^1.0.3", - "internal-slot": "^1.0.5", - "iterator.prototype": "^1.1.2", - "safe-array-concat": "^1.0.1" + "get-intrinsic": "^1.2.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "dev": true, + "engines": { + "node": ">= 0.4" } }, "node_modules/es-set-tostringtag": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.2.tgz", - "integrity": "sha512-BuDyupZt65P9D2D2vA/zqcI3G5xRsklm5N3xCwuiy+/vKy8i0ifdsQP1sLgO4tZDSCaQUSnmC48khknGMV3D2Q==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.3.tgz", + "integrity": "sha512-3T8uNMC3OQTHkFUsFq8r/BwAXLHvU/9O9mE0fBc/MY5iq/8H7ncvO947LmYA6ldWw9Uh8Yhf25zu6n7nML5QWQ==", "dev": true, "dependencies": { - "get-intrinsic": "^1.2.2", - "has-tostringtag": "^1.0.0", - "hasown": "^2.0.0" + "get-intrinsic": "^1.2.4", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.1" }, "engines": { "node": ">= 0.4" @@ -2143,9 +2111,9 @@ } }, "node_modules/escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz", + "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==", "dev": true, "engines": { "node": ">=6" @@ -2164,16 +2132,16 @@ } }, "node_modules/eslint": { - "version": "8.56.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.56.0.tgz", - "integrity": "sha512-Go19xM6T9puCOWntie1/P997aXxFsOi37JIHRWI514Hc6ZnaHGKY9xFhrU65RT6CcBEzZoGG1e6Nq+DT04ZtZQ==", + "version": "8.57.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz", + "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", "@eslint/eslintrc": "^2.1.4", - "@eslint/js": "8.56.0", - "@humanwhocodes/config-array": "^0.11.13", + "@eslint/js": "8.57.0", + "@humanwhocodes/config-array": "^0.11.14", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", "@ungap/structured-clone": "^1.2.0", @@ -2218,27 +2186,6 @@ "url": "https://opencollective.com/eslint" } }, - "node_modules/eslint-config-airbnb": { - "version": "19.0.4", - "resolved": "https://registry.npmjs.org/eslint-config-airbnb/-/eslint-config-airbnb-19.0.4.tgz", - "integrity": "sha512-T75QYQVQX57jiNgpF9r1KegMICE94VYwoFQyMGhrvc+lB8YF2E/M/PYDaQe1AJcWaEgqLE+ErXV1Og/+6Vyzew==", - "dev": true, - "dependencies": { - "eslint-config-airbnb-base": "^15.0.0", - "object.assign": "^4.1.2", - "object.entries": "^1.1.5" - }, - "engines": { - "node": "^10.12.0 || ^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "peerDependencies": { - "eslint": "^7.32.0 || ^8.2.0", - "eslint-plugin-import": "^2.25.3", - "eslint-plugin-jsx-a11y": "^6.5.1", - "eslint-plugin-react": "^7.28.0", - "eslint-plugin-react-hooks": "^4.3.0" - } - }, "node_modules/eslint-config-airbnb-base": { "version": "15.0.0", "resolved": "https://registry.npmjs.org/eslint-config-airbnb-base/-/eslint-config-airbnb-base-15.0.0.tgz", @@ -2267,21 +2214,6 @@ "semver": "bin/semver.js" } }, - "node_modules/eslint-config-airbnb-typescript": { - "version": "17.1.0", - "resolved": "https://registry.npmjs.org/eslint-config-airbnb-typescript/-/eslint-config-airbnb-typescript-17.1.0.tgz", - "integrity": "sha512-GPxI5URre6dDpJ0CtcthSZVBAfI+Uw7un5OYNVxP2EYi3H81Jw701yFP7AU+/vCE7xBtFmjge7kfhhk4+RAiig==", - "dev": true, - "dependencies": { - "eslint-config-airbnb-base": "^15.0.0" - }, - "peerDependencies": { - "@typescript-eslint/eslint-plugin": "^5.13.0 || ^6.0.0", - "@typescript-eslint/parser": "^5.0.0 || ^6.0.0", - "eslint": "^7.32.0 || ^8.2.0", - "eslint-plugin-import": "^2.25.3" - } - }, "node_modules/eslint-import-resolver-node": { "version": "0.3.9", "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz", @@ -2436,170 +2368,6 @@ "semver": "bin/semver.js" } }, - "node_modules/eslint-plugin-jsx-a11y": { - "version": "6.8.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.8.0.tgz", - "integrity": "sha512-Hdh937BS3KdwwbBaKd5+PLCOmYY6U4f2h9Z2ktwtNKvIdIEu137rjYbcb9ApSbVJfWxANNuiKTD/9tOKjK9qOA==", - "dev": true, - "peer": true, - "dependencies": { - "@babel/runtime": "^7.23.2", - "aria-query": "^5.3.0", - "array-includes": "^3.1.7", - "array.prototype.flatmap": "^1.3.2", - "ast-types-flow": "^0.0.8", - "axe-core": "=4.7.0", - "axobject-query": "^3.2.1", - "damerau-levenshtein": "^1.0.8", - "emoji-regex": "^9.2.2", - "es-iterator-helpers": "^1.0.15", - "hasown": "^2.0.0", - "jsx-ast-utils": "^3.3.5", - "language-tags": "^1.0.9", - "minimatch": "^3.1.2", - "object.entries": "^1.1.7", - "object.fromentries": "^2.0.7" - }, - "engines": { - "node": ">=4.0" - }, - "peerDependencies": { - "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8" - } - }, - "node_modules/eslint-plugin-jsx-a11y/node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "peer": true, - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/eslint-plugin-jsx-a11y/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "peer": true, - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/eslint-plugin-react": { - "version": "7.33.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.33.2.tgz", - "integrity": "sha512-73QQMKALArI8/7xGLNI/3LylrEYrlKZSb5C9+q3OtOewTnMQi5cT+aE9E41sLCmli3I9PGGmD1yiZydyo4FEPw==", - "dev": true, - "peer": true, - "dependencies": { - "array-includes": "^3.1.6", - "array.prototype.flatmap": "^1.3.1", - "array.prototype.tosorted": "^1.1.1", - "doctrine": "^2.1.0", - "es-iterator-helpers": "^1.0.12", - "estraverse": "^5.3.0", - "jsx-ast-utils": "^2.4.1 || ^3.0.0", - "minimatch": "^3.1.2", - "object.entries": "^1.1.6", - "object.fromentries": "^2.0.6", - "object.hasown": "^1.1.2", - "object.values": "^1.1.6", - "prop-types": "^15.8.1", - "resolve": "^2.0.0-next.4", - "semver": "^6.3.1", - "string.prototype.matchall": "^4.0.8" - }, - "engines": { - "node": ">=4" - }, - "peerDependencies": { - "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8" - } - }, - "node_modules/eslint-plugin-react-hooks": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz", - "integrity": "sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==", - "dev": true, - "peer": true, - "engines": { - "node": ">=10" - }, - "peerDependencies": { - "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0" - } - }, - "node_modules/eslint-plugin-react/node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "peer": true, - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/eslint-plugin-react/node_modules/doctrine": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", - "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", - "dev": true, - "peer": true, - "dependencies": { - "esutils": "^2.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/eslint-plugin-react/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "peer": true, - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/eslint-plugin-react/node_modules/resolve": { - "version": "2.0.0-next.5", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.5.tgz", - "integrity": "sha512-U7WjGVG9sH8tvjW5SmGbQuui75FiyjAX72HX15DwBBwF9dNiQZRQAg9nnPhYy+TUnE0+VcrttuvNI8oSxZcocA==", - "dev": true, - "peer": true, - "dependencies": { - "is-core-module": "^2.13.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - }, - "bin": { - "resolve": "bin/resolve" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/eslint-plugin-react/node_modules/semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "dev": true, - "peer": true, - "bin": { - "semver": "bin/semver.js" - } - }, "node_modules/eslint-scope": { "version": "7.2.2", "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", @@ -2833,9 +2601,9 @@ "dev": true }, "node_modules/fastq": { - "version": "1.16.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.16.0.tgz", - "integrity": "sha512-ifCoaXsDrsdkWTtiNJX5uzHDsrck5TzfKKDcuFFTIrrc/BS076qgEIfoIy1VeZqViznfKiysPYTh/QeHtnIsYA==", + "version": "1.17.1", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", + "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==", "dev": true, "dependencies": { "reusify": "^1.0.4" @@ -2929,15 +2697,15 @@ } }, "node_modules/flatted": { - "version": "3.2.9", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.9.tgz", - "integrity": "sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==", + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz", + "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==", "dev": true }, "node_modules/follow-redirects": { - "version": "1.15.4", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.4.tgz", - "integrity": "sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw==", + "version": "1.15.5", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz", + "integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==", "funding": [ { "type": "individual", @@ -3133,28 +2901,33 @@ } }, "node_modules/get-intrinsic": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.2.tgz", - "integrity": "sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==", + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", + "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", "dev": true, "dependencies": { + "es-errors": "^1.3.0", "function-bind": "^1.1.2", "has-proto": "^1.0.1", "has-symbols": "^1.0.3", "hasown": "^2.0.0" }, + "engines": { + "node": ">= 0.4" + }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/get-symbol-description": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", - "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.2.tgz", + "integrity": "sha512-g0QYk1dZBxGwk+Ngc+ltRH2IBp2f7zBkBMBJZCDerh6EhlhSR6+9irMCuT/09zD6qkarHUSn529sK/yL4S27mg==", "dev": true, "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.1" + "call-bind": "^1.0.5", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.4" }, "engines": { "node": ">= 0.4" @@ -3322,21 +3095,21 @@ } }, "node_modules/has-property-descriptors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.1.tgz", - "integrity": "sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", + "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", "dev": true, "dependencies": { - "get-intrinsic": "^1.2.2" + "es-define-property": "^1.0.0" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/has-proto": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", - "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", + "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", "dev": true, "engines": { "node": ">= 0.4" @@ -3358,12 +3131,12 @@ } }, "node_modules/has-tostringtag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", - "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", + "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", "dev": true, "dependencies": { - "has-symbols": "^1.0.2" + "has-symbols": "^1.0.3" }, "engines": { "node": ">= 0.4" @@ -3379,9 +3152,9 @@ "dev": true }, "node_modules/hasown": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz", - "integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.1.tgz", + "integrity": "sha512-1/th4MHjnwncwXsIW6QMzlvYL9kG5e/CpVvLRZe4XPa8TOUNbCELqmvhDmnkNsAjwaG4+I8gJJL0JBvTTLO9qA==", "dev": true, "dependencies": { "function-bind": "^1.1.2" @@ -3404,9 +3177,9 @@ } }, "node_modules/ignore": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.0.tgz", - "integrity": "sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==", + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", + "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", "dev": true, "engines": { "node": ">= 4" @@ -3484,12 +3257,12 @@ "dev": true }, "node_modules/internal-slot": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.6.tgz", - "integrity": "sha512-Xj6dv+PsbtwyPpEflsejS+oIZxmMlV44zAhG479uYu89MsjcYOhCFnNyKrkJrihbsiasQyY0afoCl/9BLR65bg==", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.7.tgz", + "integrity": "sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g==", "dev": true, "dependencies": { - "get-intrinsic": "^1.2.2", + "es-errors": "^1.3.0", "hasown": "^2.0.0", "side-channel": "^1.0.4" }, @@ -3507,27 +3280,13 @@ } }, "node_modules/is-array-buffer": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.2.tgz", - "integrity": "sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.4.tgz", + "integrity": "sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw==", "dev": true, "dependencies": { "call-bind": "^1.0.2", - "get-intrinsic": "^1.2.0", - "is-typed-array": "^1.1.10" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-async-function": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-async-function/-/is-async-function-2.0.0.tgz", - "integrity": "sha512-Y1JXKrfykRJGdlDwdKlLpLyMIiWqWvuSd17TvZk68PLAOGOoF4Xyav1z0Xhoi+gCYjZVeC5SI+hYFOfvXmGRCA==", - "dev": true, - "peer": true, - "dependencies": { - "has-tostringtag": "^1.0.0" + "get-intrinsic": "^1.2.1" }, "engines": { "node": ">= 0.4" @@ -3612,19 +3371,6 @@ "node": ">=0.10.0" } }, - "node_modules/is-finalizationregistry": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-finalizationregistry/-/is-finalizationregistry-1.0.2.tgz", - "integrity": "sha512-0by5vtUJs8iFQb5TYUHHPudOR+qXYIMKtiUzvLIZITZUjknFmziyBJuLhVRc+Ds0dREFlskDNJKYIdIzu/9pfw==", - "dev": true, - "peer": true, - "dependencies": { - "call-bind": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-fullwidth-code-point": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz", @@ -3637,22 +3383,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-generator-function": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", - "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", - "dev": true, - "peer": true, - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-glob": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", @@ -3665,20 +3395,10 @@ "node": ">=0.10.0" } }, - "node_modules/is-map": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.2.tgz", - "integrity": "sha512-cOZFQQozTha1f4MxLFzlgKYPTyj26picdZTx82hbc/Xf4K/tZOOXSCkMvU4pKioRXGDLJRn0GM7Upe7kR721yg==", - "dev": true, - "peer": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-negative-zero": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", - "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.3.tgz", + "integrity": "sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==", "dev": true, "engines": { "node": ">= 0.4" @@ -3751,23 +3471,16 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-set": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.2.tgz", - "integrity": "sha512-+2cnTEZeY5z/iXGbLhPrOAaK/Mau5k5eXq9j14CpRTftq0pAJu2MwVRSZhyZWBzx3o6X795Lz6Bpb6R0GKf37g==", - "dev": true, - "peer": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-shared-array-buffer": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz", - "integrity": "sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.3.tgz", + "integrity": "sha512-nA2hv5XIhLR3uVzDDfCIknerhx8XUKnstuOERPNNIinXG7v9u+ohXF67vxm4TPTEPU6lm61ZkwP3c9PCB97rhg==", "dev": true, "dependencies": { - "call-bind": "^1.0.2" + "call-bind": "^1.0.7" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -3804,12 +3517,12 @@ } }, "node_modules/is-typed-array": { - "version": "1.1.12", - "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.12.tgz", - "integrity": "sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg==", + "version": "1.1.13", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.13.tgz", + "integrity": "sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==", "dev": true, "dependencies": { - "which-typed-array": "^1.1.11" + "which-typed-array": "^1.1.14" }, "engines": { "node": ">= 0.4" @@ -3825,19 +3538,9 @@ "dev": true, "engines": { "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-weakmap": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-weakmap/-/is-weakmap-2.0.1.tgz", - "integrity": "sha512-NSBR4kH5oVj1Uwvv970ruUkCV7O1mzgVFO4/rev2cLRda9Tm9HrL70ZPut4rOHgY0FNrUu9BCbXA2sdQ+x0chA==", - "dev": true, - "peer": true, + }, "funding": { - "url": "https://github.com/sponsors/ljharb" + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/is-weakref": { @@ -3852,20 +3555,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-weakset": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/is-weakset/-/is-weakset-2.0.2.tgz", - "integrity": "sha512-t2yVvttHkQktwnNNmBQ98AhENLdPUTDTE21uPqAQ0ARwQfGeQKRVS0NNurH7bTf7RrvcVn1OOge45CnBeHCSmg==", - "dev": true, - "peer": true, - "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.1" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/isarray": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", @@ -3878,20 +3567,6 @@ "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", "dev": true }, - "node_modules/iterator.prototype": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/iterator.prototype/-/iterator.prototype-1.1.2.tgz", - "integrity": "sha512-DR33HMMr8EzwuRL8Y9D3u2BMj8+RqSE850jfGu59kS7tbmPLzGkZmVSfyCFSDxuZiEY6Rzt3T2NA/qU+NwVj1w==", - "dev": true, - "peer": true, - "dependencies": { - "define-properties": "^1.2.1", - "get-intrinsic": "^1.2.1", - "has-symbols": "^1.0.3", - "reflect.getprototypeof": "^1.0.4", - "set-function-name": "^2.0.1" - } - }, "node_modules/js-string-escape": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/js-string-escape/-/js-string-escape-1.0.1.tgz", @@ -3901,13 +3576,6 @@ "node": ">= 0.8" } }, - "node_modules/js-tokens": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "dev": true, - "peer": true - }, "node_modules/js-yaml": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", @@ -3951,31 +3619,15 @@ } }, "node_modules/jsonc-parser": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", - "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.1.tgz", + "integrity": "sha512-AilxAyFOAcK5wA1+LeaySVBrHsGQvUFCDWXKpZjzaL0PqW+xfBOttn8GNtWKFWqneyMZj41MWF9Kl6iPWLwgOA==", "dev": true }, - "node_modules/jsx-ast-utils": { - "version": "3.3.5", - "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.5.tgz", - "integrity": "sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==", - "dev": true, - "peer": true, - "dependencies": { - "array-includes": "^3.1.6", - "array.prototype.flat": "^1.3.1", - "object.assign": "^4.1.4", - "object.values": "^1.1.6" - }, - "engines": { - "node": ">=4.0" - } - }, "node_modules/just-extend": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/just-extend/-/just-extend-4.2.1.tgz", - "integrity": "sha512-g3UB796vUFIY90VIv/WX3L2c8CS2MdWUww3CNrYmqza1Fg0DURc2K/O4YrnklBdQarSJ/y8JnJYDGc+1iumQjg==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/just-extend/-/just-extend-6.2.0.tgz", + "integrity": "sha512-cYofQu2Xpom82S6qD778jBDpwvvy39s1l/hrYij2u9AMdQcGRpaBu6kY4mVhuno5kJVi1DAz4aiphA2WI1/OAw==", "dev": true }, "node_modules/keyv": { @@ -3987,26 +3639,6 @@ "json-buffer": "3.0.1" } }, - "node_modules/language-subtag-registry": { - "version": "0.3.22", - "resolved": "https://registry.npmjs.org/language-subtag-registry/-/language-subtag-registry-0.3.22.tgz", - "integrity": "sha512-tN0MCzyWnoz/4nHS6uxdlFWoUZT7ABptwKPQ52Ea7URk6vll88bWBVhodtnlfEuCcKWNGoc+uGbw1cwa9IKh/w==", - "dev": true, - "peer": true - }, - "node_modules/language-tags": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/language-tags/-/language-tags-1.0.9.tgz", - "integrity": "sha512-MbjN408fEndfiQXbFQ1vnd+1NoLDsnQW41410oQBXiyXDMYH5z505juWa4KUE1LqxRC7DgOgZDbKLxHIwm27hA==", - "dev": true, - "peer": true, - "dependencies": { - "language-subtag-registry": "^0.3.20" - }, - "engines": { - "node": ">=0.10" - } - }, "node_modules/levn": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", @@ -4065,19 +3697,6 @@ "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", "dev": true }, - "node_modules/loose-envify": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", - "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", - "dev": true, - "peer": true, - "dependencies": { - "js-tokens": "^3.0.0 || ^4.0.0" - }, - "bin": { - "loose-envify": "cli.js" - } - }, "node_modules/lru-cache": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", @@ -4415,9 +4034,9 @@ } }, "node_modules/micromark-util-character": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-util-character/-/micromark-util-character-2.0.1.tgz", - "integrity": "sha512-3wgnrmEAJ4T+mGXAUfMvMAbxU9RDG43XmGce4j6CwPtVxB3vfwXSZ6KhFwDzZ3mZHhmPimMAXg71veiBGzeAZw==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-util-character/-/micromark-util-character-2.1.0.tgz", + "integrity": "sha512-KvOVV+X1yLBfs9dCBSopq/+G1PcgT3lAK07mC4BzXi5E7ahzMAF8oIupDDJ6mievI6F+lAATkbQQlQixJfT3aQ==", "dev": true, "funding": [ { @@ -4819,43 +4438,16 @@ "dev": true }, "node_modules/nise": { - "version": "5.1.5", - "resolved": "https://registry.npmjs.org/nise/-/nise-5.1.5.tgz", - "integrity": "sha512-VJuPIfUFaXNRzETTQEEItTOP8Y171ijr+JLq42wHes3DiryR8vT+1TXQW/Rx8JNUhyYYWyIvjXTU6dOhJcs9Nw==", - "dev": true, - "dependencies": { - "@sinonjs/commons": "^2.0.0", - "@sinonjs/fake-timers": "^10.0.2", - "@sinonjs/text-encoding": "^0.7.1", - "just-extend": "^4.0.2", - "path-to-regexp": "^1.7.0" - } - }, - "node_modules/nise/node_modules/@sinonjs/commons": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-2.0.0.tgz", - "integrity": "sha512-uLa0j859mMrg2slwQYdO/AkrOfmH+X6LTVmNTS9CqexuE2IvVORIkSpJLqePAbEnKJ77aMmCwr1NUZ57120Xcg==", - "dev": true, - "dependencies": { - "type-detect": "4.0.8" - } - }, - "node_modules/nise/node_modules/@sinonjs/fake-timers": { - "version": "10.3.0", - "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.3.0.tgz", - "integrity": "sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==", - "dev": true, - "dependencies": { - "@sinonjs/commons": "^3.0.0" - } - }, - "node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.0.tgz", - "integrity": "sha512-jXBtWAF4vmdNmZgD5FoKsVLv3rPgDnLgPbU84LIJ3otV44vJlDRokVng5v8NFJdCf/da9legHcKaRuZs4L7faA==", + "version": "5.1.9", + "resolved": "https://registry.npmjs.org/nise/-/nise-5.1.9.tgz", + "integrity": "sha512-qOnoujW4SV6e40dYxJOb3uvuoPHtmLzIk4TFo+j0jPJoC+5Z9xja5qH5JZobEPsa8+YYphMrOSwnrshEhG2qww==", "dev": true, "dependencies": { - "type-detect": "4.0.8" + "@sinonjs/commons": "^3.0.0", + "@sinonjs/fake-timers": "^11.2.2", + "@sinonjs/text-encoding": "^0.7.2", + "just-extend": "^6.2.0", + "path-to-regexp": "^6.2.1" } }, "node_modules/node-fetch": { @@ -4879,9 +4471,9 @@ } }, "node_modules/node-gyp-build": { - "version": "4.7.1", - "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.7.1.tgz", - "integrity": "sha512-wTSrZ+8lsRRa3I3H8Xr65dLWSgCvY2l4AOnaeKdPA9TB/WYMPaTcrzf3rXvFoVvjKNVnu0CcWSx54qq9GKRUYg==", + "version": "4.8.0", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.8.0.tgz", + "integrity": "sha512-u6fs2AEUljNho3EYTJNBfImO5QTo/J/1Etd+NVdCj7qWKUSN/bSLkZwhDv7I+w/MSC6qJ4cknepkAYykDdK8og==", "dev": true, "bin": { "node-gyp-build": "bin.js", @@ -5002,29 +4594,16 @@ } }, "node_modules/object.groupby": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/object.groupby/-/object.groupby-1.0.1.tgz", - "integrity": "sha512-HqaQtqLnp/8Bn4GL16cj+CUYbnpe1bh0TtEaWvybszDG4tgxCJuRpV8VGuvNaI1fAnI4lUJzDG55MXcOH4JZcQ==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1", - "get-intrinsic": "^1.2.1" - } - }, - "node_modules/object.hasown": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/object.hasown/-/object.hasown-1.1.3.tgz", - "integrity": "sha512-fFI4VcYpRHvSLXxP7yiZOMAd331cPfd2p7PFDVbgUsYOfCT3tICVqXWngbjr4m49OvsBwUBQ6O2uQoJvy3RexA==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/object.groupby/-/object.groupby-1.0.2.tgz", + "integrity": "sha512-bzBq58S+x+uo0VjurFT0UktpKHOZmv4/xePiOA1nbB9pMqpGK7rUPNgf+1YC+7mE+0HzhTMqNUuCqvKhj6FnBw==", "dev": true, - "peer": true, "dependencies": { - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "array.prototype.filter": "^1.0.3", + "call-bind": "^1.0.5", + "define-properties": "^1.2.1", + "es-abstract": "^1.22.3", + "es-errors": "^1.0.0" } }, "node_modules/object.values": { @@ -5101,12 +4680,12 @@ } }, "node_modules/p-map": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-6.0.0.tgz", - "integrity": "sha512-T8BatKGY+k5rU+Q/GTYgrEf2r4xRMevAN5mtXc2aPc4rS1j3s+vWTaO2Wag94neXuCAUAs8cxBL9EeB5EA6diw==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-7.0.1.tgz", + "integrity": "sha512-2wnaR0XL/FDOj+TgpDuRb2KTjLnu3Fma6b1ZUwGY7LcqenMcvP/YFpjpbPKY6WVGsbuJZRuoUz8iPrt8ORnAFw==", "dev": true, "engines": { - "node": ">=16" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -5150,12 +4729,12 @@ } }, "node_modules/parse-ms": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/parse-ms/-/parse-ms-3.0.0.tgz", - "integrity": "sha512-Tpb8Z7r7XbbtBTrM9UhpkzzaMrqA2VXMT3YChzYltwV3P3pM6t8wl7TvpMnSTosz1aQAdVib7kdoys7vYOPerw==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-ms/-/parse-ms-4.0.0.tgz", + "integrity": "sha512-TXfryirbmq34y8QBwgqCVLi+8oA3oWx2eAnSn62ITyEhEYaWRlVZ2DvMM9eZbMs/RfxPu/PK/aBLyGj4IrqMHw==", "dev": true, "engines": { - "node": ">=12" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -5195,18 +4774,9 @@ "dev": true }, "node_modules/path-to-regexp": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.8.0.tgz", - "integrity": "sha512-n43JRhlUKUAlibEJhPeir1ncUID16QnEjNpwzNdO3Lm4ywrBpBZ5oLD0I6br9evr1Y9JTqwRtAh7JLoOzAQdVA==", - "dev": true, - "dependencies": { - "isarray": "0.0.1" - } - }, - "node_modules/path-to-regexp/node_modules/isarray": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", - "integrity": "sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ==", + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.2.1.tgz", + "integrity": "sha512-JLyh7xT1kizaEvcaXOQwOc2/Yhw6KZOvPf1S8401UyLk86CU79LN3vl7ztXGm/pZ+YjoyAJ4rxmHwbkBXJX+yw==", "dev": true }, "node_modules/path-type": { @@ -5254,6 +4824,15 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/possible-typed-array-names": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz", + "integrity": "sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==", + "dev": true, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/prelude-ls": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", @@ -5264,9 +4843,9 @@ } }, "node_modules/prettier": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.1.1.tgz", - "integrity": "sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==", + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.5.tgz", + "integrity": "sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==", "dev": true, "bin": { "prettier": "bin/prettier.cjs" @@ -5296,32 +4875,20 @@ } }, "node_modules/pretty-ms": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/pretty-ms/-/pretty-ms-8.0.0.tgz", - "integrity": "sha512-ASJqOugUF1bbzI35STMBUpZqdfYKlJugy6JBziGi2EE+AL5JPJGSzvpeVXojxrr0ViUYoToUjb5kjSEGf7Y83Q==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/pretty-ms/-/pretty-ms-9.0.0.tgz", + "integrity": "sha512-E9e9HJ9R9NasGOgPaPE8VMeiPKAyWR5jcFpNnwIejslIhWqdqOrb2wShBsncMPUb+BcCd2OPYfh7p2W6oemTng==", "dev": true, "dependencies": { - "parse-ms": "^3.0.0" + "parse-ms": "^4.0.0" }, "engines": { - "node": ">=14.16" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/prop-types": { - "version": "15.8.1", - "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", - "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", - "dev": true, - "peer": true, - "dependencies": { - "loose-envify": "^1.4.0", - "object-assign": "^4.1.1", - "react-is": "^16.13.1" - } - }, "node_modules/proxy-from-env": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", @@ -5356,13 +4923,6 @@ } ] }, - "node_modules/react-is": { - "version": "16.13.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", - "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", - "dev": true, - "peer": true - }, "node_modules/readable-stream": { "version": "3.6.2", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", @@ -5377,43 +4937,16 @@ "node": ">= 6" } }, - "node_modules/reflect.getprototypeof": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.4.tgz", - "integrity": "sha512-ECkTw8TmJwW60lOTR+ZkODISW6RQ8+2CL3COqtiJKLd6MmB45hN51HprHFziKLGkAuTGQhBb91V8cy+KHlaCjw==", - "dev": true, - "peer": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1", - "get-intrinsic": "^1.2.1", - "globalthis": "^1.0.3", - "which-builtin-type": "^1.1.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/regenerator-runtime": { - "version": "0.14.1", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz", - "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==", - "dev": true, - "peer": true - }, "node_modules/regexp.prototype.flags": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.1.tgz", - "integrity": "sha512-sy6TXMN+hnP/wMy+ISxg3krXx7BAtWVO4UouuCN/ziM9UEne0euamVNafDfvC83bRNr95y0V5iijeDQFUNpvrg==", + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.2.tgz", + "integrity": "sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw==", "dev": true, "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "set-function-name": "^2.0.0" + "call-bind": "^1.0.6", + "define-properties": "^1.2.1", + "es-errors": "^1.3.0", + "set-function-name": "^2.0.1" }, "engines": { "node": ">= 0.4" @@ -5527,13 +5060,13 @@ } }, "node_modules/safe-array-concat": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.0.1.tgz", - "integrity": "sha512-6XbUAseYE2KtOuGueyeobCySj9L4+66Tn6KQMOPQJrAJEowYKW/YR/MGJZl7FdydUdaFu4LYyDZjxf4/Nmo23Q==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.0.tgz", + "integrity": "sha512-ZdQ0Jeb9Ofti4hbt5lX3T2JcAamT9hfzYU1MNB+z/jaEbB6wfFfPIR/zEORmZqobkCCJhSjodobH6WHNmJ97dg==", "dev": true, "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.2.1", + "call-bind": "^1.0.5", + "get-intrinsic": "^1.2.2", "has-symbols": "^1.0.3", "isarray": "^2.0.5" }, @@ -5565,23 +5098,26 @@ ] }, "node_modules/safe-regex-test": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.0.tgz", - "integrity": "sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.3.tgz", + "integrity": "sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw==", "dev": true, "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.3", + "call-bind": "^1.0.6", + "es-errors": "^1.3.0", "is-regex": "^1.1.4" }, + "engines": { + "node": ">= 0.4" + }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", + "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", "dev": true, "dependencies": { "lru-cache": "^6.0.0" @@ -5627,29 +5163,32 @@ "dev": true }, "node_modules/set-function-length": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.1.1.tgz", - "integrity": "sha512-VoaqjbBJKiWtg4yRcKBQ7g7wnGnLV3M8oLvVWwOk2PdYY6PEFegR1vezXR0tw6fZGF9csVakIRjrJiy2veSBFQ==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.1.tgz", + "integrity": "sha512-j4t6ccc+VsKwYHso+kElc5neZpjtq9EnRICFZtWyBsLojhmeF/ZBd/elqm22WJh/BziDe/SBiOeAt0m2mfLD0g==", "dev": true, "dependencies": { - "define-data-property": "^1.1.1", - "get-intrinsic": "^1.2.1", + "define-data-property": "^1.1.2", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.3", "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.0" + "has-property-descriptors": "^1.0.1" }, "engines": { "node": ">= 0.4" } }, "node_modules/set-function-name": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.1.tgz", - "integrity": "sha512-tMNCiqYVkXIZgc2Hnoy2IvC/f8ezc5koaRFkCjrpWzGpCd3qbZXPzVy9MAZzK1ch/X0jvSkojys3oqJN0qCmdA==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.2.tgz", + "integrity": "sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==", "dev": true, "dependencies": { - "define-data-property": "^1.0.1", + "define-data-property": "^1.1.4", + "es-errors": "^1.3.0", "functions-have-names": "^1.2.3", - "has-property-descriptors": "^1.0.0" + "has-property-descriptors": "^1.0.2" }, "engines": { "node": ">= 0.4" @@ -5689,14 +5228,18 @@ } }, "node_modules/side-channel": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", - "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.5.tgz", + "integrity": "sha512-QcgiIWV4WV7qWExbN5llt6frQB/lBven9pqliLXfGPB+K9ZYXxDozp0wLkHS24kWCm+6YXH/f0HhnObZnZOBnQ==", "dev": true, "dependencies": { - "call-bind": "^1.0.0", - "get-intrinsic": "^1.0.2", - "object-inspect": "^1.9.0" + "call-bind": "^1.0.6", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.4", + "object-inspect": "^1.13.1" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -5807,9 +5350,9 @@ } }, "node_modules/string-width": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.0.0.tgz", - "integrity": "sha512-GPQHj7row82Hjo9hKZieKcHIhaAIKOJvFSIZXuCU9OASVZrMNUaZuz++SPVrBjnLsnk4k+z9f2EIypgxf2vNFw==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.1.0.tgz", + "integrity": "sha512-SEIJCWiX7Kg4c129n48aDRwLbFb2LJmXXFrWBG4NGaRtMQ3myKPKbwrD1BKqQn74oCoNMBVrfDEr5M9YxCsrkw==", "dev": true, "dependencies": { "emoji-regex": "^10.3.0", @@ -5823,33 +5366,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/string-width/node_modules/emoji-regex": { - "version": "10.3.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.3.0.tgz", - "integrity": "sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==", - "dev": true - }, - "node_modules/string.prototype.matchall": { - "version": "4.0.10", - "resolved": "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.10.tgz", - "integrity": "sha512-rGXbGmOEosIQi6Qva94HUjgPs9vKW+dkG7Y8Q5O2OYkWL6wFaTRZO8zM4mhP94uX55wgyrXzfS2aGtGzUL7EJQ==", - "dev": true, - "peer": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1", - "get-intrinsic": "^1.2.1", - "has-symbols": "^1.0.3", - "internal-slot": "^1.0.5", - "regexp.prototype.flags": "^1.5.0", - "set-function-name": "^2.0.0", - "side-channel": "^1.0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/string.prototype.trim": { "version": "1.2.8", "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.8.tgz", @@ -6061,12 +5577,12 @@ "dev": true }, "node_modules/ts-api-utils": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.0.3.tgz", - "integrity": "sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.2.1.tgz", + "integrity": "sha512-RIYA36cJn2WiH9Hy77hdF9r7oEwxAtB/TS9/S4Qd90Ap4z5FSiin5zEiTL44OII1Y3IIlEvxwxFUVgrHSZ/UpA==", "dev": true, "engines": { - "node": ">=16.13.0" + "node": ">=16" }, "peerDependencies": { "typescript": ">=4.2.0" @@ -6175,29 +5691,30 @@ } }, "node_modules/typed-array-buffer": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.0.tgz", - "integrity": "sha512-Y8KTSIglk9OZEr8zywiIHG/kmQ7KWyjseXs1CbSo8vC42w7hg2HgYTxSWwP0+is7bWDc1H+Fo026CpHFwm8tkw==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.2.tgz", + "integrity": "sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ==", "dev": true, "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.2.1", - "is-typed-array": "^1.1.10" + "call-bind": "^1.0.7", + "es-errors": "^1.3.0", + "is-typed-array": "^1.1.13" }, "engines": { "node": ">= 0.4" } }, "node_modules/typed-array-byte-length": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.0.tgz", - "integrity": "sha512-Or/+kvLxNpeQ9DtSydonMxCx+9ZXOswtwJn17SNLvhptaXYDJvkFFP5zbfU/uLmvnBJlI4yrnXRxpdWH/M5tNA==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.1.tgz", + "integrity": "sha512-3iMJ9q0ao7WE9tWcaYKIptkNBuOIcZCCT0d4MRvuuH88fEoEH62IuQe0OtraD3ebQEoTRk8XCBoknUNc1Y67pw==", "dev": true, "dependencies": { - "call-bind": "^1.0.2", + "call-bind": "^1.0.7", "for-each": "^0.3.3", - "has-proto": "^1.0.1", - "is-typed-array": "^1.1.10" + "gopd": "^1.0.1", + "has-proto": "^1.0.3", + "is-typed-array": "^1.1.13" }, "engines": { "node": ">= 0.4" @@ -6207,16 +5724,17 @@ } }, "node_modules/typed-array-byte-offset": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.0.tgz", - "integrity": "sha512-RD97prjEt9EL8YgAgpOkf3O4IF9lhJFr9g0htQkm0rchFp/Vx7LW5Q8fSXXub7BXAODyUQohRMyOc3faCPd0hg==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.2.tgz", + "integrity": "sha512-Ous0vodHa56FviZucS2E63zkgtgrACj7omjwd/8lTEMEPFFyjfixMZ1ZXenpgCFBBt4EC1J2XsyVS2gkG0eTFA==", "dev": true, "dependencies": { - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.2", + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.7", "for-each": "^0.3.3", - "has-proto": "^1.0.1", - "is-typed-array": "^1.1.10" + "gopd": "^1.0.1", + "has-proto": "^1.0.3", + "is-typed-array": "^1.1.13" }, "engines": { "node": ">= 0.4" @@ -6226,23 +5744,29 @@ } }, "node_modules/typed-array-length": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.4.tgz", - "integrity": "sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.5.tgz", + "integrity": "sha512-yMi0PlwuznKHxKmcpoOdeLwxBoVPkqZxd7q2FgMkmD3bNwvF5VW0+UlUQ1k1vmktTu4Yu13Q0RIxEP8+B+wloA==", "dev": true, "dependencies": { - "call-bind": "^1.0.2", + "call-bind": "^1.0.7", "for-each": "^0.3.3", - "is-typed-array": "^1.1.9" + "gopd": "^1.0.1", + "has-proto": "^1.0.3", + "is-typed-array": "^1.1.13", + "possible-typed-array-names": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/typedoc": { - "version": "0.25.6", - "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.25.6.tgz", - "integrity": "sha512-1rdionQMpOkpA58qfym1J+YD+ukyA1IEIa4VZahQI2ZORez7dhOvEyUotQL/8rSoMBopdzOS+vAIsORpQO4cTA==", + "version": "0.25.8", + "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.25.8.tgz", + "integrity": "sha512-mh8oLW66nwmeB9uTa0Bdcjfis+48bAjSH3uqdzSuSawfduROQLlXw//WSNZLYDdhmMVB7YcYZicq6e8T0d271A==", "dev": true, "dependencies": { "lunr": "^2.3.9", @@ -6417,60 +5941,17 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/which-builtin-type": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/which-builtin-type/-/which-builtin-type-1.1.3.tgz", - "integrity": "sha512-YmjsSMDBYsM1CaFiayOVT06+KJeXf0o5M/CAd4o1lTadFAtacTUM49zoYxr/oroopFDfhvN6iEcBxUyc3gvKmw==", - "dev": true, - "peer": true, - "dependencies": { - "function.prototype.name": "^1.1.5", - "has-tostringtag": "^1.0.0", - "is-async-function": "^2.0.0", - "is-date-object": "^1.0.5", - "is-finalizationregistry": "^1.0.2", - "is-generator-function": "^1.0.10", - "is-regex": "^1.1.4", - "is-weakref": "^1.0.2", - "isarray": "^2.0.5", - "which-boxed-primitive": "^1.0.2", - "which-collection": "^1.0.1", - "which-typed-array": "^1.1.9" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/which-collection": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/which-collection/-/which-collection-1.0.1.tgz", - "integrity": "sha512-W8xeTUwaln8i3K/cY1nGXzdnVZlidBcagyNFtBdD5kxnb4TvGKR7FfSIS3mYpwWS1QUCutfKz8IY8RjftB0+1A==", - "dev": true, - "peer": true, - "dependencies": { - "is-map": "^2.0.1", - "is-set": "^2.0.1", - "is-weakmap": "^2.0.1", - "is-weakset": "^2.0.1" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/which-typed-array": { - "version": "1.1.13", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.13.tgz", - "integrity": "sha512-P5Nra0qjSncduVPEAr7xhoF5guty49ArDTwzJ/yNuPIbZppyRxFQsRCWrocxIY+CnMVG+qfbU2FmDKyvSGClow==", + "version": "1.1.14", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.14.tgz", + "integrity": "sha512-VnXFiIW8yNn9kIHN88xvZ4yOWchftKDsRJ8fEPacX/wl1lOvBrhsJ/OeJCXq7B0AaijRuqgzSKalJoPk+D8MPg==", "dev": true, "dependencies": { - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.4", + "available-typed-arrays": "^1.0.6", + "call-bind": "^1.0.5", "for-each": "^0.3.3", "gopd": "^1.0.1", - "has-tostringtag": "^1.0.0" + "has-tostringtag": "^1.0.1" }, "engines": { "node": ">= 0.4" diff --git a/package.json b/package.json index 60b94e2831..4e7ae62772 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jira.js", - "version": "3.0.2", + "version": "3.0.3", "description": "A comprehensive JavaScript/TypeScript library designed for both Node.JS and browsers, facilitating seamless interaction with the Atlassian Jira API.", "main": "out/index.js", "types": "out/index.d.ts", @@ -65,29 +65,28 @@ } }, "devDependencies": { - "@swc-node/register": "^1.6.8", - "@swc/helpers": "^0.5.3", - "@types/node": "^18.19.4", - "@types/sinon": "^17.0.2", - "@typescript-eslint/eslint-plugin": "^6.17.0", - "@typescript-eslint/parser": "^6.17.0", - "ava": "^6.0.1", - "dotenv": "^16.3.1", - "eslint": "^8.56.0", - "eslint-config-airbnb": "^19.0.4", - "eslint-config-airbnb-typescript": "^17.1.0", + "@swc-node/register": "^1.8.0", + "@swc/helpers": "^0.5.6", + "@types/node": "^18.19.18", + "@types/sinon": "^17.0.3", + "@typescript-eslint/eslint-plugin": "^7.0.2", + "@typescript-eslint/parser": "^7.0.2", + "ava": "^6.1.1", + "dotenv": "^16.4.5", + "eslint": "^8.57.0", + "eslint-config-airbnb-base": "^15.0.0", "eslint-import-resolver-typescript": "^3.6.1", "eslint-plugin-import": "^2.29.1", - "prettier": "^3.1.1", + "prettier": "^3.2.5", "prettier-plugin-jsdoc": "^1.3.0", "sinon": "^17.0.1", "ts-node": "^10.9.2", - "typedoc": "^0.25.6", + "typedoc": "^0.25.8", "typedoc-plugin-extras": "^3.0.0", "typescript": "^5.3.3" }, "dependencies": { - "axios": "^1.6.3", + "axios": "^1.6.7", "form-data": "^4.0.0", "tslib": "^2.6.2" } diff --git a/src/agile/parameters/partiallyUpdateEpic.ts b/src/agile/parameters/partiallyUpdateEpic.ts index d949f309df..61834e4e92 100644 --- a/src/agile/parameters/partiallyUpdateEpic.ts +++ b/src/agile/parameters/partiallyUpdateEpic.ts @@ -5,21 +5,21 @@ export interface PartiallyUpdateEpic { summary?: string; color?: { key?: - | 'color_1' - | 'color_2' - | 'color_3' - | 'color_4' - | 'color_5' - | 'color_6' - | 'color_7' - | 'color_8' - | 'color_9' - | 'color_10' - | 'color_11' - | 'color_12' - | 'color_13' - | 'color_14' - | string; + | 'color_1' + | 'color_2' + | 'color_3' + | 'color_4' + | 'color_5' + | 'color_6' + | 'color_7' + | 'color_8' + | 'color_9' + | 'color_10' + | 'color_11' + | 'color_12' + | 'color_13' + | 'color_14' + | string; }; done?: boolean; } diff --git a/src/agile/parameters/submitRemoteLinks.ts b/src/agile/parameters/submitRemoteLinks.ts index 1c69f05591..c96378b19e 100644 --- a/src/agile/parameters/submitRemoteLinks.ts +++ b/src/agile/parameters/submitRemoteLinks.ts @@ -48,16 +48,16 @@ export interface SubmitRemoteLinks { * 'prototype', 'coverage', 'bugReport' and 'other' */ type: - | 'document' - | 'alert' - | 'test' - | 'security' - | 'logFile' - | 'prototype' - | 'coverage' - | 'bugReport' - | 'other' - | string; + | 'document' + | 'alert' + | 'test' + | 'security' + | 'logFile' + | 'prototype' + | 'coverage' + | 'bugReport' + | 'other' + | string; /** * An optional description to attach to this Remote Link. * diff --git a/src/clients/baseClient.ts b/src/clients/baseClient.ts index c3354b5ba1..2578332b53 100644 --- a/src/clients/baseClient.ts +++ b/src/clients/baseClient.ts @@ -1,9 +1,9 @@ +import axios, { AxiosError, AxiosInstance, AxiosResponse } from 'axios'; import type { Callback } from '../callback'; import type { Client } from './client'; import type { Config } from '../config'; import { getAuthenticationToken } from '../services/authenticationService'; import type { RequestConfig } from '../requestConfig'; -import axios, { AxiosError, AxiosInstance, AxiosResponse } from 'axios'; const STRICT_GDPR_FLAG = 'x-atlassian-force-account-id'; const ATLASSIAN_TOKEN_CHECK_FLAG = 'X-Atlassian-Token'; @@ -14,6 +14,7 @@ export class BaseClient implements Client { constructor(protected readonly config: Config) { try { + // eslint-disable-next-line no-new new URL(config.host); } catch (e) { throw new Error( @@ -55,12 +56,11 @@ export class BaseClient implements Client { } else if (value instanceof Function) { const part = value(); + // eslint-disable-next-line consistent-return return part && parts.push(part); } parts.push(`${this.encode(key)}=${this.encode(value)}`); - - return; }); return parts.join('&'); diff --git a/src/config.ts b/src/config.ts index f17ffb161d..0ef049e40c 100644 --- a/src/config.ts +++ b/src/config.ts @@ -17,15 +17,15 @@ export namespace Config { export type Error = AxiosError; export type Authentication = UtilityTypes.XOR3< - { - personalAccessToken: Authentication.PersonalAccessToken; - }, - { - basic: Authentication.Basic; - }, - { - oauth2: Authentication.OAuth2; - } + { + personalAccessToken: Authentication.PersonalAccessToken; + }, + { + basic: Authentication.Basic; + }, + { + oauth2: Authentication.OAuth2; + } >; export interface Middlewares { @@ -49,14 +49,14 @@ export namespace Config { }; export type Basic = UtilityTypes.XOR< - { - email: string; - apiToken: string; - }, - { - username: string; - password: string; - } + { + email: string; + apiToken: string; + }, + { + username: string; + password: string; + } >; export interface OAuth { diff --git a/src/version2/models/createProjectDetails.ts b/src/version2/models/createProjectDetails.ts index ce2f9af361..328addfaf9 100644 --- a/src/version2/models/createProjectDetails.ts +++ b/src/version2/models/createProjectDetails.ts @@ -53,27 +53,27 @@ export interface CreateProjectDetails { * `projectTypeKey`. */ projectTemplateKey?: - | 'com.atlassian.jira-core-project-templates:jira-core-simplified-content-management' - | 'com.atlassian.jira-core-project-templates:jira-core-simplified-document-approval' - | 'com.atlassian.jira-core-project-templates:jira-core-simplified-lead-tracking' - | 'com.atlassian.jira-core-project-templates:jira-core-simplified-process-control' - | 'com.atlassian.jira-core-project-templates:jira-core-simplified-procurement' - | 'com.atlassian.jira-core-project-templates:jira-core-simplified-project-management' - | 'com.atlassian.jira-core-project-templates:jira-core-simplified-recruitment' - | 'com.atlassian.jira-core-project-templates:jira-core-simplified-task-tracking' - | 'com.atlassian.servicedesk:simplified-it-service-management' - | 'com.atlassian.servicedesk:simplified-general-service-desk' - | 'com.atlassian.servicedesk:simplified-internal-service-desk' - | 'com.atlassian.servicedesk:simplified-external-service-desk' - | 'com.atlassian.servicedesk:simplified-hr-service-desk' - | 'com.atlassian.servicedesk:simplified-facilities-service-desk' - | 'com.atlassian.servicedesk:simplified-legal-service-desk' - | 'com.pyxis.greenhopper.jira:gh-simplified-agility-kanban' - | 'com.pyxis.greenhopper.jira:gh-simplified-agility-scrum' - | 'com.pyxis.greenhopper.jira:gh-simplified-basic' - | 'com.pyxis.greenhopper.jira:gh-simplified-kanban-classic' - | 'com.pyxis.greenhopper.jira:gh-simplified-scrum-classic' - | string; + | 'com.atlassian.jira-core-project-templates:jira-core-simplified-content-management' + | 'com.atlassian.jira-core-project-templates:jira-core-simplified-document-approval' + | 'com.atlassian.jira-core-project-templates:jira-core-simplified-lead-tracking' + | 'com.atlassian.jira-core-project-templates:jira-core-simplified-process-control' + | 'com.atlassian.jira-core-project-templates:jira-core-simplified-procurement' + | 'com.atlassian.jira-core-project-templates:jira-core-simplified-project-management' + | 'com.atlassian.jira-core-project-templates:jira-core-simplified-recruitment' + | 'com.atlassian.jira-core-project-templates:jira-core-simplified-task-tracking' + | 'com.atlassian.servicedesk:simplified-it-service-management' + | 'com.atlassian.servicedesk:simplified-general-service-desk' + | 'com.atlassian.servicedesk:simplified-internal-service-desk' + | 'com.atlassian.servicedesk:simplified-external-service-desk' + | 'com.atlassian.servicedesk:simplified-hr-service-desk' + | 'com.atlassian.servicedesk:simplified-facilities-service-desk' + | 'com.atlassian.servicedesk:simplified-legal-service-desk' + | 'com.pyxis.greenhopper.jira:gh-simplified-agility-kanban' + | 'com.pyxis.greenhopper.jira:gh-simplified-agility-scrum' + | 'com.pyxis.greenhopper.jira:gh-simplified-basic' + | 'com.pyxis.greenhopper.jira:gh-simplified-kanban-classic' + | 'com.pyxis.greenhopper.jira:gh-simplified-scrum-classic' + | string; /** * The ID of the workflow scheme for the project. Use the [Get all workflow * schemes](#api-rest-api-2-workflowscheme-get) operation to get a list of workflow scheme IDs. If you specify the diff --git a/src/version2/models/searchRequest.ts b/src/version2/models/searchRequest.ts index 7385840872..59057b364e 100644 --- a/src/version2/models/searchRequest.ts +++ b/src/version2/models/searchRequest.ts @@ -53,15 +53,6 @@ export interface SearchRequest { * version of a field's value, with the highest numbered item representing the most recent version. */ expand?: - | 'renderedFields' - | 'names' - | 'schema' - | 'transitions' - | 'operations' - | 'editmeta' - | 'changelog' - | 'versionedRepresentations' - | ( | 'renderedFields' | 'names' | 'schema' @@ -70,9 +61,18 @@ export interface SearchRequest { | 'editmeta' | 'changelog' | 'versionedRepresentations' - )[] - | string - | string[]; + | ( + | 'renderedFields' + | 'names' + | 'schema' + | 'transitions' + | 'operations' + | 'editmeta' + | 'changelog' + | 'versionedRepresentations' + )[] + | string + | string[]; /** A list of up to 5 issue properties to include in the results. This parameter accepts a comma-separated list. */ properties?: string[]; /** Reference fields by their key (rather than ID). The default is `false`. */ diff --git a/src/version2/parameters/assignPermissionScheme.ts b/src/version2/parameters/assignPermissionScheme.ts index ea7af75f0c..db753f2bad 100644 --- a/src/version2/parameters/assignPermissionScheme.ts +++ b/src/version2/parameters/assignPermissionScheme.ts @@ -16,12 +16,12 @@ export interface AssignPermissionScheme extends Id { * - `user` Returns information about the user who is granted the permission. */ expand?: - | 'all' - | 'field' - | 'group' - | 'permissions' - | 'projectRole' - | 'user' - | ('all' | 'field' | 'group' | 'permissions' | 'projectRole' | 'user')[] - | string; + | 'all' + | 'field' + | 'group' + | 'permissions' + | 'projectRole' + | 'user' + | ('all' | 'field' | 'group' | 'permissions' | 'projectRole' | 'user')[] + | string; } diff --git a/src/version2/parameters/createPermissionScheme.ts b/src/version2/parameters/createPermissionScheme.ts index 8b1067bfcb..9ca3850bbb 100644 --- a/src/version2/parameters/createPermissionScheme.ts +++ b/src/version2/parameters/createPermissionScheme.ts @@ -13,13 +13,13 @@ export interface CreatePermissionScheme extends Omit * - `user` Returns information about the user who is granted the permission. */ expand?: - | 'all' - | 'field' - | 'group' - | 'permissions' - | 'projectRole' - | 'user' - | ('all' | 'field' | 'group' | 'permissions' | 'projectRole' | 'user')[] - | string - | string[]; + | 'all' + | 'field' + | 'group' + | 'permissions' + | 'projectRole' + | 'user' + | ('all' | 'field' | 'group' | 'permissions' | 'projectRole' | 'user')[] + | string + | string[]; } diff --git a/src/version2/parameters/findUsersAndGroups.ts b/src/version2/parameters/findUsersAndGroups.ts index 5ec5bc4b01..a4885157c1 100644 --- a/src/version2/parameters/findUsersAndGroups.ts +++ b/src/version2/parameters/findUsersAndGroups.ts @@ -22,28 +22,28 @@ export interface FindUsersAndGroups { issueTypeId?: string[]; /** The size of the avatar to return. If an invalid value is provided, the default value is used. */ avatarSize?: - | 'xsmall' - | 'xsmall@2x' - | 'xsmall@3x' - | 'small' - | 'small@2x' - | 'small@3x' - | 'medium' - | 'medium@2x' - | 'medium@3x' - | 'large' - | 'large@2x' - | 'large@3x' - | 'xlarge' - | 'xlarge@2x' - | 'xlarge@3x' - | 'xxlarge' - | 'xxlarge@2x' - | 'xxlarge@3x' - | 'xxxlarge' - | 'xxxlarge@2x' - | 'xxxlarge@3x' - | string; + | 'xsmall' + | 'xsmall@2x' + | 'xsmall@3x' + | 'small' + | 'small@2x' + | 'small@3x' + | 'medium' + | 'medium@2x' + | 'medium@3x' + | 'large' + | 'large@2x' + | 'large@3x' + | 'xlarge' + | 'xlarge@2x' + | 'xlarge@3x' + | 'xxlarge' + | 'xxlarge@2x' + | 'xxlarge@3x' + | 'xxxlarge' + | 'xxxlarge@2x' + | 'xxxlarge@3x' + | string; /** Whether the search for groups should be case insensitive. */ caseInsensitive?: boolean; /** diff --git a/src/version2/parameters/getAllPermissionSchemes.ts b/src/version2/parameters/getAllPermissionSchemes.ts index 6dfb64ccab..011053c4f6 100644 --- a/src/version2/parameters/getAllPermissionSchemes.ts +++ b/src/version2/parameters/getAllPermissionSchemes.ts @@ -11,13 +11,13 @@ export interface GetAllPermissionSchemes { * - `user` Returns information about the user who is granted the permission. */ expand?: - | 'all' - | 'field' - | 'group' - | 'permissions' - | 'projectRole' - | 'user' - | ('all' | 'field' | 'group' | 'permissions' | 'projectRole' | 'user')[] - | string - | string[]; + | 'all' + | 'field' + | 'group' + | 'permissions' + | 'projectRole' + | 'user' + | ('all' | 'field' | 'group' | 'permissions' | 'projectRole' | 'user')[] + | string + | string[]; } diff --git a/src/version2/parameters/getAssignedPermissionScheme.ts b/src/version2/parameters/getAssignedPermissionScheme.ts index 918c5466c7..9e2ad9e8e5 100644 --- a/src/version2/parameters/getAssignedPermissionScheme.ts +++ b/src/version2/parameters/getAssignedPermissionScheme.ts @@ -14,13 +14,13 @@ export interface GetAssignedPermissionScheme { * - `user` Returns information about the user who is granted the permission. */ expand?: - | 'all' - | 'field' - | 'group' - | 'permissions' - | 'projectRole' - | 'user' - | ('field' | 'group' | 'permissions' | 'projectRole' | 'user')[] - | string - | string[]; + | 'all' + | 'field' + | 'group' + | 'permissions' + | 'projectRole' + | 'user' + | ('field' | 'group' | 'permissions' | 'projectRole' | 'user')[] + | string + | string[]; } diff --git a/src/version2/parameters/getDashboardsPaginated.ts b/src/version2/parameters/getDashboardsPaginated.ts index b9a2b41cff..9e3aaa7854 100644 --- a/src/version2/parameters/getDashboardsPaginated.ts +++ b/src/version2/parameters/getDashboardsPaginated.ts @@ -31,25 +31,25 @@ export interface GetDashboardsPaginated { * - `owner` Sorts by dashboard owner name. */ orderBy?: - | 'description' - | '-description' - | '+description' - | 'favorite_count' - | '-favorite_count' - | '+favorite_count' - | 'id' - | '-id' - | '+id' - | 'is_favorite' - | '-is_favorite' - | '+is_favorite' - | 'name' - | '-name' - | '+name' - | 'owner' - | '-owner' - | '+owner' - | string; + | 'description' + | '-description' + | '+description' + | 'favorite_count' + | '-favorite_count' + | '+favorite_count' + | 'id' + | '-id' + | '+id' + | 'is_favorite' + | '-is_favorite' + | '+is_favorite' + | 'name' + | '-name' + | '+name' + | 'owner' + | '-owner' + | '+owner' + | string; /** The index of the first item to return in a page of results (page offset). */ startAt?: number; /** The maximum number of items to return per page. */ @@ -71,15 +71,6 @@ export interface GetDashboardsPaginated { * - `isWritable` Returns whether the current user has permission to edit the dashboard. */ expand?: - | 'description' - | 'owner' - | 'viewUrl' - | 'favourite' - | 'favouritedCount' - | 'sharePermissions' - | 'editPermissions' - | 'isWritable' - | ( | 'description' | 'owner' | 'viewUrl' @@ -88,7 +79,16 @@ export interface GetDashboardsPaginated { | 'sharePermissions' | 'editPermissions' | 'isWritable' - )[] - | string - | string[]; + | ( + | 'description' + | 'owner' + | 'viewUrl' + | 'favourite' + | 'favouritedCount' + | 'sharePermissions' + | 'editPermissions' + | 'isWritable' + )[] + | string + | string[]; } diff --git a/src/version2/parameters/getFieldsPaginated.ts b/src/version2/parameters/getFieldsPaginated.ts index d37ff871f2..3a6941b97f 100644 --- a/src/version2/parameters/getFieldsPaginated.ts +++ b/src/version2/parameters/getFieldsPaginated.ts @@ -18,22 +18,22 @@ export interface GetFieldsPaginated { * - `screensCount` sorts by the number of screens related to a field */ orderBy?: - | 'contextsCount' - | '-contextsCount' - | '+contextsCount' - | 'lastUsed' - | '-lastUsed' - | '+lastUsed' - | 'name' - | '-name' - | '+name' - | 'screensCount' - | '-screensCount' - | '+screensCount' - | 'projectsCount' - | '-projectsCount' - | '+projectsCount' - | string; + | 'contextsCount' + | '-contextsCount' + | '+contextsCount' + | 'lastUsed' + | '-lastUsed' + | '+lastUsed' + | 'name' + | '-name' + | '+name' + | 'screensCount' + | '-screensCount' + | '+screensCount' + | 'projectsCount' + | '-projectsCount' + | '+projectsCount' + | string; /** * Use [expand](https://developer.atlassian.com/cloud/jira/platform/rest/v2/intro/#expansion) to include additional * information in the response. This parameter accepts a comma-separated list. Expand options include: @@ -46,13 +46,13 @@ export interface GetFieldsPaginated { * - `searcherKey` returns the searcher key for each custom field */ expand?: - | 'key' - | 'lastUsed' - | 'screensCount' - | 'contextsCount' - | 'isLocked' - | 'searcherKey' - | ('key' | 'lastUsed' | 'screensCount' | 'contextsCount' | 'isLocked' | 'searcherKey')[] - | string - | string[]; + | 'key' + | 'lastUsed' + | 'screensCount' + | 'contextsCount' + | 'isLocked' + | 'searcherKey' + | ('key' | 'lastUsed' | 'screensCount' | 'contextsCount' | 'isLocked' | 'searcherKey')[] + | string + | string[]; } diff --git a/src/version2/parameters/getFiltersPaginated.ts b/src/version2/parameters/getFiltersPaginated.ts index 6d1e13a09b..8dbaac430c 100644 --- a/src/version2/parameters/getFiltersPaginated.ts +++ b/src/version2/parameters/getFiltersPaginated.ts @@ -37,28 +37,28 @@ export interface GetFiltersPaginated { * - `is_shared` Sorts by whether the filter is shared. */ orderBy?: - | 'description' - | '-description' - | '+description' - | 'favourite_count' - | '-favourite_count' - | '+favourite_count' - | 'id' - | '-id' - | '+id' - | 'is_favourite' - | '-is_favourite' - | '+is_favourite' - | 'name' - | '-name' - | '+name' - | 'owner' - | '-owner' - | '+owner' - | 'is_shared' - | '-is_shared' - | '+is_shared' - | string; + | 'description' + | '-description' + | '+description' + | 'favourite_count' + | '-favourite_count' + | '+favourite_count' + | 'id' + | '-id' + | '+id' + | 'is_favourite' + | '-is_favourite' + | '+is_favourite' + | 'name' + | '-name' + | '+name' + | 'owner' + | '-owner' + | '+owner' + | 'is_shared' + | '-is_shared' + | '+is_shared' + | string; /** The index of the first item to return in a page of results (page offset). */ startAt?: number; /** The maximum number of items to return per page. */ @@ -80,18 +80,6 @@ export interface GetFiltersPaginated { * - `viewUrl` Returns a URL to view the filter. */ expand?: - | 'description' - | 'favourite' - | 'favouritedCount' - | 'jql' - | 'owner' - | 'searchUrl' - | 'sharePermissions' - | 'editPermissions' - | 'isWritable' - | 'subscriptions' - | 'viewUrl' - | ( | 'description' | 'favourite' | 'favouritedCount' @@ -103,9 +91,21 @@ export interface GetFiltersPaginated { | 'isWritable' | 'subscriptions' | 'viewUrl' - )[] - | string - | string[]; + | ( + | 'description' + | 'favourite' + | 'favouritedCount' + | 'jql' + | 'owner' + | 'searchUrl' + | 'sharePermissions' + | 'editPermissions' + | 'isWritable' + | 'subscriptions' + | 'viewUrl' + )[] + | string + | string[]; /** * EXPERIMENTAL: Whether share permissions are overridden to enable filters with any share permissions to be returned. diff --git a/src/version2/parameters/getIssue.ts b/src/version2/parameters/getIssue.ts index 990fea2fbc..683b429396 100644 --- a/src/version2/parameters/getIssue.ts +++ b/src/version2/parameters/getIssue.ts @@ -39,15 +39,15 @@ export interface GetIssue { * representing the most recent version. Note: When included in the request, the `fields` parameter is ignored. */ expand?: - | 'renderedFields' - | 'names' - | 'transitions' - | 'editmeta' - | 'changelog' - | 'versionedRepresentations' - | ('renderedFields' | 'names' | 'transitions' | 'editmeta' | 'changelog' | 'versionedRepresentations')[] - | string - | string[]; + | 'renderedFields' + | 'names' + | 'transitions' + | 'editmeta' + | 'changelog' + | 'versionedRepresentations' + | ('renderedFields' | 'names' | 'transitions' | 'editmeta' | 'changelog' | 'versionedRepresentations')[] + | string + | string[]; /** * A list of issue properties to return for the issue. This parameter accepts a comma-separated list. Allowed values: * diff --git a/src/version2/parameters/getNotificationScheme.ts b/src/version2/parameters/getNotificationScheme.ts index a034773d71..17836ac59d 100644 --- a/src/version2/parameters/getNotificationScheme.ts +++ b/src/version2/parameters/getNotificationScheme.ts @@ -17,13 +17,13 @@ export interface GetNotificationScheme { * - `user` Returns information about any users assigned to receive an event. */ expand?: - | 'all' - | 'field' - | 'group' - | 'notificationSchemeEvents' - | 'projectRole' - | 'user' - | ('all' | 'field' | 'group' | 'notificationSchemeEvents' | 'projectRole' | 'user')[] - | string - | string[]; + | 'all' + | 'field' + | 'group' + | 'notificationSchemeEvents' + | 'projectRole' + | 'user' + | ('all' | 'field' | 'group' | 'notificationSchemeEvents' | 'projectRole' | 'user')[] + | string + | string[]; } diff --git a/src/version2/parameters/getNotificationSchemeForProject.ts b/src/version2/parameters/getNotificationSchemeForProject.ts index 78bb978db8..965cfa7800 100644 --- a/src/version2/parameters/getNotificationSchemeForProject.ts +++ b/src/version2/parameters/getNotificationSchemeForProject.ts @@ -14,13 +14,13 @@ export interface GetNotificationSchemeForProject { * - `user` Returns information about any users assigned to receive an event */ expand?: - | 'all' - | 'field' - | 'group' - | 'notificationSchemeEvents' - | 'projectRole' - | 'user' - | ('all' | 'field' | 'group' | 'notificationSchemeEvents' | 'projectRole' | 'user')[] - | string - | string[]; + | 'all' + | 'field' + | 'group' + | 'notificationSchemeEvents' + | 'projectRole' + | 'user' + | ('all' | 'field' | 'group' | 'notificationSchemeEvents' | 'projectRole' | 'user')[] + | string + | string[]; } diff --git a/src/version2/parameters/getNotificationSchemes.ts b/src/version2/parameters/getNotificationSchemes.ts index e58bc9a51a..fdb5de734c 100644 --- a/src/version2/parameters/getNotificationSchemes.ts +++ b/src/version2/parameters/getNotificationSchemes.ts @@ -25,13 +25,13 @@ export interface GetNotificationSchemes { * - `user` Returns information about any users assigned to receive an event */ expand?: - | 'all' - | 'field' - | 'group' - | 'notificationSchemeEvents' - | 'projectRole' - | 'user' - | ('all' | 'field' | 'group' | 'notificationSchemeEvents' | 'projectRole' | 'user')[] - | string - | string[]; + | 'all' + | 'field' + | 'group' + | 'notificationSchemeEvents' + | 'projectRole' + | 'user' + | ('all' | 'field' | 'group' | 'notificationSchemeEvents' | 'projectRole' | 'user')[] + | string + | string[]; } diff --git a/src/version2/parameters/getPermissionScheme.ts b/src/version2/parameters/getPermissionScheme.ts index 328142c71b..db01ec65a5 100644 --- a/src/version2/parameters/getPermissionScheme.ts +++ b/src/version2/parameters/getPermissionScheme.ts @@ -13,13 +13,13 @@ export interface GetPermissionScheme { * - `user` Returns information about the user who is granted the permission. */ expand?: - | 'all' - | 'field' - | 'group' - | 'permissions' - | 'projectRole' - | 'user' - | ('all' | 'field' | 'group' | 'permissions' | 'projectRole' | 'user')[] - | string - | string[]; + | 'all' + | 'field' + | 'group' + | 'permissions' + | 'projectRole' + | 'user' + | ('all' | 'field' | 'group' | 'permissions' | 'projectRole' | 'user')[] + | string + | string[]; } diff --git a/src/version2/parameters/getPrecomputations.ts b/src/version2/parameters/getPrecomputations.ts index e38404f018..69e5f90059 100644 --- a/src/version2/parameters/getPrecomputations.ts +++ b/src/version2/parameters/getPrecomputations.ts @@ -20,17 +20,17 @@ export interface GetPrecomputations { */ filter?: string; orderBy?: - | 'functionKey' - | 'used' - | 'created' - | 'updated' - | '+functionKey' - | '+used' - | '+created' - | '+updated' - | '-functionKey' - | '-used' - | '-created' - | '-updated' - | string; + | 'functionKey' + | 'used' + | 'created' + | 'updated' + | '+functionKey' + | '+used' + | '+created' + | '+updated' + | '-functionKey' + | '-used' + | '-created' + | '-updated' + | string; } diff --git a/src/version2/parameters/getProject.ts b/src/version2/parameters/getProject.ts index 88b335479f..0bc6063a6e 100644 --- a/src/version2/parameters/getProject.ts +++ b/src/version2/parameters/getProject.ts @@ -13,14 +13,14 @@ export interface GetProject { * - `issueTypeHierarchy` The project issue type hierarchy. */ expand?: - | 'description' - | 'issueTypes' - | 'lead' - | 'projectKeys' - | 'issueTypeHierarchy' - | ('description' | 'issueTypes' | 'lead' | 'projectKeys' | 'issueTypeHierarchy')[] - | string - | string[]; + | 'description' + | 'issueTypes' + | 'lead' + | 'projectKeys' + | 'issueTypeHierarchy' + | ('description' | 'issueTypes' | 'lead' | 'projectKeys' | 'issueTypeHierarchy')[] + | string + | string[]; /** A list of project properties to return for the project. This parameter accepts a comma-separated list. */ properties?: string[]; } diff --git a/src/version2/parameters/getProjectComponentsPaginated.ts b/src/version2/parameters/getProjectComponentsPaginated.ts index ca47b8d01a..5625e9ee39 100644 --- a/src/version2/parameters/getProjectComponentsPaginated.ts +++ b/src/version2/parameters/getProjectComponentsPaginated.ts @@ -14,19 +14,19 @@ export interface GetProjectComponentsPaginated { * - `name` Sorts by component name. */ orderBy?: - | 'description' - | '-description' - | '+description' - | 'issueCount' - | '-issueCount' - | '+issueCount' - | 'lead' - | '-lead' - | '+lead' - | 'name' - | '-name' - | '+name' - | string; + | 'description' + | '-description' + | '+description' + | 'issueCount' + | '-issueCount' + | '+issueCount' + | 'lead' + | '-lead' + | '+lead' + | 'name' + | '-name' + | '+name' + | string; /** * Filter the results using a literal string. Components with a matching `name` or `description` are returned (case * insensitive). diff --git a/src/version2/parameters/getProjectVersionsPaginated.ts b/src/version2/parameters/getProjectVersionsPaginated.ts index 0d2d9139fe..ed3176eda9 100644 --- a/src/version2/parameters/getProjectVersionsPaginated.ts +++ b/src/version2/parameters/getProjectVersionsPaginated.ts @@ -15,22 +15,22 @@ export interface GetProjectVersionsPaginated { * - `startDate` Sorts by start date, starting with the oldest date. Versions with no start date are listed last. */ orderBy?: - | 'description' - | '-description' - | '+description' - | 'name' - | '-name' - | '+name' - | 'releaseDate' - | '-releaseDate' - | '+releaseDate' - | 'sequence' - | '-sequence' - | '+sequence' - | 'startDate' - | '-startDate' - | '+startDate' - | string; + | 'description' + | '-description' + | '+description' + | 'name' + | '-name' + | '+name' + | 'releaseDate' + | '-releaseDate' + | '+releaseDate' + | 'sequence' + | '-sequence' + | '+sequence' + | 'startDate' + | '-startDate' + | '+startDate' + | string; /** * Filter the results using a literal string. Versions with matching `name` or `description` are returned (case * insensitive). @@ -51,11 +51,11 @@ export interface GetProjectVersionsPaginated { * - `approvers` Returns a list containing the approvers for this version. */ expand?: - | 'issuesstatus' - | 'operations' - | 'driver' - | 'approvers' - | ('issuesstatus' | 'operations' | 'driver' | 'approvers')[] - | string - | string[]; + | 'issuesstatus' + | 'operations' + | 'driver' + | 'approvers' + | ('issuesstatus' | 'operations' | 'driver' | 'approvers')[] + | string + | string[]; } diff --git a/src/version2/parameters/getRecent.ts b/src/version2/parameters/getRecent.ts index 3a8640371a..0295d4887d 100644 --- a/src/version2/parameters/getRecent.ts +++ b/src/version2/parameters/getRecent.ts @@ -14,17 +14,17 @@ export interface GetRecent { * - `*` Returns the project with all available expand options. */ expand?: - | 'description' - | 'projectKeys' - | 'lead' - | 'issueTypes' - | 'url' - | 'permissions' - | 'insight' - | '*' - | ('description' | 'projectKeys' | 'lead' | 'issueTypes' | 'url' | 'permissions' | 'insight')[] - | string - | string[]; + | 'description' + | 'projectKeys' + | 'lead' + | 'issueTypes' + | 'url' + | 'permissions' + | 'insight' + | '*' + | ('description' | 'projectKeys' | 'lead' | 'issueTypes' | 'url' | 'permissions' | 'insight')[] + | string + | string[]; /** * EXPERIMENTAL. A list of project properties to return for the project. This parameter accepts a comma-separated * list. Invalid property names are ignored. diff --git a/src/version2/parameters/getSecurityLevelMembers.ts b/src/version2/parameters/getSecurityLevelMembers.ts index 662f599876..1c16a7eaad 100644 --- a/src/version2/parameters/getSecurityLevelMembers.ts +++ b/src/version2/parameters/getSecurityLevelMembers.ts @@ -29,12 +29,12 @@ export interface GetSecurityLevelMembers { * - `user` Returns information about the user who is granted the permission */ expand?: - | 'all' - | 'field' - | 'group' - | 'projectRole' - | 'user' - | ('all' | 'field' | 'group' | 'projectRole' | 'user')[] - | string - | string[]; + | 'all' + | 'field' + | 'group' + | 'projectRole' + | 'user' + | ('all' | 'field' | 'group' | 'projectRole' | 'user')[] + | string + | string[]; } diff --git a/src/version2/parameters/getTrashedFieldsPaginated.ts b/src/version2/parameters/getTrashedFieldsPaginated.ts index a1efe766b7..9a82dd1ccb 100644 --- a/src/version2/parameters/getTrashedFieldsPaginated.ts +++ b/src/version2/parameters/getTrashedFieldsPaginated.ts @@ -15,17 +15,17 @@ export interface GetTrashedFieldsPaginated { * - `plannedDeletionDate` sorts by the planned deletion date */ orderBy?: - | 'name' - | '-name' - | '+name' - | 'trashDate' - | '-trashDate' - | '+trashDate' - | 'plannedDeletionDate' - | '-plannedDeletionDate' - | '+plannedDeletionDate' - | 'projectsCount' - | '-projectsCount' - | '+projectsCount' - | string; + | 'name' + | '-name' + | '+name' + | 'trashDate' + | '-trashDate' + | '+trashDate' + | 'plannedDeletionDate' + | '-plannedDeletionDate' + | '+plannedDeletionDate' + | 'projectsCount' + | '-projectsCount' + | '+projectsCount' + | string; } diff --git a/src/version2/parameters/getVersion.ts b/src/version2/parameters/getVersion.ts index de8614e157..3f2c0ead24 100644 --- a/src/version2/parameters/getVersion.ts +++ b/src/version2/parameters/getVersion.ts @@ -13,11 +13,11 @@ export interface GetVersion { * - `approvers` Returns a list containing the Atlassian account IDs of approvers for this version. */ expand?: - | 'operations' - | 'issuesstatus' - | 'driver' - | 'approvers' - | ('operations' | 'issuesstatus' | 'driver' | 'approvers')[] - | string - | string[]; + | 'operations' + | 'issuesstatus' + | 'driver' + | 'approvers' + | ('operations' | 'issuesstatus' | 'driver' | 'approvers')[] + | string + | string[]; } diff --git a/src/version2/parameters/getWorkflowsPaginated.ts b/src/version2/parameters/getWorkflowsPaginated.ts index bf65a2fde8..da3e1a2cfa 100644 --- a/src/version2/parameters/getWorkflowsPaginated.ts +++ b/src/version2/parameters/getWorkflowsPaginated.ts @@ -28,17 +28,6 @@ export interface GetWorkflowsPaginated { * - `operations` For each workflow, returns information about the actions that can be undertaken on the workflow. */ expand?: - | 'transitions' - | 'transitions.rules' - | 'transitions.properties' - | 'statuses' - | 'statuses.properties' - | 'default' - | 'schemes' - | 'projects' - | 'hasDraftWorkflow' - | 'operations' - | ( | 'transitions' | 'transitions.rules' | 'transitions.properties' @@ -49,9 +38,20 @@ export interface GetWorkflowsPaginated { | 'projects' | 'hasDraftWorkflow' | 'operations' - )[] - | string - | string[]; + | ( + | 'transitions' + | 'transitions.rules' + | 'transitions.properties' + | 'statuses' + | 'statuses.properties' + | 'default' + | 'schemes' + | 'projects' + | 'hasDraftWorkflow' + | 'operations' + )[] + | string + | string[]; /** String used to perform a case-insensitive partial match with workflow name. */ queryString?: string; /** @@ -62,16 +62,16 @@ export interface GetWorkflowsPaginated { * - `updated` Sorts by update time. */ orderBy?: - | 'name' - | '-name' - | '+name' - | 'created' - | '-created' - | '+created' - | 'updated' - | '+updated' - | '-updated' - | string; + | 'name' + | '-name' + | '+name' + | 'created' + | '-created' + | '+created' + | 'updated' + | '+updated' + | '-updated' + | string; /** Filters active and inactive workflows. */ isActive?: boolean; } diff --git a/src/version2/parameters/searchForIssuesUsingJql.ts b/src/version2/parameters/searchForIssuesUsingJql.ts index 9670c1d437..bb85f45aeb 100644 --- a/src/version2/parameters/searchForIssuesUsingJql.ts +++ b/src/version2/parameters/searchForIssuesUsingJql.ts @@ -58,16 +58,16 @@ export interface SearchForIssuesUsingJql { * version of a field's value, with the highest numbered item representing the most recent version. */ expand?: - | 'renderedFields' - | 'names' - | 'schema' - | 'transitions' - | 'operations' - | 'editmeta' - | 'changelog' - | 'versionedRepresentations' - | string - | string[]; + | 'renderedFields' + | 'names' + | 'schema' + | 'transitions' + | 'operations' + | 'editmeta' + | 'changelog' + | 'versionedRepresentations' + | string + | string[]; /** * A list of issue property keys for issue properties to include in the results. This parameter accepts a * comma-separated list. Multiple properties can also be provided using an ampersand separated list. For example, diff --git a/src/version2/parameters/searchProjects.ts b/src/version2/parameters/searchProjects.ts index f807c8c1ed..f8212f04f9 100644 --- a/src/version2/parameters/searchProjects.ts +++ b/src/version2/parameters/searchProjects.ts @@ -17,31 +17,31 @@ export interface SearchProjects { * - `deletedDate` EXPERIMENTAL. Sorts by project deleted date. */ orderBy?: - | 'category' - | '-category' - | '+category' - | 'key' - | '-key' - | '+key' - | 'name' - | '-name' - | '+name' - | 'owner' - | '-owner' - | '+owner' - | 'issueCount' - | '-issueCount' - | '+issueCount' - | 'lastIssueUpdatedDate' - | '-lastIssueUpdatedDate' - | '+lastIssueUpdatedDate' - | 'archivedDate' - | '+archivedDate' - | '-archivedDate' - | 'deletedDate' - | '+deletedDate' - | '-deletedDate' - | string; + | 'category' + | '-category' + | '+category' + | 'key' + | '-key' + | '+key' + | 'name' + | '-name' + | '+name' + | 'owner' + | '-owner' + | '+owner' + | 'issueCount' + | '-issueCount' + | '+issueCount' + | 'lastIssueUpdatedDate' + | '-lastIssueUpdatedDate' + | '+lastIssueUpdatedDate' + | 'archivedDate' + | '+archivedDate' + | '-archivedDate' + | 'deletedDate' + | '+deletedDate' + | '-deletedDate' + | string; /** * The project IDs to filter the results by. To include multiple IDs, provide an ampersand-separated list. For * example, `id=10000&id=10001`. Up to 50 project IDs can be provided. @@ -98,15 +98,15 @@ export interface SearchProjects { * project. */ expand?: - | 'description' - | 'projectKeys' - | 'lead' - | 'issueTypes' - | 'url' - | 'insight' - | ('description' | 'projectKeys' | 'lead' | 'issueTypes' | 'url' | 'insight')[] - | string - | string[]; + | 'description' + | 'projectKeys' + | 'lead' + | 'issueTypes' + | 'url' + | 'insight' + | ('description' | 'projectKeys' | 'lead' | 'issueTypes' | 'url' | 'insight')[] + | string + | string[]; /** * EXPERIMENTAL. Filter results by project status: * diff --git a/src/version2/parameters/updateEntityPropertiesValue.ts b/src/version2/parameters/updateEntityPropertiesValue.ts index 7bcf23f921..a77752c863 100644 --- a/src/version2/parameters/updateEntityPropertiesValue.ts +++ b/src/version2/parameters/updateEntityPropertiesValue.ts @@ -7,16 +7,16 @@ export interface UpdateEntityPropertiesValue { accountId: string; /** The type indicating the object that contains the entity properties. */ entityType: - | 'IssueProperty' - | 'CommentProperty' - | 'DashboardItemProperty' - | 'IssueTypeProperty' - | 'ProjectProperty' - | 'UserProperty' - | 'WorklogProperty' - | 'BoardProperty' - | 'SprintProperty' - | string; + | 'IssueProperty' + | 'CommentProperty' + | 'DashboardItemProperty' + | 'IssueTypeProperty' + | 'ProjectProperty' + | 'UserProperty' + | 'WorklogProperty' + | 'BoardProperty' + | 'SprintProperty' + | string; entities?: Array; } diff --git a/src/version2/parameters/updateProject.ts b/src/version2/parameters/updateProject.ts index 71b7c0de4a..6f4369d9f2 100644 --- a/src/version2/parameters/updateProject.ts +++ b/src/version2/parameters/updateProject.ts @@ -15,27 +15,27 @@ export interface UpdateProject extends UpdateProjectDetails { * `projectTypeKey`. */ projectTemplateKey?: - | 'com.atlassian.jira-core-project-templates:jira-core-simplified-content-management' - | 'com.atlassian.jira-core-project-templates:jira-core-simplified-document-approval' - | 'com.atlassian.jira-core-project-templates:jira-core-simplified-lead-tracking' - | 'com.atlassian.jira-core-project-templates:jira-core-simplified-process-control' - | 'com.atlassian.jira-core-project-templates:jira-core-simplified-procurement' - | 'com.atlassian.jira-core-project-templates:jira-core-simplified-project-management' - | 'com.atlassian.jira-core-project-templates:jira-core-simplified-recruitment' - | 'com.atlassian.jira-core-project-templates:jira-core-simplified-task-tracking' - | 'com.atlassian.servicedesk:simplified-it-service-management' - | 'com.atlassian.servicedesk:simplified-general-service-desk' - | 'com.atlassian.servicedesk:simplified-internal-service-desk' - | 'com.atlassian.servicedesk:simplified-external-service-desk' - | 'com.atlassian.servicedesk:simplified-hr-service-desk' - | 'com.atlassian.servicedesk:simplified-facilities-service-desk' - | 'com.atlassian.servicedesk:simplified-legal-service-desk' - | 'com.pyxis.greenhopper.jira:gh-simplified-agility-kanban' - | 'com.pyxis.greenhopper.jira:gh-simplified-agility-scrum' - | 'com.pyxis.greenhopper.jira:gh-simplified-basic' - | 'com.pyxis.greenhopper.jira:gh-simplified-kanban-classic' - | 'com.pyxis.greenhopper.jira:gh-simplified-scrum-classic' - | string; + | 'com.atlassian.jira-core-project-templates:jira-core-simplified-content-management' + | 'com.atlassian.jira-core-project-templates:jira-core-simplified-document-approval' + | 'com.atlassian.jira-core-project-templates:jira-core-simplified-lead-tracking' + | 'com.atlassian.jira-core-project-templates:jira-core-simplified-process-control' + | 'com.atlassian.jira-core-project-templates:jira-core-simplified-procurement' + | 'com.atlassian.jira-core-project-templates:jira-core-simplified-project-management' + | 'com.atlassian.jira-core-project-templates:jira-core-simplified-recruitment' + | 'com.atlassian.jira-core-project-templates:jira-core-simplified-task-tracking' + | 'com.atlassian.servicedesk:simplified-it-service-management' + | 'com.atlassian.servicedesk:simplified-general-service-desk' + | 'com.atlassian.servicedesk:simplified-internal-service-desk' + | 'com.atlassian.servicedesk:simplified-external-service-desk' + | 'com.atlassian.servicedesk:simplified-hr-service-desk' + | 'com.atlassian.servicedesk:simplified-facilities-service-desk' + | 'com.atlassian.servicedesk:simplified-legal-service-desk' + | 'com.pyxis.greenhopper.jira:gh-simplified-agility-kanban' + | 'com.pyxis.greenhopper.jira:gh-simplified-agility-scrum' + | 'com.pyxis.greenhopper.jira:gh-simplified-basic' + | 'com.pyxis.greenhopper.jira:gh-simplified-kanban-classic' + | 'com.pyxis.greenhopper.jira:gh-simplified-scrum-classic' + | string; /** * Use [expand](https://developer.atlassian.com/cloud/jira/platform/rest/v2/intro/#expansion) to include additional * information in the response. This parameter accepts a comma-separated list. Note that the project description, @@ -47,11 +47,11 @@ export interface UpdateProject extends UpdateProjectDetails { * - `projectKeys` All project keys associated with the project. */ expand?: - | 'description' - | 'issueTypes' - | 'lead' - | 'projectKeys' - | ('description' | 'issueTypes' | 'lead' | 'projectKeys')[] - | string - | string[]; + | 'description' + | 'issueTypes' + | 'lead' + | 'projectKeys' + | ('description' | 'issueTypes' | 'lead' | 'projectKeys')[] + | string + | string[]; } diff --git a/src/version3/issueComments.ts b/src/version3/issueComments.ts index f0f6a3587d..29d55a8cbf 100644 --- a/src/version3/issueComments.ts +++ b/src/version3/issueComments.ts @@ -145,19 +145,18 @@ export class IssueComments { */ async addComment(parameters: Parameters.AddComment, callback?: never): Promise; async addComment(parameters: Parameters.AddComment, callback?: Callback): Promise { - const body = - typeof parameters.comment === 'string' - ? { - type: 'doc', - version: 1, - content: [ - { - type: 'paragraph', - content: [{ type: 'text', text: parameters.comment }], - }, - ], - } - : parameters.comment; + const body = typeof parameters.comment === 'string' + ? { + type: 'doc', + version: 1, + content: [ + { + type: 'paragraph', + content: [{ type: 'text', text: parameters.comment }], + }, + ], + } + : parameters.comment; const config: RequestConfig = { url: `/rest/api/3/issue/${parameters.issueIdOrKey}/comment`, diff --git a/src/version3/models/createProjectDetails.ts b/src/version3/models/createProjectDetails.ts index 0f17fb0d06..ab05664eb7 100644 --- a/src/version3/models/createProjectDetails.ts +++ b/src/version3/models/createProjectDetails.ts @@ -53,27 +53,27 @@ export interface CreateProjectDetails { * `projectTypeKey`. */ projectTemplateKey?: - | 'com.atlassian.jira-core-project-templates:jira-core-simplified-content-management' - | 'com.atlassian.jira-core-project-templates:jira-core-simplified-document-approval' - | 'com.atlassian.jira-core-project-templates:jira-core-simplified-lead-tracking' - | 'com.atlassian.jira-core-project-templates:jira-core-simplified-process-control' - | 'com.atlassian.jira-core-project-templates:jira-core-simplified-procurement' - | 'com.atlassian.jira-core-project-templates:jira-core-simplified-project-management' - | 'com.atlassian.jira-core-project-templates:jira-core-simplified-recruitment' - | 'com.atlassian.jira-core-project-templates:jira-core-simplified-task-tracking' - | 'com.atlassian.servicedesk:simplified-it-service-management' - | 'com.atlassian.servicedesk:simplified-general-service-desk' - | 'com.atlassian.servicedesk:simplified-internal-service-desk' - | 'com.atlassian.servicedesk:simplified-external-service-desk' - | 'com.atlassian.servicedesk:simplified-hr-service-desk' - | 'com.atlassian.servicedesk:simplified-facilities-service-desk' - | 'com.atlassian.servicedesk:simplified-legal-service-desk' - | 'com.pyxis.greenhopper.jira:gh-simplified-agility-kanban' - | 'com.pyxis.greenhopper.jira:gh-simplified-agility-scrum' - | 'com.pyxis.greenhopper.jira:gh-simplified-basic' - | 'com.pyxis.greenhopper.jira:gh-simplified-kanban-classic' - | 'com.pyxis.greenhopper.jira:gh-simplified-scrum-classic' - | string; + | 'com.atlassian.jira-core-project-templates:jira-core-simplified-content-management' + | 'com.atlassian.jira-core-project-templates:jira-core-simplified-document-approval' + | 'com.atlassian.jira-core-project-templates:jira-core-simplified-lead-tracking' + | 'com.atlassian.jira-core-project-templates:jira-core-simplified-process-control' + | 'com.atlassian.jira-core-project-templates:jira-core-simplified-procurement' + | 'com.atlassian.jira-core-project-templates:jira-core-simplified-project-management' + | 'com.atlassian.jira-core-project-templates:jira-core-simplified-recruitment' + | 'com.atlassian.jira-core-project-templates:jira-core-simplified-task-tracking' + | 'com.atlassian.servicedesk:simplified-it-service-management' + | 'com.atlassian.servicedesk:simplified-general-service-desk' + | 'com.atlassian.servicedesk:simplified-internal-service-desk' + | 'com.atlassian.servicedesk:simplified-external-service-desk' + | 'com.atlassian.servicedesk:simplified-hr-service-desk' + | 'com.atlassian.servicedesk:simplified-facilities-service-desk' + | 'com.atlassian.servicedesk:simplified-legal-service-desk' + | 'com.pyxis.greenhopper.jira:gh-simplified-agility-kanban' + | 'com.pyxis.greenhopper.jira:gh-simplified-agility-scrum' + | 'com.pyxis.greenhopper.jira:gh-simplified-basic' + | 'com.pyxis.greenhopper.jira:gh-simplified-kanban-classic' + | 'com.pyxis.greenhopper.jira:gh-simplified-scrum-classic' + | string; /** * The ID of the workflow scheme for the project. Use the [Get all workflow * schemes](#api-rest-api-3-workflowscheme-get) operation to get a list of workflow scheme IDs. If you specify the diff --git a/src/version3/models/document.ts b/src/version3/models/document.ts index 521eadcc7f..6797ef8e0e 100644 --- a/src/version3/models/document.ts +++ b/src/version3/models/document.ts @@ -2,29 +2,29 @@ import { Mark } from './mark'; export interface Document { type: - | 'doc' - | 'paragraph' - | 'table' - | 'blockquote' - | 'bulletList' - | 'codeBlock' - | 'heading' - | 'mediaGroup' - | 'mediaSingle' - | 'orderedList' - | 'panel' - | 'rule' - | 'listItem' - | 'media' - | 'table_cell' - | 'table_header' - | 'table_row' - | 'emoji' - | 'hardBreak' - | 'inlineCard' - | 'mention' - | 'text' - | string; + | 'doc' + | 'paragraph' + | 'table' + | 'blockquote' + | 'bulletList' + | 'codeBlock' + | 'heading' + | 'mediaGroup' + | 'mediaSingle' + | 'orderedList' + | 'panel' + | 'rule' + | 'listItem' + | 'media' + | 'table_cell' + | 'table_header' + | 'table_row' + | 'emoji' + | 'hardBreak' + | 'inlineCard' + | 'mention' + | 'text' + | string; content?: Omit[]; version: number; marks?: Mark[]; diff --git a/src/version3/models/project.ts b/src/version3/models/project.ts index de75e7ed69..c851daa5b0 100644 --- a/src/version3/models/project.ts +++ b/src/version3/models/project.ts @@ -13,14 +13,14 @@ import { Version } from './version'; export interface Project { /** Expand options that include additional project details in the response. */ expand?: - | 'description' - | 'issueTypes' - | 'lead' - | 'projectKeys' - | 'issueTypeHierarchy' - | ('description' | 'issueTypes' | 'lead' | 'projectKeys' | 'issueTypeHierarchy')[] - | string - | string[]; + | 'description' + | 'issueTypes' + | 'lead' + | 'projectKeys' + | 'issueTypeHierarchy' + | ('description' | 'issueTypes' | 'lead' | 'projectKeys' | 'issueTypeHierarchy')[] + | string + | string[]; /** The URL of the project details. */ self?: string; /** The ID of the project. */ diff --git a/src/version3/models/searchRequest.ts b/src/version3/models/searchRequest.ts index e81a416e07..fd3fcf0e6f 100644 --- a/src/version3/models/searchRequest.ts +++ b/src/version3/models/searchRequest.ts @@ -53,15 +53,6 @@ export interface SearchRequest { * version of a field's value, with the highest numbered item representing the most recent version. */ expand?: - | 'renderedFields' - | 'names' - | 'schema' - | 'transitions' - | 'operations' - | 'editmeta' - | 'changelog' - | 'versionedRepresentations' - | ( | 'renderedFields' | 'names' | 'schema' @@ -70,9 +61,18 @@ export interface SearchRequest { | 'editmeta' | 'changelog' | 'versionedRepresentations' - )[] - | string - | string[]; + | ( + | 'renderedFields' + | 'names' + | 'schema' + | 'transitions' + | 'operations' + | 'editmeta' + | 'changelog' + | 'versionedRepresentations' + )[] + | string + | string[]; /** A list of up to 5 issue properties to include in the results. This parameter accepts a comma-separated list. */ properties?: string[]; /** Reference fields by their key (rather than ID). The default is `false`. */ diff --git a/src/version3/parameters/assignPermissionScheme.ts b/src/version3/parameters/assignPermissionScheme.ts index 909be5c162..bb31c75f04 100644 --- a/src/version3/parameters/assignPermissionScheme.ts +++ b/src/version3/parameters/assignPermissionScheme.ts @@ -16,13 +16,13 @@ export interface AssignPermissionScheme extends Id { * - `user` Returns information about the user who is granted the permission. */ expand?: - | 'all' - | 'field' - | 'group' - | 'permissions' - | 'projectRole' - | 'user' - | ('all' | 'field' | 'group' | 'permissions' | 'projectRole' | 'user')[] - | string - | string[]; + | 'all' + | 'field' + | 'group' + | 'permissions' + | 'projectRole' + | 'user' + | ('all' | 'field' | 'group' | 'permissions' | 'projectRole' | 'user')[] + | string + | string[]; } diff --git a/src/version3/parameters/createIssue.ts b/src/version3/parameters/createIssue.ts index f48eb69403..94849a384e 100644 --- a/src/version3/parameters/createIssue.ts +++ b/src/version3/parameters/createIssue.ts @@ -1,4 +1,6 @@ -import { Document, IssueUpdateDetails, Project, TimeTrackingDetails } from '../models'; +import { + Document, IssueUpdateDetails, Project, TimeTrackingDetails, +} from '../models'; export interface CreateIssue extends Omit { /** diff --git a/src/version3/parameters/findUsersAndGroups.ts b/src/version3/parameters/findUsersAndGroups.ts index 5ec5bc4b01..a4885157c1 100644 --- a/src/version3/parameters/findUsersAndGroups.ts +++ b/src/version3/parameters/findUsersAndGroups.ts @@ -22,28 +22,28 @@ export interface FindUsersAndGroups { issueTypeId?: string[]; /** The size of the avatar to return. If an invalid value is provided, the default value is used. */ avatarSize?: - | 'xsmall' - | 'xsmall@2x' - | 'xsmall@3x' - | 'small' - | 'small@2x' - | 'small@3x' - | 'medium' - | 'medium@2x' - | 'medium@3x' - | 'large' - | 'large@2x' - | 'large@3x' - | 'xlarge' - | 'xlarge@2x' - | 'xlarge@3x' - | 'xxlarge' - | 'xxlarge@2x' - | 'xxlarge@3x' - | 'xxxlarge' - | 'xxxlarge@2x' - | 'xxxlarge@3x' - | string; + | 'xsmall' + | 'xsmall@2x' + | 'xsmall@3x' + | 'small' + | 'small@2x' + | 'small@3x' + | 'medium' + | 'medium@2x' + | 'medium@3x' + | 'large' + | 'large@2x' + | 'large@3x' + | 'xlarge' + | 'xlarge@2x' + | 'xlarge@3x' + | 'xxlarge' + | 'xxlarge@2x' + | 'xxlarge@3x' + | 'xxxlarge' + | 'xxxlarge@2x' + | 'xxxlarge@3x' + | string; /** Whether the search for groups should be case insensitive. */ caseInsensitive?: boolean; /** diff --git a/src/version3/parameters/getDashboardsPaginated.ts b/src/version3/parameters/getDashboardsPaginated.ts index c664a40079..bfa724cc85 100644 --- a/src/version3/parameters/getDashboardsPaginated.ts +++ b/src/version3/parameters/getDashboardsPaginated.ts @@ -31,25 +31,25 @@ export interface GetDashboardsPaginated { * - `owner` Sorts by dashboard owner name. */ orderBy?: - | 'description' - | '-description' - | '+description' - | 'favorite_count' - | '-favorite_count' - | '+favorite_count' - | 'id' - | '-id' - | '+id' - | 'is_favorite' - | '-is_favorite' - | '+is_favorite' - | 'name' - | '-name' - | '+name' - | 'owner' - | '-owner' - | '+owner' - | string; + | 'description' + | '-description' + | '+description' + | 'favorite_count' + | '-favorite_count' + | '+favorite_count' + | 'id' + | '-id' + | '+id' + | 'is_favorite' + | '-is_favorite' + | '+is_favorite' + | 'name' + | '-name' + | '+name' + | 'owner' + | '-owner' + | '+owner' + | string; /** The index of the first item to return in a page of results (page offset). */ startAt?: number; /** The maximum number of items to return per page. */ @@ -71,15 +71,6 @@ export interface GetDashboardsPaginated { * - `isWritable` Returns whether the current user has permission to edit the dashboard. */ expand?: - | 'description' - | 'owner' - | 'viewUrl' - | 'favourite' - | 'favouritedCount' - | 'sharePermissions' - | 'editPermissions' - | 'isWritable' - | ( | 'description' | 'owner' | 'viewUrl' @@ -88,7 +79,16 @@ export interface GetDashboardsPaginated { | 'sharePermissions' | 'editPermissions' | 'isWritable' - )[] - | string - | string[]; + | ( + | 'description' + | 'owner' + | 'viewUrl' + | 'favourite' + | 'favouritedCount' + | 'sharePermissions' + | 'editPermissions' + | 'isWritable' + )[] + | string + | string[]; } diff --git a/src/version3/parameters/getFieldsPaginated.ts b/src/version3/parameters/getFieldsPaginated.ts index 47272cebaa..33687624c3 100644 --- a/src/version3/parameters/getFieldsPaginated.ts +++ b/src/version3/parameters/getFieldsPaginated.ts @@ -18,22 +18,22 @@ export interface GetFieldsPaginated { * - `screensCount` sorts by the number of screens related to a field */ orderBy?: - | 'contextsCount' - | '-contextsCount' - | '+contextsCount' - | 'lastUsed' - | '-lastUsed' - | '+lastUsed' - | 'name' - | '-name' - | '+name' - | 'screensCount' - | '-screensCount' - | '+screensCount' - | 'projectsCount' - | '-projectsCount' - | '+projectsCount' - | string; + | 'contextsCount' + | '-contextsCount' + | '+contextsCount' + | 'lastUsed' + | '-lastUsed' + | '+lastUsed' + | 'name' + | '-name' + | '+name' + | 'screensCount' + | '-screensCount' + | '+screensCount' + | 'projectsCount' + | '-projectsCount' + | '+projectsCount' + | string; /** * Use [expand](https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/#expansion) to include additional * information in the response. This parameter accepts a comma-separated list. Expand options include: @@ -46,12 +46,12 @@ export interface GetFieldsPaginated { * - `searcherKey` returns the searcher key for each custom field */ expand?: - | 'key' - | 'lastUsed' - | 'screensCount' - | 'isLocked' - | 'searcherKey' - | ('key' | 'lastUsed' | 'screensCount' | 'isLocked' | 'searcherKey')[] - | string - | string[]; + | 'key' + | 'lastUsed' + | 'screensCount' + | 'isLocked' + | 'searcherKey' + | ('key' | 'lastUsed' | 'screensCount' | 'isLocked' | 'searcherKey')[] + | string + | string[]; } diff --git a/src/version3/parameters/getFiltersPaginated.ts b/src/version3/parameters/getFiltersPaginated.ts index 1c7e2863f3..f60612cb52 100644 --- a/src/version3/parameters/getFiltersPaginated.ts +++ b/src/version3/parameters/getFiltersPaginated.ts @@ -37,28 +37,28 @@ export interface GetFiltersPaginated { * - `is_shared` Sorts by whether the filter is shared. */ orderBy?: - | 'description' - | '-description' - | '+description' - | 'favourite_count' - | '-favourite_count' - | '+favourite_count' - | 'id' - | '-id' - | '+id' - | 'is_favourite' - | '-is_favourite' - | '+is_favourite' - | 'name' - | '-name' - | '+name' - | 'owner' - | '-owner' - | '+owner' - | 'is_shared' - | '-is_shared' - | '+is_shared' - | string; + | 'description' + | '-description' + | '+description' + | 'favourite_count' + | '-favourite_count' + | '+favourite_count' + | 'id' + | '-id' + | '+id' + | 'is_favourite' + | '-is_favourite' + | '+is_favourite' + | 'name' + | '-name' + | '+name' + | 'owner' + | '-owner' + | '+owner' + | 'is_shared' + | '-is_shared' + | '+is_shared' + | string; /** The index of the first item to return in a page of results (page offset). */ startAt?: number; /** The maximum number of items to return per page. */ @@ -80,18 +80,6 @@ export interface GetFiltersPaginated { * - `viewUrl` Returns a URL to view the filter. */ expand?: - | 'description' - | 'favourite' - | 'favouritedCount' - | 'jql' - | 'owner' - | 'searchUrl' - | 'sharePermissions' - | 'editPermissions' - | 'isWritable' - | 'subscriptions' - | 'viewUrl' - | ( | 'description' | 'favourite' | 'favouritedCount' @@ -103,9 +91,21 @@ export interface GetFiltersPaginated { | 'isWritable' | 'subscriptions' | 'viewUrl' - )[] - | string - | string[]; + | ( + | 'description' + | 'favourite' + | 'favouritedCount' + | 'jql' + | 'owner' + | 'searchUrl' + | 'sharePermissions' + | 'editPermissions' + | 'isWritable' + | 'subscriptions' + | 'viewUrl' + )[] + | string + | string[]; /** * EXPERIMENTAL: Whether share permissions are overridden to enable filters with any share permissions to be returned. * Available to users with _Administer Jira_ [global permission](https://confluence.atlassian.com/x/x4dKLg). diff --git a/src/version3/parameters/getIssue.ts b/src/version3/parameters/getIssue.ts index 9962e650b8..a85fabe0e4 100644 --- a/src/version3/parameters/getIssue.ts +++ b/src/version3/parameters/getIssue.ts @@ -40,16 +40,16 @@ export interface GetIssue { * representing the most recent version. Note: When included in the request, the `fields` parameter is ignored. */ expand?: - | 'renderedFields' - | 'name' - | 'schema' - | 'transitions' - | 'editmeta' - | 'changelog' - | 'versionedRepresentations' - | ('renderedFields' | 'name' | 'schema' | 'transitions' | 'editmeta' | 'changelog' | 'versionedRepresentations')[] - | string - | string[]; + | 'renderedFields' + | 'name' + | 'schema' + | 'transitions' + | 'editmeta' + | 'changelog' + | 'versionedRepresentations' + | ('renderedFields' | 'name' | 'schema' | 'transitions' | 'editmeta' | 'changelog' | 'versionedRepresentations')[] + | string + | string[]; /** * A list of issue properties to return for the issue. This parameter accepts a comma-separated list. Allowed values: * diff --git a/src/version3/parameters/getNotificationScheme.ts b/src/version3/parameters/getNotificationScheme.ts index 6b13d76597..71945c1c66 100644 --- a/src/version3/parameters/getNotificationScheme.ts +++ b/src/version3/parameters/getNotificationScheme.ts @@ -17,13 +17,13 @@ export interface GetNotificationScheme { * - `user` Returns information about any users assigned to receive an event */ expand?: - | 'all' - | 'field' - | 'group' - | 'notificationSchemeEvents' - | 'projectRole' - | 'user' - | ('all' | 'field' | 'group' | 'notificationSchemeEvents' | 'projectRole' | 'user')[] - | string - | string[]; + | 'all' + | 'field' + | 'group' + | 'notificationSchemeEvents' + | 'projectRole' + | 'user' + | ('all' | 'field' | 'group' | 'notificationSchemeEvents' | 'projectRole' | 'user')[] + | string + | string[]; } diff --git a/src/version3/parameters/getNotificationSchemes.ts b/src/version3/parameters/getNotificationSchemes.ts index a8934b64a5..14fe7bc5dc 100644 --- a/src/version3/parameters/getNotificationSchemes.ts +++ b/src/version3/parameters/getNotificationSchemes.ts @@ -25,13 +25,13 @@ export interface GetNotificationSchemes { * - `user` Returns information about any users assigned to receive an event */ expand?: - | 'all' - | 'field' - | 'group' - | 'notificationSchemeEvents' - | 'projectRole' - | 'user' - | ('all' | 'field' | 'group' | 'notificationSchemeEvents' | 'projectRole' | 'user')[] - | string - | string[]; + | 'all' + | 'field' + | 'group' + | 'notificationSchemeEvents' + | 'projectRole' + | 'user' + | ('all' | 'field' | 'group' | 'notificationSchemeEvents' | 'projectRole' | 'user')[] + | string + | string[]; } diff --git a/src/version3/parameters/getPrecomputations.ts b/src/version3/parameters/getPrecomputations.ts index 26b642d990..b20400335f 100644 --- a/src/version3/parameters/getPrecomputations.ts +++ b/src/version3/parameters/getPrecomputations.ts @@ -19,18 +19,18 @@ export interface GetPrecomputations { * - `updated` Sorts by the updated timestamp. */ orderBy?: - | 'functionKey' - | 'used' - | 'created' - | 'updated' - | '+functionKey' - | '+used' - | '+created' - | '+updated' - | '-functionKey' - | '-used' - | '-created' - | '-updated' - | string; + | 'functionKey' + | 'used' + | 'created' + | 'updated' + | '+functionKey' + | '+used' + | '+created' + | '+updated' + | '-functionKey' + | '-used' + | '-created' + | '-updated' + | string; filter?: string; } diff --git a/src/version3/parameters/getProject.ts b/src/version3/parameters/getProject.ts index 1a8ffef67d..1af1b0078e 100644 --- a/src/version3/parameters/getProject.ts +++ b/src/version3/parameters/getProject.ts @@ -13,14 +13,14 @@ export interface GetProject { * - `issueTypeHierarchy` The project issue type hierarchy. */ expand?: - | 'description' - | 'issueTypes' - | 'lead' - | 'projectKeys' - | 'issueTypeHierarchy' - | ('description' | 'issueTypes' | 'lead' | 'projectKeys' | 'issueTypeHierarchy')[] - | string - | string[]; + | 'description' + | 'issueTypes' + | 'lead' + | 'projectKeys' + | 'issueTypeHierarchy' + | ('description' | 'issueTypes' | 'lead' | 'projectKeys' | 'issueTypeHierarchy')[] + | string + | string[]; /** A list of project properties to return for the project. This parameter accepts a comma-separated list. */ properties?: string[]; } diff --git a/src/version3/parameters/getProjectComponentsPaginated.ts b/src/version3/parameters/getProjectComponentsPaginated.ts index 2c7a2c8f6a..d8b222a6f6 100644 --- a/src/version3/parameters/getProjectComponentsPaginated.ts +++ b/src/version3/parameters/getProjectComponentsPaginated.ts @@ -14,19 +14,19 @@ export interface GetProjectComponentsPaginated { * - `name` Sorts by component name. */ orderBy?: - | 'description' - | '-description' - | '+description' - | 'issueCount' - | '-issueCount' - | '+issueCount' - | 'lead' - | '-lead' - | '+lead' - | 'name' - | '-name' - | '+name' - | string; + | 'description' + | '-description' + | '+description' + | 'issueCount' + | '-issueCount' + | '+issueCount' + | 'lead' + | '-lead' + | '+lead' + | 'name' + | '-name' + | '+name' + | string; /** * Filter the results using a literal string. Components with a matching `name` or `description` are returned (case * insensitive). diff --git a/src/version3/parameters/getProjectVersionsPaginated.ts b/src/version3/parameters/getProjectVersionsPaginated.ts index 485550e3b9..1046648a68 100644 --- a/src/version3/parameters/getProjectVersionsPaginated.ts +++ b/src/version3/parameters/getProjectVersionsPaginated.ts @@ -15,22 +15,22 @@ export interface GetProjectVersionsPaginated { * - `startDate` Sorts by start date, starting with the oldest date. Versions with no start date are listed last. */ orderBy?: - | 'description' - | '-description' - | '+description' - | 'name' - | '-name' - | '+name' - | 'releaseDate' - | '-releaseDate' - | '+releaseDate' - | 'sequence' - | '-sequence' - | '+sequence' - | 'startDate' - | '-startDate' - | '+startDate' - | string; + | 'description' + | '-description' + | '+description' + | 'name' + | '-name' + | '+name' + | 'releaseDate' + | '-releaseDate' + | '+releaseDate' + | 'sequence' + | '-sequence' + | '+sequence' + | 'startDate' + | '-startDate' + | '+startDate' + | string; /** * Filter the results using a literal string. Versions with matching `name` or `description` are returned (case * insensitive). diff --git a/src/version3/parameters/getRecent.ts b/src/version3/parameters/getRecent.ts index 2d6e771fab..d910018bc9 100644 --- a/src/version3/parameters/getRecent.ts +++ b/src/version3/parameters/getRecent.ts @@ -14,17 +14,17 @@ export interface GetRecent { * - `*` Returns the project with all available expand options. */ expand?: - | 'description' - | 'projectKeys' - | 'lead' - | 'issueTypes' - | 'url' - | 'permissions' - | 'insight' - | '*' - | ('description' | 'projectKeys' | 'lead' | 'issueTypes' | 'url' | 'permissions' | 'insight' | '*')[] - | string - | string[]; + | 'description' + | 'projectKeys' + | 'lead' + | 'issueTypes' + | 'url' + | 'permissions' + | 'insight' + | '*' + | ('description' | 'projectKeys' | 'lead' | 'issueTypes' | 'url' | 'permissions' | 'insight' | '*')[] + | string + | string[]; /** * EXPERIMENTAL. A list of project properties to return for the project. This parameter accepts a comma-separated * list. Invalid property names are ignored. diff --git a/src/version3/parameters/getSecurityLevelMembers.ts b/src/version3/parameters/getSecurityLevelMembers.ts index 76cc5349f5..ca3cfe5b25 100644 --- a/src/version3/parameters/getSecurityLevelMembers.ts +++ b/src/version3/parameters/getSecurityLevelMembers.ts @@ -29,12 +29,12 @@ export interface GetSecurityLevelMembers { * - `user` Returns information about the user who is granted the permission */ expand?: - | 'all' - | 'field' - | 'group' - | 'projectRole' - | 'user' - | ('all' | 'field' | 'group' | 'projectRole' | 'user')[] - | string - | string[]; + | 'all' + | 'field' + | 'group' + | 'projectRole' + | 'user' + | ('all' | 'field' | 'group' | 'projectRole' | 'user')[] + | string + | string[]; } diff --git a/src/version3/parameters/getTrashedFieldsPaginated.ts b/src/version3/parameters/getTrashedFieldsPaginated.ts index 26b4119a14..3966b9bdfc 100644 --- a/src/version3/parameters/getTrashedFieldsPaginated.ts +++ b/src/version3/parameters/getTrashedFieldsPaginated.ts @@ -15,17 +15,17 @@ export interface GetTrashedFieldsPaginated { * - `plannedDeletionDate` sorts by the planned deletion date */ orderBy?: - | 'name' - | '-name' - | '+name' - | 'trashDate' - | '-trashDate' - | '+trashDate' - | 'plannedDeletionDate' - | '-plannedDeletionDate' - | '+plannedDeletionDate' - | 'projectsCount' - | '-projectsCount' - | '+projectsCount' - | string; + | 'name' + | '-name' + | '+name' + | 'trashDate' + | '-trashDate' + | '+trashDate' + | 'plannedDeletionDate' + | '-plannedDeletionDate' + | '+plannedDeletionDate' + | 'projectsCount' + | '-projectsCount' + | '+projectsCount' + | string; } diff --git a/src/version3/parameters/getVersion.ts b/src/version3/parameters/getVersion.ts index 651e02895c..0fe6e0dba7 100644 --- a/src/version3/parameters/getVersion.ts +++ b/src/version3/parameters/getVersion.ts @@ -13,11 +13,11 @@ export interface GetVersion { * - `approvers` Returns a list containing the Atlassian account IDs of approvers for this version. */ expand?: - | 'operations' - | 'issuesstatus' - | 'driver' - | 'approvers' - | ('operations' | 'issuesstatus' | 'driver' | 'approvers')[] - | string - | string[]; + | 'operations' + | 'issuesstatus' + | 'driver' + | 'approvers' + | ('operations' | 'issuesstatus' | 'driver' | 'approvers')[] + | string + | string[]; } diff --git a/src/version3/parameters/getWorkflowsPaginated.ts b/src/version3/parameters/getWorkflowsPaginated.ts index a8fd7f7827..2cb10cf063 100644 --- a/src/version3/parameters/getWorkflowsPaginated.ts +++ b/src/version3/parameters/getWorkflowsPaginated.ts @@ -28,17 +28,6 @@ export interface GetWorkflowsPaginated { * - `operations` For each workflow, returns information about the actions that can be undertaken on the workflow. */ expand?: - | 'transitions' - | 'transitions.rules' - | 'transitions.properties' - | 'statuses' - | 'statuses.properties' - | 'default' - | 'schemes' - | 'projects' - | 'hasDraftWorkflow' - | 'operations' - | ( | 'transitions' | 'transitions.rules' | 'transitions.properties' @@ -49,9 +38,20 @@ export interface GetWorkflowsPaginated { | 'projects' | 'hasDraftWorkflow' | 'operations' - )[] - | string - | string[]; + | ( + | 'transitions' + | 'transitions.rules' + | 'transitions.properties' + | 'statuses' + | 'statuses.properties' + | 'default' + | 'schemes' + | 'projects' + | 'hasDraftWorkflow' + | 'operations' + )[] + | string + | string[]; /** String used to perform a case-insensitive partial match with workflow name. */ queryString?: string; /** @@ -62,16 +62,16 @@ export interface GetWorkflowsPaginated { * - `updated` Sorts by update time. */ orderBy?: - | 'name' - | '-name' - | '+name' - | 'created' - | '-created' - | '+created' - | 'updated' - | '+updated' - | '-updated' - | string; + | 'name' + | '-name' + | '+name' + | 'created' + | '-created' + | '+created' + | 'updated' + | '+updated' + | '-updated' + | string; /** Filters active and inactive workflows. */ isActive?: boolean; } diff --git a/src/version3/parameters/searchProjects.ts b/src/version3/parameters/searchProjects.ts index 7332016028..9d8dc97e45 100644 --- a/src/version3/parameters/searchProjects.ts +++ b/src/version3/parameters/searchProjects.ts @@ -17,31 +17,31 @@ export interface SearchProjects { * - `deletedDate` EXPERIMENTAL. Sorts by project deleted date. */ orderBy?: - | 'category' - | '-category' - | '+category' - | 'key' - | '-key' - | '+key' - | 'name' - | '-name' - | '+name' - | 'owner' - | '-owner' - | '+owner' - | 'issueCount' - | '-issueCount' - | '+issueCount' - | 'lastIssueUpdatedDate' - | '-lastIssueUpdatedDate' - | '+lastIssueUpdatedDate' - | 'archivedDate' - | '+archivedDate' - | '-archivedDate' - | 'deletedDate' - | '+deletedDate' - | '-deletedDate' - | string; + | 'category' + | '-category' + | '+category' + | 'key' + | '-key' + | '+key' + | 'name' + | '-name' + | '+name' + | 'owner' + | '-owner' + | '+owner' + | 'issueCount' + | '-issueCount' + | '+issueCount' + | 'lastIssueUpdatedDate' + | '-lastIssueUpdatedDate' + | '+lastIssueUpdatedDate' + | 'archivedDate' + | '+archivedDate' + | '-archivedDate' + | 'deletedDate' + | '+deletedDate' + | '-deletedDate' + | string; /** * The project IDs to filter the results by. To include multiple IDs, provide an ampersand-separated list. For * example, `id=10000&id=10001`. Up to 50 project IDs can be provided. @@ -98,15 +98,15 @@ export interface SearchProjects { * project. */ expand?: - | 'description' - | 'projectKeys' - | 'lead' - | 'issueTypes' - | 'url' - | 'insight' - | ('description' | 'projectKeys' | 'lead' | 'issueTypes' | 'url' | 'insight')[] - | string - | string[]; + | 'description' + | 'projectKeys' + | 'lead' + | 'issueTypes' + | 'url' + | 'insight' + | ('description' | 'projectKeys' | 'lead' | 'issueTypes' | 'url' | 'insight')[] + | string + | string[]; /** * EXPERIMENTAL. Filter results by project status: * diff --git a/src/version3/parameters/updateEntityPropertiesValue.ts b/src/version3/parameters/updateEntityPropertiesValue.ts index 7bcf23f921..a77752c863 100644 --- a/src/version3/parameters/updateEntityPropertiesValue.ts +++ b/src/version3/parameters/updateEntityPropertiesValue.ts @@ -7,16 +7,16 @@ export interface UpdateEntityPropertiesValue { accountId: string; /** The type indicating the object that contains the entity properties. */ entityType: - | 'IssueProperty' - | 'CommentProperty' - | 'DashboardItemProperty' - | 'IssueTypeProperty' - | 'ProjectProperty' - | 'UserProperty' - | 'WorklogProperty' - | 'BoardProperty' - | 'SprintProperty' - | string; + | 'IssueProperty' + | 'CommentProperty' + | 'DashboardItemProperty' + | 'IssueTypeProperty' + | 'ProjectProperty' + | 'UserProperty' + | 'WorklogProperty' + | 'BoardProperty' + | 'SprintProperty' + | string; entities?: Array; } diff --git a/src/version3/parameters/updateProject.ts b/src/version3/parameters/updateProject.ts index b84fee5dff..e37370bf45 100644 --- a/src/version3/parameters/updateProject.ts +++ b/src/version3/parameters/updateProject.ts @@ -16,11 +16,11 @@ export interface UpdateProject extends UpdateProjectDetails { * - `projectKeys` All project keys associated with the project. */ expand?: - | 'description' - | 'issueTypes' - | 'lead' - | 'projectKeys' - | ('description' | 'issueTypes' | 'lead' | 'projectKeys')[] - | string - | string[]; + | 'description' + | 'issueTypes' + | 'lead' + | 'projectKeys' + | ('description' | 'issueTypes' | 'lead' | 'projectKeys')[] + | string + | string[]; } diff --git a/tests/integration/agile/sprint.test.ts b/tests/integration/agile/sprint.test.ts index f8e7185a5a..163db89753 100644 --- a/tests/integration/agile/sprint.test.ts +++ b/tests/integration/agile/sprint.test.ts @@ -1,7 +1,9 @@ +import test from 'ava'; import { AgileModels } from '../../../src'; import { Constants } from '../constants'; -import test from 'ava'; -import { createAgileProject, deleteAgileProject, getAgileClient, getVersion3Client } from '../utils'; +import { + createAgileProject, deleteAgileProject, getAgileClient, getVersion3Client, +} from '../utils'; const client = getAgileClient(); diff --git a/tests/integration/utils/getClient.ts b/tests/integration/utils/getClient.ts index 570c62f2c5..0f3dc13c03 100644 --- a/tests/integration/utils/getClient.ts +++ b/tests/integration/utils/getClient.ts @@ -10,9 +10,6 @@ const config = { }, }; -export const getAgileClient = (customConfig?: Partial) => - createClient(ClientType.Agile, { ...config, ...customConfig }); -export const getVersion2Client = (customConfig?: Partial) => - createClient(ClientType.Version2, { ...config, ...customConfig }); -export const getVersion3Client = (customConfig?: Partial) => - createClient(ClientType.Version3, { ...config, ...customConfig }); +export const getAgileClient = (customConfig?: Partial) => createClient(ClientType.Agile, { ...config, ...customConfig }); +export const getVersion2Client = (customConfig?: Partial) => createClient(ClientType.Version2, { ...config, ...customConfig }); +export const getVersion3Client = (customConfig?: Partial) => createClient(ClientType.Version3, { ...config, ...customConfig }); diff --git a/tests/integration/version2/avatars.test.ts b/tests/integration/version2/avatars.test.ts index 6cecbfa04f..b3ce102173 100644 --- a/tests/integration/version2/avatars.test.ts +++ b/tests/integration/version2/avatars.test.ts @@ -1,6 +1,6 @@ +import test from 'ava'; import { Avatar } from '../../../src/version3/models'; import { getVersion2Client } from '../utils'; -import test from 'ava'; const client = getVersion2Client(); diff --git a/tests/integration/version2/dashboards.test.ts b/tests/integration/version2/dashboards.test.ts index e12a13a0cf..4f606537b8 100644 --- a/tests/integration/version2/dashboards.test.ts +++ b/tests/integration/version2/dashboards.test.ts @@ -1,6 +1,6 @@ +import test from 'ava'; import { Constants } from '../constants'; import { getVersion2Client } from '../utils'; -import test from 'ava'; import { Version2Models } from '../../../src'; let dashboard: Version2Models.Dashboard; diff --git a/tests/integration/version2/groups.test.ts b/tests/integration/version2/groups.test.ts index 4601326b66..0c560a1292 100644 --- a/tests/integration/version2/groups.test.ts +++ b/tests/integration/version2/groups.test.ts @@ -1,6 +1,6 @@ +import test from 'ava'; import { Constants } from '..'; import { getVersion2Client } from '../utils'; -import test from 'ava'; const client = getVersion2Client(); diff --git a/tests/integration/version2/issueAttachments.test.ts b/tests/integration/version2/issueAttachments.test.ts index 04f8067198..0c9d6bbfa5 100644 --- a/tests/integration/version2/issueAttachments.test.ts +++ b/tests/integration/version2/issueAttachments.test.ts @@ -1,6 +1,6 @@ import * as fs from 'fs'; -import { Constants } from '../constants'; import test from 'ava'; +import { Constants } from '../constants'; import { Attachment, Issue } from '../../../src/version2/models'; import { cleanupEnvironment, getVersion2Client, prepareEnvironment } from '../utils'; @@ -58,4 +58,3 @@ test.serial('should remove attachment', async t => { t.pass(); }); - diff --git a/tests/integration/version2/issueComments.test.ts b/tests/integration/version2/issueComments.test.ts index 59cc612f4a..7aea2800ca 100644 --- a/tests/integration/version2/issueComments.test.ts +++ b/tests/integration/version2/issueComments.test.ts @@ -1,6 +1,6 @@ import { AxiosError } from 'axios'; -import { Constants } from '../constants'; import test from 'ava'; +import { Constants } from '../constants'; import { cleanupEnvironment, getVersion2Client, prepareEnvironment } from '../utils'; test.before(async () => { diff --git a/tests/integration/version2/issueVotes.test.ts b/tests/integration/version2/issueVotes.test.ts index 5500b9e0d8..f459dbef37 100644 --- a/tests/integration/version2/issueVotes.test.ts +++ b/tests/integration/version2/issueVotes.test.ts @@ -1,6 +1,8 @@ -import { CreatedIssue } from '../../../src/version2/models'; import test from 'ava'; -import { cleanupEnvironment, createIssue, getVersion2Client, prepareEnvironment } from '../utils'; +import { CreatedIssue } from '../../../src/version2/models'; +import { + cleanupEnvironment, createIssue, getVersion2Client, prepareEnvironment, +} from '../utils'; const client = getVersion2Client(); let createdIssue: CreatedIssue; diff --git a/tests/integration/version2/issues.test.ts b/tests/integration/version2/issues.test.ts index f26b72790b..811e08aec8 100644 --- a/tests/integration/version2/issues.test.ts +++ b/tests/integration/version2/issues.test.ts @@ -1,5 +1,5 @@ -import { Constants } from '../constants'; import test from 'ava'; +import { Constants } from '../constants'; import { Version2Models } from '../../../src'; import { cleanupEnvironment, getVersion2Client, prepareEnvironment } from '../utils'; diff --git a/tests/integration/version2/projectRoles.test.ts b/tests/integration/version2/projectRoles.test.ts index cea8b869b9..cca4d51026 100644 --- a/tests/integration/version2/projectRoles.test.ts +++ b/tests/integration/version2/projectRoles.test.ts @@ -1,5 +1,5 @@ -import { Constants } from '../constants'; import test from 'ava'; +import { Constants } from '../constants'; import { cleanupEnvironment, getVersion2Client, prepareEnvironment } from '../utils'; const client = getVersion2Client(); diff --git a/tests/integration/version2/projects.test.ts b/tests/integration/version2/projects.test.ts index 148d536ab2..0f352a3f2f 100644 --- a/tests/integration/version2/projects.test.ts +++ b/tests/integration/version2/projects.test.ts @@ -1,5 +1,5 @@ -import { Constants } from '../constants'; import test from 'ava'; +import { Constants } from '../constants'; import { cleanupEnvironment, getVersion2Client, prepareEnvironment } from '../utils'; test.before(async () => { diff --git a/tests/integration/version2/users.test.ts b/tests/integration/version2/users.test.ts deleted file mode 100644 index 6817e42cbb..0000000000 --- a/tests/integration/version2/users.test.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { getVersion2Client } from '../utils'; -import test from 'ava'; - -const client = getVersion2Client(); - -test.serial('should set default user columns', async t => { - const response = await client.users.setUserColumns(); - - t.is(typeof response, 'string'); - t.is(response.trim(), ''); -}); diff --git a/tests/integration/version3/avatars.test.ts b/tests/integration/version3/avatars.test.ts index 3a3b4b8101..61e02326aa 100644 --- a/tests/integration/version3/avatars.test.ts +++ b/tests/integration/version3/avatars.test.ts @@ -1,6 +1,6 @@ +import test from 'ava'; import { Avatar } from '../../../src/version3/models'; import { getVersion3Client } from '../utils'; -import test from 'ava'; const client = getVersion3Client(); diff --git a/tests/integration/version3/dashboards.test.ts b/tests/integration/version3/dashboards.test.ts index 72d189ee3d..5fc9df2d21 100644 --- a/tests/integration/version3/dashboards.test.ts +++ b/tests/integration/version3/dashboards.test.ts @@ -1,6 +1,6 @@ +import test from 'ava'; import { Constants } from '../constants'; import { getVersion3Client } from '../utils'; -import test from 'ava'; import { Version3Models } from '../../../src'; let dashboard: Version3Models.Dashboard; diff --git a/tests/integration/version3/groups.test.ts b/tests/integration/version3/groups.test.ts index 6bc68c6294..c4e4eaae46 100644 --- a/tests/integration/version3/groups.test.ts +++ b/tests/integration/version3/groups.test.ts @@ -1,6 +1,6 @@ +import test from 'ava'; import { Constants } from '..'; import { getVersion3Client } from '../utils'; -import test from 'ava'; const client = getVersion3Client(); diff --git a/tests/integration/version3/issueAttachments.test.ts b/tests/integration/version3/issueAttachments.test.ts index ba257044d4..40fb372ff1 100644 --- a/tests/integration/version3/issueAttachments.test.ts +++ b/tests/integration/version3/issueAttachments.test.ts @@ -1,6 +1,6 @@ import * as fs from 'fs'; -import { Constants } from '../constants'; import test from 'ava'; +import { Constants } from '../constants'; import { Attachment, Issue } from '../../../src/version3/models'; import { cleanupEnvironment, getVersion3Client, prepareEnvironment } from '../utils'; diff --git a/tests/integration/version3/issueComments.test.ts b/tests/integration/version3/issueComments.test.ts index d3c7c501ff..c85629fa3a 100644 --- a/tests/integration/version3/issueComments.test.ts +++ b/tests/integration/version3/issueComments.test.ts @@ -1,5 +1,5 @@ -import { Constants } from '../constants'; import test from 'ava'; +import { Constants } from '../constants'; import { cleanupEnvironment, getVersion3Client, prepareEnvironment } from '../utils'; test.before(async () => { diff --git a/tests/integration/version3/issueVotes.test.ts b/tests/integration/version3/issueVotes.test.ts index 0828ce13b4..97c11f1dd0 100644 --- a/tests/integration/version3/issueVotes.test.ts +++ b/tests/integration/version3/issueVotes.test.ts @@ -1,6 +1,8 @@ -import { CreatedIssue } from '../../../src/version3/models'; import test from 'ava'; -import { cleanupEnvironment, createIssue, getVersion3Client, prepareEnvironment } from '../utils'; +import { CreatedIssue } from '../../../src/version3/models'; +import { + cleanupEnvironment, createIssue, getVersion3Client, prepareEnvironment, +} from '../utils'; const client = getVersion3Client(); let createdIssue: CreatedIssue; diff --git a/tests/integration/version3/issues.test.ts b/tests/integration/version3/issues.test.ts index 053a4d3a80..0e1ac5236c 100644 --- a/tests/integration/version3/issues.test.ts +++ b/tests/integration/version3/issues.test.ts @@ -1,5 +1,5 @@ -import { Constants } from '../constants'; import test from 'ava'; +import { Constants } from '../constants'; import { Version3Models } from '../../../src'; import { cleanupEnvironment, getVersion3Client, prepareEnvironment } from '../utils'; diff --git a/tests/integration/version3/projectRoles.test.ts b/tests/integration/version3/projectRoles.test.ts index 71f0aeea65..e01d77b41d 100644 --- a/tests/integration/version3/projectRoles.test.ts +++ b/tests/integration/version3/projectRoles.test.ts @@ -1,5 +1,5 @@ -import { Constants } from '../constants'; import test from 'ava'; +import { Constants } from '../constants'; import { cleanupEnvironment, getVersion3Client, prepareEnvironment } from '../utils'; const client = getVersion3Client(); diff --git a/tests/integration/version3/projects.test.ts b/tests/integration/version3/projects.test.ts index 8c9ffc2e53..a9d38f4790 100644 --- a/tests/integration/version3/projects.test.ts +++ b/tests/integration/version3/projects.test.ts @@ -1,5 +1,5 @@ -import { Constants } from '../constants'; import test from 'ava'; +import { Constants } from '../constants'; import { cleanupEnvironment, getVersion3Client, prepareEnvironment } from '../utils'; test.before(async () => { diff --git a/tests/integration/version3/users.test.ts b/tests/integration/version3/users.test.ts deleted file mode 100644 index f68bfce989..0000000000 --- a/tests/integration/version3/users.test.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { getVersion3Client } from '../utils'; -import test from 'ava'; - -const client = getVersion3Client(); - -test.serial('should set default user columns', async t => { - const response = await client.users.setUserColumns(); - - t.is(typeof response, 'string'); - t.is(response.trim(), ''); -}); diff --git a/tests/unit/agile/board.test.ts b/tests/unit/agile/board.test.ts index cfa08b55cc..4eaa3e6c5d 100644 --- a/tests/unit/agile/board.test.ts +++ b/tests/unit/agile/board.test.ts @@ -1,6 +1,6 @@ import * as sinon from 'sinon'; -import { AgileClient } from '../../../src'; import test from 'ava'; +import { AgileClient } from '../../../src'; const config = { host: 'http://localhost' }; diff --git a/tests/unit/agile/issue.test.ts b/tests/unit/agile/issue.test.ts index 5f0a967f7a..3c08b65fd9 100644 --- a/tests/unit/agile/issue.test.ts +++ b/tests/unit/agile/issue.test.ts @@ -1,6 +1,6 @@ import * as sinon from 'sinon'; -import { AgileClient } from '../../../src'; import test from 'ava'; +import { AgileClient } from '../../../src'; test('getIssue should accept follow parameters', t => { const client = new AgileClient({ host: 'http://localhost' }); diff --git a/tests/unit/agile/sprint.test.ts b/tests/unit/agile/sprint.test.ts index 63c8251973..9a771781bc 100644 --- a/tests/unit/agile/sprint.test.ts +++ b/tests/unit/agile/sprint.test.ts @@ -1,6 +1,6 @@ import * as sinon from 'sinon'; -import { AgileClient } from '../../../src'; import test from 'ava'; +import { AgileClient } from '../../../src'; test('moveIssuesToSprintAndRank should accept follow parameters', t => { const client = new AgileClient({ host: 'http://localhost' }); diff --git a/tests/unit/clients/baseClient.test.ts b/tests/unit/clients/baseClient.test.ts index 0763a28a01..5d5d01f931 100644 --- a/tests/unit/clients/baseClient.test.ts +++ b/tests/unit/clients/baseClient.test.ts @@ -1,6 +1,6 @@ import * as sinon from 'sinon'; -import { BaseClient } from '../../../src'; import test from 'ava'; +import { BaseClient } from '../../../src'; const XAtlassianToken = 'X-Atlassian-Token'; @@ -72,11 +72,13 @@ test('should create X-Atlassian-Token: no-check header in requests case 2', t => t.is(callArgument.headers?.[XAtlassianToken], undefined); }); -test('should\'n display error message for correct host urls', t => { +test('shouldn\'t display error message for correct host urls', t => { + // eslint-disable-next-line no-new new BaseClient({ host: 'http://localhost', }); + // eslint-disable-next-line no-new new BaseClient({ host: 'https://localhost/', }); diff --git a/tests/unit/createClient.test.ts b/tests/unit/createClient.test.ts index 320c1cfe87..7005eb4693 100644 --- a/tests/unit/createClient.test.ts +++ b/tests/unit/createClient.test.ts @@ -1,5 +1,7 @@ import test from 'ava'; -import { AgileClient, BaseClient, ClientType, createClient, Version2Client, Version3Client } from '../../src'; +import { + AgileClient, BaseClient, ClientType, createClient, Version2Client, Version3Client, +} from '../../src'; const defaultConfig = { host: 'http://localhost' }; diff --git a/tests/unit/services/authenticationService.test.ts b/tests/unit/services/authenticationService.test.ts index 99d42f47c5..5fe5f758ec 100644 --- a/tests/unit/services/authenticationService.test.ts +++ b/tests/unit/services/authenticationService.test.ts @@ -1,6 +1,6 @@ +import test from 'ava'; import { Config } from '../../../src'; import { getAuthenticationToken } from '../../../src/services/authenticationService'; -import test from 'ava'; test('should return undefined when authentication does not used', async t => { const authentication = undefined; diff --git a/tests/unit/version2/issueLinks.test.ts b/tests/unit/version2/issueLinks.test.ts index 949a1b6e53..77fd74d6fa 100644 --- a/tests/unit/version2/issueLinks.test.ts +++ b/tests/unit/version2/issueLinks.test.ts @@ -4,7 +4,7 @@ import { IssueLinks, Version2Client } from '../../../src/version2'; const client = new Version2Client({ host: 'http://localhost' }); const sendRequestStub = sinon.stub(client, 'sendRequest'); -let issueLinks = new IssueLinks(client); +const issueLinks = new IssueLinks(client); test('linkIssues should calls without parameters', t => { issueLinks.linkIssues({ diff --git a/tests/unit/version2/issueVotes.test.ts b/tests/unit/version2/issueVotes.test.ts index b7c1110e2b..371acb610f 100644 --- a/tests/unit/version2/issueVotes.test.ts +++ b/tests/unit/version2/issueVotes.test.ts @@ -1,6 +1,6 @@ import * as sinon from 'sinon'; -import { IssueVotes } from '../../../src/version2'; import test from 'ava'; +import { IssueVotes } from '../../../src/version2'; import { Version2Client } from '../../../src'; const client = new Version2Client({ host: 'http://localhost' }); diff --git a/tests/unit/version3/issueVotes.test.ts b/tests/unit/version3/issueVotes.test.ts index 63af1dd9a6..837e84be4c 100644 --- a/tests/unit/version3/issueVotes.test.ts +++ b/tests/unit/version3/issueVotes.test.ts @@ -1,6 +1,6 @@ import * as sinon from 'sinon'; -import { IssueVotes } from '../../../src/version3'; import test from 'ava'; +import { IssueVotes } from '../../../src/version3'; import { Version3Client } from '../../../src'; const client = new Version3Client({ host: 'http://localhost' });