async-listener
Advanced tools
Comparing version 0.6.9 to 0.6.10
16
index.js
@@ -16,2 +16,3 @@ 'use strict'; | ||
var v8plus = semver.gte(process.version, '8.0.0'); | ||
var v11plus = semver.gte(process.version, '11.0.0'); | ||
@@ -333,11 +334,12 @@ var net = require('net'); | ||
if (crypto) { | ||
massWrap( | ||
crypto, | ||
[ | ||
var toWrap = [ | ||
'pbkdf2', | ||
'randomBytes', | ||
'pseudoRandomBytes', | ||
], | ||
activator | ||
); | ||
]; | ||
if (!v11plus) { | ||
toWrap.push('pseudoRandomBytes'); | ||
} | ||
massWrap(crypto, toWrap, activator); | ||
} | ||
@@ -344,0 +346,0 @@ |
{ | ||
"name": "async-listener", | ||
"version": "0.6.9", | ||
"version": "0.6.10", | ||
"description": "Polyfill exporting trevnorris's 0.11+ asyncListener API.", | ||
@@ -5,0 +5,0 @@ "author": "Forrest L Norvell <ogd@aoaioxxysz.net>", |
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
167653