freedom-for-node
Advanced tools
Comparing version 0.2.3 to 0.2.4
/** | ||
* 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']); | ||
}; |
{ | ||
"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'); |
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
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
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
41129
902
9
1
+ Addednode-json-minify@^0.1.3-a
+ Addedfreedom@0.6.10(transitive)
- Removedfreedom@0.6.7(transitive)
- Removedinclude-folder@0.7.0(transitive)
- Removedlodash@2.4.2(transitive)
Updatedfreedom@0.6.10