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

clout-js

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clout-js - npm Package Compare versions

Comparing version 1.0.0 to 1.0.2

test/resources/TestApp/apis/jokes.js

4

hooks/controllers.js

@@ -18,6 +18,7 @@ /*!

var self = this;
try {
function loadController(dir) {
var name = dir.split('controllers/')[1].replace('.js', '');
debug('loading controller %s', name);
var controller = require(filePath);
var controller = require(dir);

@@ -76,4 +77,5 @@ if (!controller.path) { return; }

});
}catch(e) {console.log(e);}
}
}
};

@@ -239,15 +239,16 @@ /*!

this.emit('start');
var self = this;
var deferred = Q.defer();
// console.log(this.hooks.start);
async.eachLimit(this.hooks.start, 1, function (hook, next) {
debug('executing', hook.name || hook._name, hook.group);
hook.apply(self, [next]);
}, function (err) {
if (err) {
debug(err);
return deferred.reject(err);
}
deferred.resolve();
self.emit('started');
var self = this,
deferred = Q.defer();
process.nextTick(function () {
async.eachLimit(self.hooks.start, 1, function (hook, next) {
debug('executing', hook.name || hook._name, hook.group);
hook.apply(self, [next]);
}, function (err) {
if (err) {
debug(err);
return deferred.reject(err);
}
deferred.resolve();
self.emit('started');
});
});

@@ -254,0 +255,0 @@ return deferred.promise;

@@ -126,6 +126,2 @@ /*!

exec('cd "' + projectDir + '" && npm install', function (error, stdout, stderr) {
if ((error || stderr) !== undefined) {
console.error((error || stderr))
return next('could not install dependencies');
}
next();

@@ -132,0 +128,0 @@ });

{
"name": "clout-js",
"version": "1.0.0",
"version": "1.0.2",
"description": "Clean, simplistic, enterprise grade full-stack NodeJS framework",

@@ -5,0 +5,0 @@ "main": "index.js",

{
"modules": []
"modules": ["clout-socket-io"]
}

@@ -10,3 +10,6 @@ {

"author": "Muhammad Dadu",
"license": "MIT"
"license": "MIT",
"dependencies": {
"request": "^2.72.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