npm-pkg-lint 4.0.4 → 4.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -15968,11 +15968,18 @@ var lineIterator = async function* (subprocess, { state }, streamName) {
15968
15968
  if (!stream) {
15969
15969
  return;
15970
15970
  }
15971
+ handleErrors(subprocess);
15971
15972
  yield* readline.createInterface({ input: stream });
15972
15973
  } finally {
15973
15974
  await subprocess;
15974
15975
  }
15975
15976
  };
15977
+ var handleErrors = async (subprocess) => {
15978
+ try {
15979
+ await subprocess;
15980
+ } catch {
15981
+ }
15982
+ };
15976
15983
  var combineAsyncIterators = async function* (...iterators) {
15977
15984
  try {
15978
15985
  let promises = [];