New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

http4js

Package Overview
Dependencies
Maintainers
2
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

http4js - npm Package Compare versions

Comparing version 4.0.1 to 4.0.2

5

client/HttpClient.js

@@ -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();
});
}

8

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc