readable-stream
Advanced tools
Comparing version 2.2.1 to 2.2.2
@@ -180,3 +180,3 @@ // A bit simpler than readable streams. | ||
var realHasInstance; | ||
if (typeof Symbol === 'function' && Symbol.hasInstance) { | ||
if (typeof Symbol === 'function' && Symbol.hasInstance && typeof Function.prototype[Symbol.hasInstance] === 'function') { | ||
realHasInstance = Function.prototype[Symbol.hasInstance]; | ||
@@ -183,0 +183,0 @@ Object.defineProperty(Writable, Symbol.hasInstance, { |
{ | ||
"name": "readable-stream", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"description": "Streams3, a user-land copy of the stream library from Node.js", | ||
@@ -5,0 +5,0 @@ "main": "readable.js", |
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
63943