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 2.1.0 to 2.1.1

12

lib/index.js

@@ -77,6 +77,7 @@ "use strict";

delete require.cache[file];
exists = Object.prototype.hasOwnProperty.call(data, options.packageKey);
_this.packageJsonCache.set(file, data);
exists = Object.prototype.hasOwnProperty.call(data, options.packageKey);
if (exists) {
_this.packageJsonCache.set(file, data[options.packageKey]);
}
} else {

@@ -113,4 +114,7 @@ _this.packageJsonCache.delete(file);

delete require.cache[file];
this.packageJsonCache.set(file, data);
exists = Object.prototype.hasOwnProperty.call(data, options.packageKey);
if (exists) {
this.packageJsonCache.set(file, data[options.packageKey]);
}
} else {

@@ -117,0 +121,0 @@ this.packageJsonCache.delete(file);

{
"name": "joycon",
"version": "2.1.0",
"version": "2.1.1",
"description": "Load config with ease.",

@@ -5,0 +5,0 @@ "repository": {

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