Skip to content

Commit

Permalink
fix: add dictionary for thread-stream (Used by pino) (#36)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Lando <daniel.sorridi@gmail.com>
  • Loading branch information
segevfiner and robertsLando authored Feb 28, 2024
1 parent d47ee03 commit b01d1ad
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dictionary/thread-stream.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
'use strict';

module.exports = {
pkg: {
scripts: ['lib/worker.js'],
},
};
3 changes: 3 additions & 0 deletions test/test-79-npm/thread-stream/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"private": true
}
6 changes: 6 additions & 0 deletions test/test-79-npm/thread-stream/thread-stream.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
'use strict';

var ThreadStream = require('thread-stream');
if (ThreadStream !== undefined) {
console.log('ok');
}

0 comments on commit b01d1ad

Please sign in to comment.