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

deploytool

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deploytool - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

15

lib/deploy.js

@@ -10,8 +10,5 @@ /**

module.exports = function (environment, commit, callback) {
if (typeof environment === 'string') {
environment = deploytoolEnvironment.load(environment);
}
environment.applyDefaults({
type: ''
environment = deploytoolEnvironment.initialize(environment, {
type: '',
branch: ''
});

@@ -27,2 +24,8 @@

if (!config.branch) {
callback(new Error('Branch is not defined'));
return;
}
var module = 'deploytool-' + config.type;

@@ -29,0 +32,0 @@

@@ -19,2 +19,16 @@ /**

DeployToolEnvironment.initialize = function (idOrEnv, defaults) {
var environment = idOrEnv;
if (typeof environment === 'string') {
environment = DeployToolEnvironment.load(environment);
}
if (defaults) {
environment.applyDefaults(defaults);
}
return environment;
};
DeployToolEnvironment.load = function(id, configFile, defaults, configDir) {

@@ -21,0 +35,0 @@ configDir = configDir || __dirname;

2

package.json
{
"name": "deploytool",
"version": "0.1.0",
"version": "0.1.1",
"description": "A Node tool for deploying things like code to places like remote servers and services",

@@ -5,0 +5,0 @@ "license": "MIT",

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