periodicjs.core.responder
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -59,6 +59,4 @@ 'use strict'; | ||
if (options.resolve_filepath === true) { | ||
console.log('resolving paths', { options, viewname, dirs, }); | ||
return findValidViewFromPaths(viewname, dirs); | ||
} else { | ||
console.log('not resolving filepath', { options, viewname, fileext, dirs, }); | ||
return findValidViewFromPaths(`${ viewname }${ (/^\./.test(fileext)) ? fileext : '.' + fileext }`, dirs) | ||
@@ -65,0 +63,0 @@ .then(filePath => Promisie.all(fs.readFileAsync(filePath, 'utf8'), filePath)) |
@@ -91,4 +91,4 @@ { | ||
}, | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"license": "MIT" | ||
} |
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
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
0
1243115
1924