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

foreman

Package Overview
Dependencies
Maintainers
11
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

foreman - npm Package Compare versions

Comparing version 2.0.0-1 to 2.0.0

README.md

12

CHANGES.md

@@ -0,1 +1,13 @@

2016-08-25, Version 2.0.0
=========================
* Update URLs in CONTRIBUTING.md (#123) (Ryan Graham)
* update copyright statements (Ryan Graham)
* replace mu2 with mustache (Ryan Graham)
* enable node v6 on CI (Ryan Graham)
2016-04-30, Version 2.0.0-1

@@ -2,0 +14,0 @@ ===========================

@@ -0,1 +1,6 @@

// Copyright IBM Corp. 2012,2016. All Rights Reserved.
// Node module: foreman
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
var http = require('http');

@@ -2,0 +7,0 @@ var url = require('url');

@@ -0,1 +1,6 @@

// Copyright IBM Corp. 2012,2016. All Rights Reserved.
// Node module: foreman
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
var reset = '\x1B[0m';

@@ -2,0 +7,0 @@ var colors = {

@@ -0,1 +1,6 @@

// Copyright IBM Corp. 2012,2016. All Rights Reserved.
// Node module: foreman
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
var util = require('util');

@@ -2,0 +7,0 @@ var colors = require('./colors');

@@ -0,1 +1,6 @@

// Copyright IBM Corp. 2012,2016. All Rights Reserved.
// Node module: foreman
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
var fs = require('fs');

@@ -2,0 +7,0 @@ var util = require('util');

21

lib/exporters.js

@@ -0,4 +1,9 @@

// Copyright IBM Corp. 2014,2016. All Rights Reserved.
// Node module: foreman
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
var colors = require('./colors');
var ppath = require('path');
var mu = require('mu2');
var mu = require('mustache');
var fs = require('fs');

@@ -10,13 +15,9 @@

mu.root = __dirname;
function render(filename, conf, callback) {
var out = "";
var muu = mu.compileAndRender(filename, conf);
muu.on('data', function (data) {
out += data;
fs.readFile(filename, {encoding: 'utf8'}, function(err, template) {
if (err) {
throw err;
}
callback(mu.render(template, conf));
});
muu.on('end', function(){
callback(out);
});
}

@@ -23,0 +24,0 @@

@@ -0,1 +1,6 @@

// Copyright IBM Corp. 2012,2016. All Rights Reserved.
// Node module: foreman
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
var prog = require('child_process');

@@ -2,0 +7,0 @@

@@ -0,1 +1,6 @@

// Copyright IBM Corp. 2012,2016. All Rights Reserved.
// Node module: foreman
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
var prog = require('child_process');

@@ -2,0 +7,0 @@

@@ -0,1 +1,6 @@

// Copyright IBM Corp. 2012,2016. All Rights Reserved.
// Node module: foreman
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
var fs = require('fs');

@@ -2,0 +7,0 @@ var cons = require('./console').Console;

@@ -0,1 +1,6 @@

// Copyright IBM Corp. 2012,2016. All Rights Reserved.
// Node module: foreman
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
var fs = require('fs');

@@ -2,0 +7,0 @@ var path = require('path');

@@ -0,1 +1,6 @@

// Copyright IBM Corp. 2012,2016. All Rights Reserved.
// Node module: foreman
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
function parseRequirements(req) {

@@ -2,0 +7,0 @@ var requirements = {};

#!/usr/bin/env node
// Copyright IBM Corp. 2012,2015. All Rights Reserved.
// Node module: foreman
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

@@ -3,0 +7,0 @@ var path = require('path');

{
"name": "foreman",
"version": "2.0.0-1",
"version": "2.0.0",
"homepage": "http://strongloop.github.io/node-foreman/",

@@ -31,3 +31,3 @@ "description": "Node Implementation of Foreman",

"http-proxy": "~1.11.1",
"mu2": "~0.5.20",
"mustache": "^2.2.1",
"shell-quote": "~1.4.2"

@@ -34,0 +34,0 @@ },

@@ -0,1 +1,6 @@

// Copyright IBM Corp. 2012,2016. All Rights Reserved.
// Node module: foreman
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
var fs = require('fs');

@@ -2,0 +7,0 @@ var http = require('http');

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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