dustjs-linkedin
Advanced tools
Comparing version 2.1.4 to 2.1.5
@@ -60,10 +60,4 @@ var dust = {}; | ||
dust.log = function(message, type) { | ||
// dust.isDebug is deprecated, so this conditional will default the debugLevel to INFO if it's set to maintain backcompat. | ||
if (dust.isDebug && dust.debugLevel === NONE) { | ||
logger.log('[!!!DEPRECATION WARNING!!!]: dust.isDebug is deprecated. Set dust.debugLevel instead to the level of logging you want ["debug","info","warn","error","none"]'); | ||
dust.debugLevel = INFO; | ||
} | ||
type = type || INFO; | ||
if (dust.indexInArray(loggingLevels, type) >= dust.indexInArray(loggingLevels, dust.debugLevel)) { | ||
if (dust.debugLevel !== NONE && dust.indexInArray(loggingLevels, type) >= dust.indexInArray(loggingLevels, dust.debugLevel)) { | ||
if(!dust.logQueue) { | ||
@@ -239,3 +233,2 @@ dust.logQueue = []; | ||
auto = null; | ||
dust.log('Using unescape filter on [' + string + ']', DEBUG); | ||
} | ||
@@ -299,3 +292,2 @@ else if (typeof dust.filters[name] === 'function') { | ||
var ctx = this.stack, value, globalValue; | ||
dust.log('Searching for reference [{' + key + '}] in template [' + this.templateName + ']', DEBUG); | ||
while(ctx) { | ||
@@ -323,3 +315,2 @@ if (ctx.isObject) { | ||
dust.log('Searching for reference [{' + down.join('.') + '}] in template [' + this.templateName + ']', DEBUG); | ||
if (cur && len === 0) return ctx.head; | ||
@@ -326,0 +317,0 @@ ctx = ctx.head; |
{ | ||
"name": "dustjs-linkedin", | ||
"version": "2.1.4", | ||
"version": "2.1.5", | ||
"author": "Aleksander Williams", | ||
@@ -5,0 +5,0 @@ "description": "Asynchronous templates for the browser and node.js ( LinkedIn fork )", |
Sorry, the diff of this file is too big to display
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
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
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
3938019
127
95881
19
57