Comparing version 2.8.2 to 2.8.3
@@ -52,3 +52,3 @@ function joinClasses(val) {return Array.isArray(val) ? val.map(joinClasses).filter(nulls).join(' ') : val;};function nulls(val) {return val != null && val !== '';};var jade = {}; | ||
module.exports.dialog_callback = function anonymous(locals | ||
/**/) { | ||
) { | ||
var buf = []; | ||
@@ -60,3 +60,3 @@ var locals_ = (locals || {}),data = locals_.data;jade.indent = []; | ||
module.exports.document = function anonymous(locals | ||
/**/) { | ||
) { | ||
var buf = []; | ||
@@ -160,3 +160,3 @@ var locals_ = (locals || {}),pageTitle = locals_.pageTitle,rootPath = locals_.rootPath,renderedHead = locals_.renderedHead,global_head = locals_.global_head,dialog = locals_.dialog,adminTitle = locals_.adminTitle,model_name = locals_.model_name,model_label = locals_.model_label,isDialog = locals_.isDialog,errors = locals_.errors,form = locals_.form,subCollections = locals_.subCollections,allow_delete = locals_.allow_delete,actions = locals_.actions,userPanel = locals_.userPanel,version = locals_.version,global_script = locals_.global_script;jade.indent = []; | ||
module.exports.layout = function anonymous(locals | ||
/**/) { | ||
) { | ||
var buf = []; | ||
@@ -183,3 +183,3 @@ var locals_ = (locals || {}),pageTitle = locals_.pageTitle,rootPath = locals_.rootPath,renderedHead = locals_.renderedHead,global_head = locals_.global_head,dialog = locals_.dialog,adminTitle = locals_.adminTitle,userPanel = locals_.userPanel,version = locals_.version,global_script = locals_.global_script;jade.indent = []; | ||
module.exports.login = function anonymous(locals | ||
/**/) { | ||
) { | ||
var buf = []; | ||
@@ -211,3 +211,3 @@ var locals_ = (locals || {}),pageTitle = locals_.pageTitle,rootPath = locals_.rootPath,renderedHead = locals_.renderedHead,global_head = locals_.global_head,dialog = locals_.dialog,adminTitle = locals_.adminTitle,error = locals_.error,userPanel = locals_.userPanel,version = locals_.version,global_script = locals_.global_script;jade.indent = []; | ||
module.exports.model = function anonymous(locals | ||
/**/) { | ||
) { | ||
var buf = []; | ||
@@ -710,3 +710,3 @@ var locals_ = (locals || {}),pageTitle = locals_.pageTitle,rootPath = locals_.rootPath,renderedHead = locals_.renderedHead,global_head = locals_.global_head,dialog = locals_.dialog,adminTitle = locals_.adminTitle,label = locals_.label,filters = locals_.filters,model_name = locals_.model_name,current_filters = locals_.current_filters,makeLink = locals_.makeLink,creatable = locals_.creatable,newTypes = locals_.newTypes,search = locals_.search,search_value = locals_.search_value,sortable = locals_.sortable,actions = locals_.actions,dataTable = locals_.dataTable,start = locals_.start,total_count = locals_.total_count,cloneable = locals_.cloneable,count = locals_.count,userPanel = locals_.userPanel,version = locals_.version,global_script = locals_.global_script;jade.indent = []; | ||
module.exports.models = function anonymous(locals | ||
/**/) { | ||
) { | ||
var buf = []; | ||
@@ -713,0 +713,0 @@ var locals_ = (locals || {}),pageTitle = locals_.pageTitle,rootPath = locals_.rootPath,renderedHead = locals_.renderedHead,global_head = locals_.global_head,dialog = locals_.dialog,adminTitle = locals_.adminTitle,sections = locals_.sections,userPanel = locals_.userPanel,version = locals_.version,global_script = locals_.global_script;jade.indent = []; |
{ | ||
"name": "formage", | ||
"description": "Admin GUI addon for mongoose, jugglingdb, or just as a form generator", | ||
"version": "2.8.2", | ||
"version": "2.8.3", | ||
"main": "lib/index.js", | ||
@@ -14,5 +14,6 @@ "author": "Etai Peretz <etai@empeeric.com> (http://www.empeeric.com/)", | ||
"async": "^2.1.4", | ||
"bower": "^1.8.4", | ||
"cloudinary": "^1.5.0", | ||
"connect-multiparty": "^2.0.0", | ||
"debug": "^2.6.0", | ||
"connect-multiparty": "^2.2.0", | ||
"debug": "^2.6.9", | ||
"formage-mongoose-types": "^1.0.1", | ||
@@ -22,3 +23,3 @@ "lodash-contrib": "4.1200.1", | ||
"nodestrum": "^0.10.1", | ||
"socket.io": "^0.9.17" | ||
"socket.io": "^0.9.19" | ||
}, | ||
@@ -33,4 +34,4 @@ "devDependencies": { | ||
"jspm": "^0.16.39", | ||
"mocha": "^3.1.0", | ||
"mongoose": "^4.0.0" | ||
"mocha": "^3.5.3", | ||
"mongoose": "^4.13.17" | ||
}, | ||
@@ -37,0 +38,0 @@ "keywords": [ |
"use strict"; | ||
/*global makeRes,mock_req_proto,should,describe,before,after,it,expect,_,sanitizeRequireCache */ | ||
describe("edge cases on mongoose", function () { | ||
this.timeout(10000); | ||
before(function (done) { | ||
@@ -8,5 +9,6 @@ sanitizeRequireCache(); | ||
var mongoose = this.mongoose = require("mongoose"); | ||
mongoose.Promise = global.Promise; | ||
this.express = require('express'); | ||
var conn_str = global.CONN_STR_PREFIX + this.test.parent.title.replace(/\s/g, '_'); | ||
mongoose.connect(conn_str, function (err) { | ||
mongoose.connect(conn_str, {useMongoClient: true}, function (err) { | ||
if (err) return done(err); | ||
@@ -13,0 +15,0 @@ let db = mongoose.connection.db; |
'use strict'; | ||
/*global makeRes,mock_req_proto,mock_res_proto,makeRes,renderedEmbeded,should,describe,before,after,it,expect,_,mockFind,sanitizeRequireCache */ | ||
describe("misc requests on mongoose", function () { | ||
this.timeout(10000); | ||
before(function (done) { | ||
@@ -9,4 +10,5 @@ sanitizeRequireCache(); | ||
var mongoose = ctx.mongoose = require("mongoose"); | ||
mongoose.Promise = global.Promise; | ||
var conn_str = global.CONN_STR_PREFIX + this.test.parent.title.replace(/\s/g, '_'); | ||
mongoose.connect(conn_str, function (err) { | ||
mongoose.connect(conn_str, {useMongoClient: true}, function (err) { | ||
if (err) return done(err); | ||
@@ -13,0 +15,0 @@ return mongoose.connection.db.dropDatabase(function (err) { |
'use strict'; | ||
/*global makeRes,mock_req_proto,mock_res_proto,makeRes,should,test_post_body_multipart,describe,before,after,it,expect,_,sanitizeRequireCache */ | ||
describe("REST requests", function () { | ||
this.timeout(10000); | ||
describe("mongoose", function () { | ||
@@ -11,4 +12,5 @@ before(function (done) { | ||
var mongoose = ctx.mongoose = require("mongoose"); | ||
mongoose.Promise = global.Promise; | ||
var conn_str = global.CONN_STR_PREFIX + this.test.parent.title.replace(/\s/g, '_'); | ||
mongoose.connect(conn_str, function (err) { | ||
mongoose.connect(conn_str, {useMongoClient: true}, function (err) { | ||
if (err) return done(err); | ||
@@ -15,0 +17,0 @@ return mongoose.connection.db.dropDatabase(function (err) { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
73276
4281333
10
291
+ Addedbower@^1.8.4
+ Addedbower@1.8.14(transitive)
Updatedconnect-multiparty@^2.2.0
Updateddebug@^2.6.9
Updatedsocket.io@^0.9.19