babel-preset-metal-resolve-source
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -6,7 +6,3 @@ 'use strict'; | ||
module.exports = function(module) { | ||
try { | ||
return require.resolve(module); | ||
} catch (e) { | ||
return resolve.sync(module, {basedir: process.cwd()}); | ||
} | ||
return resolve.sync(module, {basedir: process.cwd()}); | ||
}; |
{ | ||
"name": "babel-preset-metal-resolve-source", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "A babel preset for building Metal.js projects that automatically resolves imports into full paths", | ||
@@ -5,0 +5,0 @@ "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
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
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
2
4558
57
1