@casterly/utils
Advanced tools
Comparing version 0.9.0-alpha.0 to 0.9.0-alpha.1
@@ -33,6 +33,3 @@ "use strict"; | ||
const resolveModule = (resolveFn = resolveApp, filePath) => { | ||
const extension = [ | ||
...exports.moduleFileExtensions, | ||
...exports.typescriptFileExtensions, | ||
].find((extension) => fs.existsSync(resolveFn(`${filePath}.${extension}`))); | ||
const extension = [...exports.moduleFileExtensions, ...exports.typescriptFileExtensions].find((extension) => fs.existsSync(resolveFn(`${filePath}.${extension}`))); | ||
if (extension) { | ||
@@ -39,0 +36,0 @@ return resolveFn(`${filePath}.${extension}`); |
{ | ||
"name": "@casterly/utils", | ||
"version": "0.9.0-alpha.0", | ||
"version": "0.9.0-alpha.1", | ||
"description": "Common utilities used throughout Casterly packages", | ||
@@ -37,7 +37,3 @@ "author": "Lucas Cordeiro <ecdb.lucas@gmail.com>", | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^14.14.10", | ||
"rimraf": "^3.0.0" | ||
}, | ||
"gitHead": "2e50a3096623dab024dad74f4e3196330a837945" | ||
"gitHead": "d771d3e5aec8e25e58a63884ad54f49b47656cae" | ||
} |
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
0
15142
269