Comparing version 3.3.3 to 3.3.4
'use strict' | ||
// TODO: This is not really allowed by Node but it works for now. | ||
const { HTTPParser } = process.binding('http_parser') // eslint-disable-line | ||
const common = require('_http_common') | ||
module.exports = HTTPParser | ||
if (common.HTTPParser) { | ||
module.exports = common.HTTPParser | ||
} else { | ||
// Node 10 | ||
module.exports = process.binding('http_parser').HTTPParser // eslint-disable-line | ||
} |
{ | ||
"name": "undici", | ||
"version": "3.3.3", | ||
"version": "3.3.4", | ||
"description": "An HTTP/1.1 client, written from scratch for Node.js", | ||
@@ -5,0 +5,0 @@ "main": "index.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
428221
88
13647