Comparing version 0.3.3 to 1.0.0
@@ -88,6 +88,13 @@ "use strict"; | ||
if (this.config.cache) { | ||
defaults.cache = { | ||
get: this.getPreloaded.bind(this), | ||
set: this.setPreloaded.bind(this) | ||
}; | ||
if (this.config.externalTemplateCaching) { | ||
defaults.cache = { | ||
get: this.externalTemplateCaching.get.bind(this), | ||
set: this.externalTemplateCaching.set.bind(this) | ||
}; | ||
} else { | ||
defaults.cache = { | ||
get: this.getPreloaded.bind(this), | ||
set: this.setPreloaded.bind(this) | ||
}; | ||
} | ||
} | ||
@@ -94,0 +101,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"description": "Powerful lightweight mvc framework for nodejs", | ||
"version": "0.3.3", | ||
"version": "1.0.0", | ||
"dependencies": { | ||
@@ -8,0 +8,0 @@ "mongoose": "4.8.x", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
162401
5174
0
1