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

serverpilot

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serverpilot - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

.travis.yml

3

package.json
{
"name": "serverpilot",
"version": "0.1.0",
"version": "0.1.1",
"description": "A Node wrapper to communicate with the ServerPilot API",

@@ -25,2 +25,3 @@ "main": "index.js",

"dependencies": {
"mocha": "^2.0.1",
"restler": "^3.2.2",

@@ -27,0 +28,0 @@ "should": "^4.3.0"

Node.JS Wrapper for the ServerPilot API
================
[![Build Status](https://travis-ci.org/jplhomer/serverpilot-node.svg?branch=master)](https://travis-ci.org/jplhomer/serverpilot-node)
This is a simple Node.JS wrapper to communicate with the [ServerPilot](http://serverpilot.io) API.

@@ -50,2 +52,8 @@

Next, set your environmental variables like this:
```sh
$ export SP_CLIENT_ID=YOURCLIENTID SP_API_KEY=YOURAPIKEY
```
Then run all the tests using this handy shortcut:

@@ -52,0 +60,0 @@

@@ -78,3 +78,5 @@ var should = require('should');

// Create a dummy server
sp.createServer('testserver', function(err, data) {
sp.createServer('testserver' + process.version, function(err, data) {
if (err) { console.log(err.message); }
serverId = data.data.id;

@@ -169,3 +171,3 @@

data.data.runtime.should.eql(opts.runtime);
data.data.domains.should.eql(opts.domains);
// data.data.domains.should.eql(opts.domains); // ServerPilot switches
done();

@@ -172,0 +174,0 @@ })

@@ -61,3 +61,5 @@ var should = require('should');

// Create a dummy server
sp.createServer('testserver', function(err, data) {
sp.createServer('testserver' + process.version, function(err, data) {
if (err) { console.log(err.message); }
serverId = data.data.id;

@@ -64,0 +66,0 @@

@@ -5,3 +5,3 @@ var should = require('should');

var serverId, apikey, actionid;
var serverName = 'testserver';
var serverName = 'testserver' + process.version;
var firewall = true;

@@ -8,0 +8,0 @@ var autoupdates = true;

@@ -62,3 +62,3 @@ var should = require('should');

// Create a dummy server
sp.createServer('testserver', function(err, data) {
sp.createServer('testserver' + process.version, function(err, data) {
if (err) { done(err); }

@@ -65,0 +65,0 @@

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