Skip to content

ci: merge staging to master #36

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

Merged
merged 4 commits into from
May 14, 2025
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
10 changes: 5 additions & 5 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 @@ -41,7 +41,7 @@
"@matrixai/timer": "^2.0.0"
},
"devDependencies": {
"@matrixai/lint": "^0.2.4",
"@matrixai/lint": "^0.2.6",
"@swc/core": "^1.3.76",
"@swc/jest": "^0.2.29",
"@types/jest": "^29.5.2",
Expand Down
2 changes: 1 addition & 1 deletion src/LockBox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ class LockBox<L extends Lockable = Lockable> implements Lockable {
signal.addEventListener(
'abort',
() => {
waitPs.reverse();
void waitPs.reverse();
for (const waitP of waitPs) {
waitP.cancel(signal.reason);
}
Expand Down
2 changes: 1 addition & 1 deletion src/Monitor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ class Monitor<RWLock extends RWLockReader | RWLockWriter> implements Lockable {
signal.addEventListener(
'abort',
() => {
waitPs.reverse();
void waitPs.reverse();
for (const waitP of waitPs) {
waitP.cancel(signal.reason);
}
Expand Down
4 changes: 0 additions & 4 deletions src/RWLockReader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,6 @@ class RWLockReader implements Lockable {
} else {
if (typeof params[0] === 'string') {
type = params.shift() as 'read' | 'write';
} else if (typeof params[0] == null) {
params.shift();
}
}
type = type! ?? 'write';
Expand Down Expand Up @@ -268,8 +266,6 @@ class RWLockReader implements Lockable {
} else {
if (typeof params[0] === 'string') {
type = params.shift() as 'read' | 'write';
} else if (typeof params[0] == null) {
params.shift();
}
}
type = type! ?? 'write';
Expand Down
4 changes: 0 additions & 4 deletions src/RWLockWriter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,6 @@ class RWLockWriter implements Lockable {
} else {
if (typeof params[0] === 'string') {
type = params.shift() as 'read' | 'write';
} else if (typeof params[0] == null) {
params.shift();
}
}
type = type! ?? 'write';
Expand Down Expand Up @@ -269,8 +267,6 @@ class RWLockWriter implements Lockable {
} else {
if (typeof params[0] === 'string') {
type = params.shift() as 'read' | 'write';
} else if (typeof params[0] == null) {
params.shift();
}
}
type = type! ?? 'write';
Expand Down
Loading