Comparing version 3.0.1 to 3.1.0
@@ -161,3 +161,3 @@ "use strict"; | ||
if (extname === 'js') { | ||
if (extname === 'js' || extname === 'cjs') { | ||
delete require.cache[filepath]; | ||
@@ -208,3 +208,3 @@ return require(filepath); | ||
if (extname === 'js') { | ||
if (extname === 'js' || extname === 'cjs') { | ||
delete require.cache[filepath]; | ||
@@ -211,0 +211,0 @@ return require(filepath); |
{ | ||
"name": "joycon", | ||
"version": "3.0.1", | ||
"version": "3.1.0", | ||
"description": "Load config with ease.", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -30,3 +30,3 @@ | ||
By default only `.js` and `.json` file are parsed, otherwise raw data will be returned, so you can add custom loader to parse them: | ||
By default only `.js`, `.cjs`, and `.json` file are parsed, otherwise raw data will be returned, so you can add custom loader to parse them: | ||
@@ -33,0 +33,0 @@ ```js |
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
14253