Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

freedom-for-node

Package Overview
Dependencies
Maintainers
2
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

freedom-for-node - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

11

Gruntfile.js
/**
* Gruntfile for freedom-for-node
*/
var freedomPrefix = require('path').dirname(require.resolve('freedom'));

@@ -11,2 +12,9 @@ module.exports = function(grunt) {

},
'create-interface-bundle': {
freedom: {
files: {
'node_modules/freedomjs-interface-bundle.js': [freedomPrefix + '/interface/*.json']
}
}
},
bump: {

@@ -54,2 +62,3 @@ options: {

grunt.loadNpmTasks('grunt-prompt');
grunt.loadNpmTasks('freedom');

@@ -71,3 +80,3 @@ grunt.registerTask('test', [

grunt.registerTask('default', ['test']);
grunt.registerTask('default', ['create-interface-bundle', 'test']);
};

10

package.json
{
"name": "freedom-for-node",
"description": "Embracing a distributed web",
"version": "0.2.3",
"version": "0.2.4",
"homepage": "http://freedomjs.org",

@@ -26,3 +26,4 @@ "bugs": {

"scripts": {
"test": "grunt test"
"test": "grunt test",
"install": "grunt create-interface-bundle"
},

@@ -32,5 +33,6 @@ "dependencies": {

"es6-promise": "^2.0.0",
"freedom": "0.6.7",
"freedom": "0.6.10",
"glob": "~4.1.5",
"json-store": "0.0.1",
"node-json-minify": "^0.1.3-a",
"tls-connect": "^0.2.2"

@@ -42,4 +44,4 @@ },

"peerDependencies": {
"freedom": "0.6.7"
"freedom": "0.6.10"
}
}

@@ -8,6 +8,5 @@ /*globals require,fdom:true*/

*/
var Storage_node = function(channel, dispatch) {
var Storage_node = function(cap, dispatch) {
this.store = require('json-store')(__dirname + '/../freedomjs-database.json');
this.dispatchEvents = dispatch;
this.channel = channel;
};

@@ -14,0 +13,0 @@

@@ -13,3 +13,3 @@ /*globals require,fdom:true, console */

*/
var TcpSocket_node = function(channel, dispatchEvent, id) {
var TcpSocket_node = function(cap, dispatchEvent, id) {
this.dispatchEvent = dispatchEvent;

@@ -16,0 +16,0 @@ this.net = require('net');

@@ -11,3 +11,3 @@ /*globals require, console */

*/
var UdpSocket_node = function(channel, dispatchEvent) {
var UdpSocket_node = function(cap, dispatchEvent) {
this.dispatchEvent = dispatchEvent;

@@ -14,0 +14,0 @@ this.dgram = require('dgram');

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