Skip to content
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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
- run: npm run doc

- name: Upload static files as artifact
uses: actions/upload-pages-artifact@v3
uses: actions/upload-pages-artifact@v4
with: {path: docs}

- id: deployment
Expand Down
4 changes: 2 additions & 2 deletions lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ export class SyncChildProcess
this.worker.on('error', console.error);

this.stdin = new stream.Writable({
write: (chunk: Buffer, encoding, callback) => {
write: (chunk: Buffer<ArrayBuffer>, encoding, callback) => {
this.port.postMessage(
{
type: 'stdin',
data: chunk as Buffer,
data: chunk,
},
isMarkedAsUntransferable(chunk.buffer) ? undefined : [chunk.buffer],
);
Expand Down
Loading