Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps-dev): bump prettier from 3.1.1 to 3.2.4 #2311

Merged
merged 3 commits into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@
"fast-check": "^3.15.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "3.1.1",
"prettier": "3.2.4",
"rdf-isomorphic": "^1.3.1",
"rdf-namespaces": "^1.12.0",
"rollup": "^4.9.1",
Expand Down
7 changes: 2 additions & 5 deletions src/acl/acl.internal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
try {
const resourceAcl = await internal_fetchResourceAcl(resourceInfo, options);

const acl =

Check warning on line 82 in src/acl/acl.internal.ts

View workflow job for this annotation

GitHub Actions / lint / lint

'acl' is already declared in the upper scope on line 35 column 10
resourceAcl === null
? {
resourceAcl: null,
Expand Down Expand Up @@ -478,7 +478,7 @@
predicate: IriString,
) {
return getIriAll(inputRule, predicate).reduce(
(outputRule, iriTarget) => addIri(outputRule, predicate, iriTarget),

Check warning on line 481 in src/acl/acl.internal.ts

View workflow job for this annotation

GitHub Actions / lint / lint

'outputRule' is already declared in the upper scope on line 477 column 5
outputRule,
);
}
Expand All @@ -504,15 +504,15 @@
*/
export function internal_setAcl<ResourceExt extends WithServerResourceInfo>(
resource: ResourceExt,
acl: WithResourceAcl["internal_acl"],

Check warning on line 507 in src/acl/acl.internal.ts

View workflow job for this annotation

GitHub Actions / lint / lint

'acl' is already declared in the upper scope on line 35 column 10
): ResourceExt & WithResourceAcl;
export function internal_setAcl<ResourceExt extends WithServerResourceInfo>(
resource: ResourceExt,
acl: WithFallbackAcl["internal_acl"],

Check warning on line 511 in src/acl/acl.internal.ts

View workflow job for this annotation

GitHub Actions / lint / lint

'acl' is already declared in the upper scope on line 35 column 10
): ResourceExt & WithFallbackAcl;
export function internal_setAcl<ResourceExt extends WithServerResourceInfo>(
resource: ResourceExt,
acl: WithAcl["internal_acl"],

Check warning on line 515 in src/acl/acl.internal.ts

View workflow job for this annotation

GitHub Actions / lint / lint

'acl' is already declared in the upper scope on line 35 column 10
): ResourceExt & WithAcl;
export function internal_setAcl<ResourceExt extends WithServerResourceInfo>(
resource: ResourceExt,
Expand All @@ -535,11 +535,8 @@
* us everywhere to update everywhere the ActorRelation type is used and that
* needs additional work to handle it.
*/
type SupportedActorPredicate = typeof supportedActorPredicates extends Array<
infer E
>
? E
: never;
type SupportedActorPredicate =
typeof supportedActorPredicates extends Array<infer E> ? E : never;

/**
* Given an ACL Rule, returns two new ACL Rules that cover all the input Rule's use cases,
Expand Down
Loading