Comparing version 0.1.0-1 to 0.1.0-2
module.exports = function(module){ | ||
try{ | ||
if(module[0] in {".":1}){ | ||
module = process.cwd() + module.substr(1); | ||
} | ||
return require(module); | ||
@@ -4,0 +7,0 @@ }catch(e){ } |
{ | ||
"name":"optional" | ||
,"version":"v0.1.0-1" | ||
,"version":"v0.1.0-2" | ||
,"homepage":"http://segomos.com/" | ||
@@ -5,0 +5,0 @@ ,"main":"optional" |
@@ -28,1 +28,6 @@ #OPTIONAL | ||
``` | ||
##Changelog | ||
###v0.1.0-2 | ||
* Corrected bug when trying to optionally include relative paths |
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
1319
14
33