Comparing version 0.1.0 to 0.1.1
@@ -14,2 +14,2 @@ var sqlite3 = require('sqlite3').verbose(); | ||
}); | ||
} | ||
}; |
@@ -12,3 +12,3 @@ var sqlite3 = require('sqlite3').verbose(); | ||
}); | ||
} | ||
}; | ||
@@ -20,3 +20,3 @@ exports.CreateRedactor = function (username, password, salt, verification, callback) { | ||
}); | ||
} | ||
}; | ||
@@ -28,3 +28,3 @@ exports.CreateAdmin = function (username, password, salt, verification, callback) { | ||
}); | ||
} | ||
}; | ||
@@ -36,3 +36,3 @@ | ||
}); | ||
} | ||
}; | ||
@@ -43,3 +43,3 @@ exports.GetUserById = function (id, callback){ | ||
}); | ||
} | ||
}; | ||
@@ -20,6 +20,6 @@ var fs = require("fs"); | ||
}); | ||
} | ||
}; | ||
exports.ReadStaticFile = function (path,callback) { | ||
ReadStaticFile(path, callback); | ||
} | ||
}; |
var fs = require("fs"); | ||
var config = require("./config.js") | ||
var config = require("./config.js"); | ||
@@ -15,2 +15,2 @@ | ||
}); | ||
} | ||
}; |
@@ -7,4 +7,2 @@ var express = require('express'); | ||
var log = require("./log.js"); | ||
var fs = require("fs"); | ||
var https = require('https'); | ||
var colors = require('colors'); | ||
@@ -18,3 +16,3 @@ | ||
function Start (app) | ||
function Start () | ||
{ | ||
@@ -27,9 +25,3 @@ var app = express(); | ||
var options = { | ||
dotfiles: 'ignore', | ||
extensions: [], | ||
index: false | ||
}; | ||
/*app.use(express.static(config.templatePath, options));*/ | ||
@@ -36,0 +28,0 @@ |
@@ -5,3 +5,3 @@ var file = require("./file.js"); | ||
var log = require("./log.js"); | ||
var config = require("./config.js") | ||
var config = require("./config.js"); | ||
@@ -13,3 +13,3 @@ | ||
}); | ||
} | ||
}; | ||
var ReturnPage = function(page, options, callback) { | ||
@@ -21,8 +21,5 @@ file.ReadStaticFile(page, function (err, data) { | ||
}); | ||
} | ||
}; | ||
var GetDataForArticle = function (id) { | ||
} | ||
var BuildArticle = function (page, options, callback) { | ||
@@ -45,3 +42,3 @@ if (options.type == "article") | ||
} | ||
} | ||
}; | ||
@@ -55,5 +52,5 @@ exports.ReturnPage = function (page, options, callback) { | ||
ReturnPage(page, options, callback); | ||
} | ||
}; | ||
exports.ReturnStaticPage = function (page, callback) { | ||
ReturnStaticPage(page, callback); | ||
} | ||
}; |
@@ -1,3 +0,1 @@ | ||
var fs = require('fs'); | ||
exports.clear = function() { | ||
@@ -4,0 +2,0 @@ return process.stdout.write('\033c'); |
{ | ||
"name": "scms", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Simple Content Management System for blogs and etc...", | ||
@@ -11,3 +11,3 @@ "main": "app.js", | ||
"type": "git", | ||
"url": "git://github.com/pospile/scms.git" | ||
"url": "git://github.com/pospile/SkrapCMS.git" | ||
}, | ||
@@ -14,0 +14,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
1
6
4
0
97071
47
731