Comparing version 4.0.1 to 4.0.2
@@ -54,8 +54,5 @@ "use strict"; | ||
}); | ||
console.log('client'); | ||
var chunk2 = req.bodyString(); | ||
console.log(chunk2); | ||
clientRequest.write(chunk2); | ||
clientRequest.write(req.bodyString()); | ||
clientRequest.end(); | ||
}); | ||
} |
@@ -55,8 +55,5 @@ import * as http from "http"; | ||
}); | ||
console.log('client'); | ||
const chunk2 = req.bodyString(); | ||
console.log(chunk2); | ||
clientRequest.write(chunk2); | ||
clientRequest.write(req.bodyString()); | ||
clientRequest.end(); | ||
}); | ||
} |
{ | ||
"name": "http4js", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"description": "A lightweight HTTP toolkit", | ||
@@ -24,10 +24,4 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"@types/express": "4.16.0", | ||
"@types/koa": "2.0.46", | ||
"@types/mocha": "2.2.47", | ||
"@types/node": "9.4.0", | ||
"body-parser": "1.18.2", | ||
"express": "4.16.3", | ||
"koa": "2.5.0", | ||
"koa-bodyparser": "4.2.0", | ||
"mocha": "5.2.0", | ||
@@ -34,0 +28,0 @@ "ssl-root-cas": "1.2.5", |
@@ -42,5 +42,2 @@ "use strict"; | ||
var Headers_1 = require("../core/Headers"); | ||
require('ssl-root-cas') | ||
.inject() | ||
.addFile('src/ssl/my-root-ca.cert.pem'); | ||
var NativeHttpsServer = /** @class */ (function () { | ||
@@ -47,0 +44,0 @@ function NativeHttpsServer(port, options) { |
@@ -10,6 +10,2 @@ import * as fs from "fs"; | ||
require('ssl-root-cas') | ||
.inject() | ||
.addFile('src/ssl/my-root-ca.cert.pem'); | ||
type Certs = { key: Buffer; cert: Buffer; ca: Buffer }; | ||
@@ -16,0 +12,0 @@ |
6
117736
2742