We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 244da56 + 6060c10 commit 3f9b5d8Copy full SHA for 3f9b5d8
.github/workflows/ci.yml
@@ -88,7 +88,7 @@ jobs:
88
- run: npm run doc
89
90
- name: Upload static files as artifact
91
- uses: actions/upload-pages-artifact@v3
+ uses: actions/upload-pages-artifact@v4
92
with: {path: docs}
93
94
- id: deployment
lib/index.ts
@@ -71,11 +71,11 @@ export class SyncChildProcess
71
this.worker.on('error', console.error);
72
73
this.stdin = new stream.Writable({
74
- write: (chunk: Buffer, encoding, callback) => {
+ write: (chunk: Buffer<ArrayBuffer>, encoding, callback) => {
75
this.port.postMessage(
76
{
77
type: 'stdin',
78
- data: chunk as Buffer,
+ data: chunk,
79
},
80
isMarkedAsUntransferable(chunk.buffer) ? undefined : [chunk.buffer],
81
);
0 commit comments