Socket
Socket
Sign inDemoInstall

robotremote

Package Overview
Dependencies
6
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.2 to 1.0.3

6

example/examplelibrary.js
'use strict';
var fs = require('promised-io/fs'),
var readdir = require('promise').denodeify(require('fs').readdir),
robot = require('../lib/robotremote'),

@@ -23,4 +23,4 @@ assert = require('assert');

lib.countItemsInDirectory = function (path) {
return fs.readdir(path).then(function (items) {
return items.length;
return readdir(path).then(function (files) {
return files.length;
});

@@ -27,0 +27,0 @@ };

@@ -17,3 +17,3 @@ {

],
"version": "1.0.2",
"version": "1.0.3",
"preferGlobal": false,

@@ -42,3 +42,3 @@ "homepage": "https://github.com/comick/node-robotremoteserver",

"promise": ">=6.1.0",
"is-promise": ">=1.0.0"
"is-promise": ">=1.0.1"
},

@@ -48,5 +48,2 @@ "devDependencies": {

},
"optionalDependencies": {
"promised-io": ">=0.3.4"
},
"scripts": {

@@ -56,3 +53,3 @@ "test": "mocha && pybot test"

"engines": {
"node": ">=0.6",
"node": ">=0.8",
"npm": ">=1.0.0"

@@ -59,0 +56,0 @@ },

@@ -26,3 +26,3 @@ # robotremote

var fs = require('promised-io/fs'),
var readdir = require('promise').denodeify(require('fs').readdir),
robot = require('../lib/robotremote'),

@@ -46,5 +46,5 @@ assert = require('assert');

*/
lib.countItemsInDirectory = function (path) {
return fs.readdir(path).then(function (items) {
return items.length;
lib.countItemsInDirectory = function (path) {
return readdir(path).then(function (files) {
return files.length;
});

@@ -51,0 +51,0 @@ };

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc