robotremote
Advanced tools
Comparing version 1.1.2 to 1.2.0
'use strict'; | ||
var xmlrpc = require('xmlrpc'), | ||
util = require('util'), | ||
isPromise = require('is-promise'); | ||
util = require('util'); | ||
@@ -162,8 +161,2 @@ function Server(libraries, options, listeningCallback) { | ||
} | ||
this.timestampTrace = util.deprecate(function() { this.trace(arguments); }); | ||
this.timestampInfo = util.deprecate(function() { this.info(arguments); }); | ||
this.timestampDebug = util.deprecate(function() { this.debug(arguments); }); | ||
this.timestampWarn = util.deprecate(function() { this.warn(arguments); }); | ||
this.timestampHtml = util.deprecate(function() { this.html(arguments); }); | ||
} | ||
@@ -218,2 +211,28 @@ | ||
/** | ||
* isPromise is Copyright (c) 2014 Forbes Lindesay | ||
* | ||
* Permission is hereby granted, free of charge, to any person obtaining a copy | ||
* of this software and associated documentation files (the "Software"), to deal | ||
* in the Software without restriction, including without limitation the rights | ||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
* copies of the Software, and to permit persons to whom the Software is | ||
* furnished to do so, subject to the following conditions: | ||
* | ||
* The above copyright notice and this permission notice shall be included in | ||
* all copies or substantial portions of the Software. | ||
* | ||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
* THE SOFTWARE. | ||
* | ||
*/ | ||
function isPromise(obj) { | ||
return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function'; | ||
} | ||
module.exports.createClient = createClient; |
@@ -8,6 +8,3 @@ { | ||
"robot", | ||
"framework", | ||
"remote", | ||
"server", | ||
"client", | ||
"remote server", | ||
"acceptance", | ||
@@ -18,3 +15,3 @@ "testing", | ||
], | ||
"version": "1.1.2", | ||
"version": "1.2.0", | ||
"preferGlobal": false, | ||
@@ -42,7 +39,6 @@ "homepage": "https://github.com/comick/node-robotremoteserver", | ||
"xmlrpc": ">=1.3.1", | ||
"promise": ">=7.1.1", | ||
"is-promise": ">=2.1.0" | ||
"promise": ">=7.1.1" | ||
}, | ||
"devDependencies": { | ||
"mocha": ">=2.3.4" | ||
"mocha": ">=2.3.5" | ||
}, | ||
@@ -49,0 +45,0 @@ "scripts": { |
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
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
27533
2
448
- Removedis-promise@>=2.1.0
- Removedis-promise@4.0.0(transitive)