Socket
Socket
Sign inDemoInstall

ice-node

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ice-node - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

4

lib_test.js

@@ -88,2 +88,6 @@ const lib = require("./lib.js");

app.get("/stats", req => {
return lib.Response.json(req.get_stats());
});
app.listen("127.0.0.1:1122");

@@ -291,2 +291,6 @@ const core = require("./build/Release/ice_node_core");

Request.prototype.get_stats = function() {
return JSON.parse(core.get_stats_from_request(this.call_info));
}
module.exports.Response = Response;

@@ -293,0 +297,0 @@ function Response({ status = 200, headers = {}, cookies = {}, body = "", file = null, template_name = null, template_params = {} }) {

2

package.json
{
"name": "ice-node",
"version": "0.1.5",
"version": "0.1.6",
"description": "Bindings for the Ice Web Framework",

@@ -5,0 +5,0 @@ "main": "lib.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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