Comparing version 0.1.1 to 0.1.2
@@ -6,4 +6,6 @@ const $ = require('../func'); | ||
const util = require('util'); | ||
const streams = require('stream/promises'); | ||
const streams = require('../compat/stream'); | ||
const streamFinished = streams.finished; | ||
const {func_} = $; | ||
@@ -100,11 +102,11 @@ | ||
func_(function finished(stream, opts) { | ||
return streams.finished(stream, opts); | ||
return streamFinished(stream, opts); | ||
}); | ||
func_(function finishedRead(stream, opts) { | ||
return streams.finished(stream, {writable: false, ...opts}); | ||
return streamFinished(stream, {writable: false, ...opts}); | ||
}); | ||
func_(function finishedWrite(stream, opts) { | ||
return streams.finished(stream, {readable: false, ...opts}); | ||
return streamFinished(stream, {readable: false, ...opts}); | ||
}); | ||
@@ -111,0 +113,0 @@ |
@@ -29,3 +29,5 @@ /* | ||
// An array of regexp pattern strings used to skip coverage collection | ||
// coveragePathIgnorePatterns: [], | ||
coveragePathIgnorePatterns: [ | ||
"<rootDir>/compat/", | ||
], | ||
@@ -155,4 +157,4 @@ // Indicates which provider should be used to instrument code for coverage | ||
testPathIgnorePatterns: [ | ||
"/node_modules/", | ||
".local", | ||
"<rootDir>/node_modules/", | ||
"<rootDir>/\.local/", | ||
], | ||
@@ -159,0 +161,0 @@ |
{ | ||
"name": "asclasit", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "ASync CLasses + ASync ITerators", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
304778
77
8733