Socket
Socket
Sign inDemoInstall

joycon

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

joycon - npm Package Compare versions

Comparing version 3.0.1 to 3.1.0

4

lib/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc