From 04b2320f4bb76f11b95ff8dc3adeacdd0422887a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 5 Dec 2024 03:10:55 +0000 Subject: [PATCH 1/2] chore(deps-dev): bump prettier from 3.0.3 to 3.4.2 Bumps [prettier](https://github.com/prettier/prettier) from 3.0.3 to 3.4.2. - [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.0.3...3.4.2) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 14 +++++++------- package.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index daae9ad8b..d44f85888 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,7 @@ "doctoc": "^2.0.1", "license-checker": "^25.0.1", "ory-prettier-styles": "1.3.0", - "prettier": "3.0.3", + "prettier": "3.4.2", "prettier-plugin-packagejson": "^2.4.6" } }, @@ -2760,9 +2760,9 @@ } }, "node_modules/prettier": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.3.tgz", - "integrity": "sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==", + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.4.2.tgz", + "integrity": "sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ==", "dev": true, "bin": { "prettier": "bin/prettier.cjs" @@ -5747,9 +5747,9 @@ "dev": true }, "prettier": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.3.tgz", - "integrity": "sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==", + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.4.2.tgz", + "integrity": "sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ==", "dev": true }, "prettier-plugin-packagejson": { diff --git a/package.json b/package.json index cec6b4a0d..c6d46275d 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "doctoc": "^2.0.1", "license-checker": "^25.0.1", "ory-prettier-styles": "1.3.0", - "prettier": "3.0.3", + "prettier": "3.4.2", "prettier-plugin-packagejson": "^2.4.6" } } From 4cd38128b6c2c2237415a23a566148bb9d808e76 Mon Sep 17 00:00:00 2001 From: aeneasr <3372410+aeneasr@users.noreply.github.com> Date: Thu, 5 Dec 2024 17:05:41 +0100 Subject: [PATCH 2/2] chore: synchronize workspaces --- contrib/namespace-type-lib/index.d.ts | 6 ++---- docs/ory_permission_language_spec.md | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/contrib/namespace-type-lib/index.d.ts b/contrib/namespace-type-lib/index.d.ts index bb159ee35..ad5c717cb 100644 --- a/contrib/namespace-type-lib/index.d.ts +++ b/contrib/namespace-type-lib/index.d.ts @@ -71,8 +71,6 @@ declare module "@ory/keto-namespace-types" { export type Namespace = namespace - export type SubjectSet< - A extends Namespace, - R extends keyof A["related"], - > = A["related"][R] extends Array ? T : never + export type SubjectSet = + A["related"][R] extends Array ? T : never } diff --git a/docs/ory_permission_language_spec.md b/docs/ory_permission_language_spec.md index 99e732a57..c87873887 100644 --- a/docs/ory_permission_language_spec.md +++ b/docs/ory_permission_language_spec.md @@ -128,10 +128,8 @@ interface Array { traverse(iteratorfn: (element: Namespace) => boolean): boolean } -type SubjectSet< - A extends Namespace, - R extends keyof A["related"], -> = A["related"][R] extends Array ? T : never +type SubjectSet = + A["related"][R] extends Array ? T : never ``` ### Operators