dustjs-linkedin
Advanced tools
Comparing version 2.2.9 to 2.2.10
@@ -61,10 +61,4 @@ /*global console */ | ||
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) { | ||
@@ -250,3 +244,2 @@ dust.logQueue = []; | ||
auto = null; | ||
dust.log('Using unescape filter on [' + string + ']', DEBUG); | ||
} | ||
@@ -345,3 +338,2 @@ else if (typeof dust.filters[name] === 'function') { | ||
value, first, len, ctxThis; | ||
dust.log('Searching for reference [{' + down.join('.') + '}] in template [' + this.getTemplateName() + ']', DEBUG); | ||
first = down[0]; | ||
@@ -348,0 +340,0 @@ len = down.length; |
{ | ||
"name": "dustjs-linkedin", | ||
"version": "2.2.9", | ||
"version": "2.2.10", | ||
"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
5576032
162
135693
35
91