From 5e3f196acfdadb5d0a9baba68c257c21dd746ec1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 Jul 2026 05:01:06 +0000 Subject: [PATCH 1/2] build(deps-dev): bump prettier in the prettier group across 1 directory Bumps the prettier group with 1 update in the / directory: [prettier](https://github.com/prettier/prettier). Updates `prettier` from 3.8.4 to 3.9.4 - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/3.8.4...3.9.4) --- updated-dependencies: - dependency-name: prettier dependency-version: 3.9.4 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: prettier ... Signed-off-by: dependabot[bot] --- package.json | 2 +- pnpm-lock.yaml | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index 0fe7719fe..302d58e45 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,7 @@ "lint-staged": "16.4.0", "oxlint": "1.50.0", "oxlint-tsgolint": "0.14.2", - "prettier": "^3.8.4", + "prettier": "^3.9.4", "prettier-plugin-jsdoc": "^1.8.1", "typedoc": "^0.28.18", "typedoc-plugin-markdown": "^4.12.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ab76dcc4b..c75ac512c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -33,11 +33,11 @@ importers: specifier: 0.14.2 version: 0.14.2 prettier: - specifier: ^3.8.4 - version: 3.8.4 + specifier: ^3.9.4 + version: 3.9.4 prettier-plugin-jsdoc: specifier: ^1.8.1 - version: 1.8.1(prettier@3.8.4) + version: 1.8.1(prettier@3.9.4) typedoc: specifier: ^0.28.18 version: 0.28.18(typescript@5.9.3) @@ -1976,8 +1976,8 @@ packages: peerDependencies: prettier: ^3.0.0 - prettier@3.8.4: - resolution: {integrity: sha512-N2MylSdi48+5N/6S5j+maeHbUSIzzZ5uOcX5Hm4QpV8Dkb1HFjfAKTKX6yNPJQD9AhcT3ifHNB66tWTTJDi11Q==} + prettier@3.9.4: + resolution: {integrity: sha512-yWG/o/4oJfo036EKAfK6ACAoDOfHeRHx4tuxkfBZiauURiaSmYwlpOr5LQqKtIkRD2z1PLteme2WoxEnj4tHTg==} engines: {node: '>=14'} hasBin: true @@ -4195,16 +4195,16 @@ snapshots: prelude-ls@1.2.1: {} - prettier-plugin-jsdoc@1.8.1(prettier@3.8.4): + prettier-plugin-jsdoc@1.8.1(prettier@3.9.4): dependencies: binary-searching: 2.0.5 comment-parser: 1.4.7 mdast-util-from-markdown: 2.0.3 - prettier: 3.8.4 + prettier: 3.9.4 transitivePeerDependencies: - supports-color - prettier@3.8.4: {} + prettier@3.9.4: {} property-information@7.2.0: {} From 2257978a595c7aefadc330a4cf59ab1d090da597 Mon Sep 17 00:00:00 2001 From: Strift Date: Mon, 6 Jul 2026 13:04:15 +0800 Subject: [PATCH 2/2] Run formatter --- src/task.ts | 3 +-- src/types/search-rules.ts | 3 +-- src/types/token.ts | 3 +-- src/types/types.ts | 10 +++------- 4 files changed, 6 insertions(+), 13 deletions(-) diff --git a/src/task.ts b/src/task.ts index 061c98738..67bc1fb0b 100644 --- a/src/task.ts +++ b/src/task.ts @@ -155,8 +155,7 @@ export class TaskClient { */ async *waitForTasksIter( taskUidsOrEnqueuedTasks: - | Iterable - | AsyncIterable, + Iterable | AsyncIterable, options?: WaitOptions, ): AsyncGenerator { for await (const taskUidOrEnqueuedTask of taskUidsOrEnqueuedTasks) { diff --git a/src/types/search-rules.ts b/src/types/search-rules.ts index 789afc4a8..1ec13451d 100644 --- a/src/types/search-rules.ts +++ b/src/types/search-rules.ts @@ -37,8 +37,7 @@ export type SearchRuleTimeCondition = { }; export type SearchRuleCondition = - | SearchRuleQueryCondition - | SearchRuleTimeCondition; + SearchRuleQueryCondition | SearchRuleTimeCondition; /** Dynamic search rule object */ export type SearchRule = { diff --git a/src/types/token.ts b/src/types/token.ts index 3ca1d570e..05409647a 100644 --- a/src/types/token.ts +++ b/src/types/token.ts @@ -11,8 +11,7 @@ export type TokenIndexRules = { filter?: Filter }; * @see {@link https://github.com/meilisearch/meilisearch/blob/b21d7aedf9096539041362d438e973a18170f3fc/crates/meilisearch-auth/src/lib.rs#L271-L277 | GitHub source code} */ export type TokenSearchRules = - | Record - | string[]; + Record | string[]; /** Options object for tenant token generation. */ export type TenantTokenGeneratorOptions = { diff --git a/src/types/types.ts b/src/types/types.ts index 3552382d7..0a5ceece3 100644 --- a/src/types/types.ts +++ b/src/types/types.ts @@ -478,8 +478,7 @@ export type SearchSimilarDocumentsParams = { */ type Fields = - | Extract[] - | Extract; + Extract[] | Extract; /** Options for task enqueue that apply to all document write operations. */ export type TaskEnqueueOptions = { @@ -509,9 +508,7 @@ export const ContentTypeEnum: Readonly> = { }; export type ContentType = - | "text/csv" - | "application/x-ndjson" - | "application/json"; + "text/csv" | "application/x-ndjson" | "application/json"; export type RawDocumentAdditionOptions = DocumentOptions & { csvDelimiter?: string; @@ -561,8 +558,7 @@ export type GranularFilterableAttribute = { }; export type FilterableAttributes = - | (string | GranularFilterableAttribute)[] - | null; + (string | GranularFilterableAttribute)[] | null; export type DistinctAttribute = string | null; export type SearchableAttributes = string[] | null; export type SortableAttributes = string[] | null;