Skip to content

Commit

Permalink
Use the JSONStream typings from @types/jsonstream
Browse files Browse the repository at this point in the history
Change-type: patch
  • Loading branch information
Page- committed Nov 29, 2023
1 parent 6b80844 commit 155fdcc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 31 deletions.
2 changes: 1 addition & 1 deletion lib/build/builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ function getDockerDaemonBuildOutputParserStream(
return stream.pipeline(
daemonStream,
// parse the docker daemon's output json objects
JSONStream.parse(),
JSONStream.parse(undefined),
// Don't use fat-arrow syntax here, to capture 'this' from es
es.through<stream.Duplex>(function (data: {
stream: string;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@types/event-stream": "^4.0.0",
"@types/js-yaml": "^4.0.1",
"@types/jsesc": "^3.0.1",
"@types/jsonstream": "^0.8.30",
"@types/JSONStream": "npm:@types/jsonstream@^0.8.33",
"@types/klaw": "^3.0.3",
"@types/lodash": "^4.14.181",
"@types/memoizee": "^0.4.11",
Expand Down
29 changes: 0 additions & 29 deletions typings/JSONStream.d.ts

This file was deleted.

0 comments on commit 155fdcc

Please sign in to comment.