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

base12

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

base12 - npm Package Compare versions

Comparing version 0.1.8 to 0.2.0

lib/inflections.js

14

lib/app.js

@@ -31,7 +31,7 @@ /**

function createApplication(params) {
function createApplication(dir) {
be_disposable();
var app = express();
app.dir = params.dir;
app.dir = dir;

@@ -52,3 +52,3 @@ var pkg = load_obj(app, locations.pkg);

inject_into_views(app);
init(app, params.init);
init(app);

@@ -63,2 +63,3 @@ return app;

views: '/views',
lib: '/lib',
controllers: '/controllers',

@@ -115,4 +116,7 @@ pub: '/public',

function init(app, tasks) {
tasks.forEach(function(task) {
function init(app) {
var lib = require(app.dir + locations.lib + '/index.json');
var autorun = lib.autorun, task;
autorun.forEach(function(file) {
task = require(app.dir + locations.lib + '/' + file);
task(app);

@@ -119,0 +123,0 @@ });

{
"name":"base12",
"description":"12factor.net app platform for node.js, built on express 3",
"version":"0.1.8",
"version":"0.2.0",
"author":"Hunter Loftis <hunter@hunterloftis.com>",

@@ -16,2 +16,4 @@ "contributors": [

"express":"git://github.com/visionmedia/express.git",
"async":"latest",
"underscore":"latest",
"jade":"latest"

@@ -18,0 +20,0 @@ },

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