New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

motivator

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

motivator - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

.npmignore

40

index.js
var cheerio = require('cheerio');
var request = require('request');
var path = require('path');

@@ -16,28 +17,43 @@

module.exports = function(){
var routes = [{
function getRoutes(){
return [{
method: 'GET',
path: '/static/{param*}',
handler: {
directory: {
path: path.join(__dirname, 'public'),
listing: true
}
}
},{
method: 'GET',
path: '/',
handler: function (request, reply) {
reply.file(path.join(__dirname, 'index.html'));
}
}, {
method: 'GET',
path: '/get',
handler: function (request, reply) {
getMotivator(function(result){
reply(result);
}, function(){
reply({error: true});
});
}
}];
}
function init(){
console.log('init');
}
var api = {
module.exports = function(){
return {
route: 'motivator',
routes: routes,
init: init
routes: getRoutes(),
init: function init(){
console.log('init');
}
};
return api;
};
{
"name": "motivator",
"version": "1.0.0",
"_args": [
[
"motivator@latest",
"C:\\GIT\\adasq-services"
]
],
"_from": "motivator@latest",
"_id": "motivator@1.0.0",
"_inCache": true,
"_location": "/motivator",
"_nodeVersion": "4.1.2",
"_npmUser": {
"email": "adasq3@gmail.com",
"name": "adasq"
},
"_npmVersion": "3.3.6",
"_phantomChildren": {
"aws-sign2": "0.6.0",
"bl": "1.0.0",
"caseless": "0.11.0",
"combined-stream": "1.0.5",
"extend": "3.0.0",
"forever-agent": "0.6.1",
"form-data": "1.0.0-rc3",
"har-validator": "2.0.2",
"hawk": "3.1.0",
"http-signature": "0.11.0",
"isstream": "0.1.2",
"json-stringify-safe": "5.0.1",
"mime-types": "2.1.7",
"node-uuid": "1.4.3",
"oauth-sign": "0.8.0",
"qs": "5.2.0",
"stringstream": "0.0.5",
"tough-cookie": "2.2.0",
"tunnel-agent": "0.4.1"
},
"_requested": {
"name": "motivator",
"raw": "motivator@latest",
"rawSpec": "latest",
"scope": null,
"spec": "latest",
"type": "tag"
},
"_requiredBy": [
"/"
],
"_shasum": "04c321a3a190ddd19f9b9152fb3113af71140261",
"_shrinkwrap": null,
"_spec": "motivator@latest",
"_where": "C:\\GIT\\adasq-services",
"author": "",
"dependencies": {
"cheerio": "^0.19.0",
"request": "^2.65.0"
},
"description": "",
"devDependencies": {},
"directories": {},
"dist": {
"shasum": "04c321a3a190ddd19f9b9152fb3113af71140261",
"tarball": "http://registry.npmjs.org/motivator/-/motivator-1.0.0.tgz"
},
"installable": true,
"license": "ISC",
"main": "index.js",
"maintainers": [
{
"name": "adasq",
"email": "adasq3@gmail.com"
}
],
"name": "motivator",
"optionalDependencies": {},
"scripts": {

@@ -10,8 +81,3 @@ "start": "node index.js",

},
"author": "",
"license": "ISC",
"dependencies": {
"cheerio": "^0.19.0",
"request": "^2.65.0"
}
"version": "1.0.1"
}
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