Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

shades

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shades - npm Package Compare versions

Comparing version 1.7.0 to 1.7.1

6

lib/utils/logical/index.js

@@ -16,2 +16,6 @@ 'use strict';

var _get = require('lodash/get');
var _get2 = _interopRequireDefault(_get);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -46,5 +50,5 @@

return pattern && (typeof pattern === 'undefined' ? 'undefined' : _typeof(pattern)) === 'object' ? (0, _list.every)(Object.keys(pattern).map(function (key) {
return has(pattern[key])(obj[key]);
return has((0, _get2.default)(pattern, key))((0, _get2.default)(obj, key));
})) : typeof pattern === 'function' ? pattern(obj) : (0, _isEqual2.default)(pattern, obj);
};
};

2

package.json
{
"name": "shades",
"version": "1.7.0",
"version": "1.7.1",
"description": "Lens-like functionality with a lodash-style interface.",

@@ -5,0 +5,0 @@ "main": "lib/index.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