cosmiconfig
Advanced tools
Comparing version 8.3.1 to 8.3.2
@@ -64,3 +64,3 @@ "use strict"; | ||
} | ||
const compiledFilepath = `${filepath.slice(0, -2)}js`; | ||
const compiledFilepath = `${filepath.slice(0, -2)}cjs`; | ||
try { | ||
@@ -92,3 +92,3 @@ const config = resolveTsConfig(node_path_1.default.dirname(filepath)) ?? {}; | ||
if (typescript === undefined) { | ||
typescript = await import('typescript'); | ||
typescript = (await import('typescript')).default; | ||
} | ||
@@ -95,0 +95,0 @@ const compiledFilepath = `${filepath.slice(0, -2)}mjs`; |
{ | ||
"name": "cosmiconfig", | ||
"version": "8.3.1", | ||
"version": "8.3.2", | ||
"description": "Find and load configuration from a package.json property, rc file, TypeScript module, and more!", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
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
77700