Comparing version 0.7.6 to 0.7.7
@@ -6,3 +6,3 @@ { | ||
}, | ||
"version": "0.7.6", | ||
"version": "0.7.7", | ||
"description": "Library that applies pre and post transforms to CommonJS files, traces their dependencies and concatenates them.", | ||
@@ -9,0 +9,0 @@ "main": "index.js", |
@@ -77,9 +77,7 @@ 'use strict'; | ||
if (pkg.main) { | ||
// otherwise, return the module's main entry point. | ||
var pkgMain = path.join(checkDir, pkg.main); | ||
if (fs.existsSync(pkgMain)) { | ||
foundFile = pkgMain; | ||
break check; | ||
} | ||
// otherwise, return the module's main entry point. | ||
var pkgMain = path.join(checkDir, pkg.main || 'index.js'); | ||
if (fs.existsSync(pkgMain)) { | ||
foundFile = pkgMain; | ||
break check; | ||
} | ||
@@ -86,0 +84,0 @@ } |
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
1
38866
820